-
Notifications
You must be signed in to change notification settings - Fork 260
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #70 from mattrose/13-gettext
- Loading branch information
Showing
10 changed files
with
773 additions
and
748 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
Development Notes | ||
================= | ||
|
||
Here we connect notes and howtos for development around Terminator. Feel free to extend or submit suggestions. | ||
|
||
## Translation i18n | ||
|
||
Tooling is based on [Babel](https://babel.pocoo.org), the configuration is stored in `babel.cfg`, `setup.cfg` and | ||
some code in `setup.py`. | ||
|
||
The POT file [po/terminator.pot](po/terminator.pot) contains the template for all translations and should be updated | ||
regularly, especially when messages changed inside the source code. | ||
|
||
``` | ||
$ python setup.py extract_messages | ||
``` | ||
|
||
Usually catalogs are updated with external translation tools, e.g. when new translations are merged. But we can update | ||
the catalogs here, so translators will have it more easy to pick up their work. | ||
This is a custom extension in `setup.py`. | ||
|
||
``` | ||
$ python setup.py update_catalogs | ||
``` | ||
|
||
Compilation of catalogs into the binary form, from `*.po` to `*.mo` is done during `setup.py build`, and the files are | ||
installed during `setup.py install`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[ignore: build/**] | ||
[python: **.py] | ||
[python: terminator] | ||
[python: remotinator] | ||
[glade: **.glade] | ||
[glade: data/terminator.metainfo.xml] | ||
[desktop: **.desktop] |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,47 +2,47 @@ | |
<!-- Copyright 2013 Stephen Boddy <[email protected]> --> | ||
<component type="desktop"> | ||
<id>terminator.desktop</id> | ||
<metadata_license>CC0-1.0</metadata_license> | ||
<project_license>GPL-2.0 only</project_license> | ||
<_name>Terminator</_name> | ||
<_summary>Multiple terminals in one window</_summary> | ||
<metadata_license>CC0-1.0</metadata_license> | ||
<project_license>GPL-2.0 only</project_license> | ||
<name translatable="yes">Terminator</name> | ||
<summary translatable="yes">Multiple terminals in one window</summary> | ||
<description> | ||
<_p> | ||
<p translatable="yes"> | ||
The robot future of terminals | ||
</_p> | ||
<_p> | ||
</p> | ||
<p translatable="yes"> | ||
A power-user tool for arranging terminals. It is inspired by programs such as | ||
gnome-multi-term, quadkonsole, etc. in that the main focus is arranging terminals | ||
in grids (tabs is the most common default method, which Terminator also supports). | ||
</_p> | ||
<_p> | ||
</p> | ||
<p translatable="yes"> | ||
Much of the behavior of Terminator is based on GNOME Terminal, and we are adding | ||
more features from that as time goes by, but we also want to extend out in different | ||
directions with useful features for sysadmins and other users. | ||
</_p> | ||
<_p>Some highlights:</_p> | ||
</p> | ||
<p translatable="yes">Some highlights:</p> | ||
<ul> | ||
<_li>Arrange terminals in a grid</_li> | ||
<_li>Tabs</_li> | ||
<_li>Drag and drop re-ordering of terminals</_li> | ||
<_li>Lots of keyboard shortcuts</_li> | ||
<_li>Save multiple layouts and profiles via GUI preferences editor</_li> | ||
<_li>Simultaneous typing to arbitrary groups of terminals</_li> | ||
<li translatable="yes">Arrange terminals in a grid</li> | ||
<li translatable="yes">Tabs</li> | ||
<li translatable="yes">Drag and drop re-ordering of terminals</li> | ||
<li translatable="yes">Lots of keyboard shortcuts</li> | ||
<li translatable="yes">Save multiple layouts and profiles via GUI preferences editor</li> | ||
<li translatable="yes">Simultaneous typing to arbitrary groups of terminals</li> | ||
</ul> | ||
<_p>And lots more...</_p> | ||
<p translatable="yes">And lots more...</p> | ||
</description> | ||
<screenshots> | ||
<screenshot type="default"> | ||
<image>http://4.bp.blogspot.com/-xt4Tja1TMQ0/Vdemmf8wYSI/AAAAAAAAA9A/uROTre0PMls/s1600/terminator_main_basic.png</image> | ||
<_caption>The main window showing the application in action</_caption> | ||
<caption translatable="yes">The main window showing the application in action</caption> | ||
</screenshot> | ||
<screenshot> | ||
<image>http://4.bp.blogspot.com/-rRxALSpEEZw/Vdeu58JgpnI/AAAAAAAAA9o/XewWKJ5HNo4/s1600/terminator_main_complex.png</image> | ||
<_caption>Getting a little crazy with the terminals</_caption> | ||
<caption translatable="yes">Getting a little crazy with the terminals</caption> | ||
</screenshot> | ||
<screenshot> | ||
<image>http://2.bp.blogspot.com/-t_8oRyMXUls/VdemmRVnZnI/AAAAAAAAA88/rHIr8L1X7Ho/s1600/terminator_prefs_global.png</image> | ||
<_caption>The preferences window where you can change the defaults</_caption> | ||
<image>http://2.bp.blogspot.com/-t_8oRyMXUls/VdemmRVnZnI/AAAAAAAAA88/rHIr8L1X7Ho/s1600/terminatorprefs_global.png</image> | ||
<caption translatable="yes">The preferences window where you can change the defaults</caption> | ||
</screenshot> | ||
</screenshots> | ||
<url type="homepage">https://github.com/gnome-terminator/terminator</url> | ||
|
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.