Commit Graph

1063 Commits

Author SHA1 Message Date
x3nu
c3bcfcdb1a translating .. 2014-09-19 10:16:09 +02:00
Jerry V Polfer
3a981dc3d6 started actualiasing german translation 2014-09-17 01:11:50 +02:00
Jaromil
c7009e5c1b Merge pull request #132 from gdrooid/i18n
Internationalization of all human language in Tomb using gettext
2014-09-16 18:56:45 +02:00
gdrooid
33e18cb256 Updated .pot and .po files. 2014-09-13 17:32:12 +02:00
gdrooid
0d76ccc2df Usage message translations.
Adds a new `_print` function to print strings without coloring or
other stuff added by the `_msg` function. It's used for the usage
message, letting it be translated.

The usage messages have been split into one-line strings, and added
back to the tomb.pot and *.po files.
2014-09-13 16:55:03 +02:00
gdrooid
55f6a0a927 Remove manual coloring from strings. 2014-09-09 13:20:06 +02:00
gdrooid
b73dfd65d7 Makes it possible to add any number of ::vars:: to the strings. 2014-09-09 13:15:31 +02:00
gdrooid
7c9575c438 Add compiled translation files (.mo) to .gitignore. 2014-09-09 11:46:04 +02:00
Jaromil
7918161803 revert to using /dev/null to ignore output when needed
should fix #134
2014-09-06 20:24:24 +02:00
gdrooid
14b7e8763b Fix some German translations.
By @x3nu on #135
2014-09-02 18:25:56 +02:00
gdrooid
255b5122f6 Separate help message from the rest of the translations. 2014-09-02 12:50:46 +02:00
gdrooid
0cdb87de0b Updated translation strings for French, Russian and German. 2014-09-01 12:17:03 +02:00
gdrooid
32211bd61d Update Spanish translations. 2014-09-01 10:59:28 +02:00
gdrooid
c0b05dd92a Update translation template. 2014-09-01 10:55:18 +02:00
gdrooid
83fc417f02 Add German language to the translations makefile. 2014-09-01 10:11:23 +02:00
gdrooid
20a59fdf7b Update new strings to the new format. 2014-09-01 10:09:33 +02:00
gdrooid
118ace28ef Update Spanish translations and fix minor issues.
Issues:
	`gettext -s - "$2"` prints the -, instead of getting the desired effect
	The custom expansion  missed repeated variables in a single string
	Some string fixes
2014-09-01 09:37:45 +02:00
gdrooid
61e6529f6a Update Spanish translations. 2014-09-01 09:37:11 +02:00
gdrooid
69bb25e05b Update .pot file and it's generator. 2014-09-01 09:37:11 +02:00
gdrooid
bfc12248bd Adapt _failure strings for new format.
Also, changes the way you pass an exit value to the _failure function:
	exitv=1 _failure "Message"
2014-09-01 09:37:11 +02:00
gdrooid
d1bac626ef Adapt _verbose strings to new format. 2014-09-01 09:36:49 +02:00
gdrooid
08c94cc110 Adapt _message strings to new format. 2014-09-01 09:35:24 +02:00
gdrooid
2b0a02f3d7 Adapt _warning messages to new format. 2014-09-01 09:34:02 +02:00
gdrooid
7d6c72a2e8 Adapt _success messages to new format. 2014-09-01 09:32:22 +02:00
gdrooid
bb863b7e17 Modify _msg function for new string format. 2014-09-01 09:28:32 +02:00
Jaromil
f7057b7d03 Merge pull request #128 from gdrooid/po
Fix translations makefile.
2014-08-31 09:24:48 +02:00
Jaromil
76248f2d66 documentation updates 2014-08-30 19:38:56 +02:00
Jaromil
e8aaf03b52 Completed refactoring of secret handling, all unit tests working.
This refactoring avoids writing of keys on filesystem, exception made
for the 'setkey' command. Loopfiles and tempfiles are automatically
wiped at exit, variable are filled with random data before unset.
2014-08-30 19:38:56 +02:00
Jaromil
4bfae329d3 Merge pull request #127 from x3nu/master
German Translation by x3nu
2014-08-30 19:38:14 +02:00
Jaromil
16b319c256 More cleanup and refactoring.
Now most functions are stable. tomb open -k image.jpg can use images
directly as keys, works on tests, but needs more debugging.
2014-08-26 00:54:41 +02:00
Jaromil
5d9caf01e0 Cleanup and normalization of functions handling secrets
also now using a dash - after print and gettext options to avoid
parsing printed strings as options.
2014-08-25 23:32:32 +02:00
Jaromil
7c55f633d6 small fix to tests 2014-08-25 21:07:47 +02:00
Jaromil
1d815a1f7e More refactoring of how keys, passwords and secrets are stored
includes a working loopback and tempfile cleanup in endgame()
and several changes in order to avoid saving anything on disk
WIP addressing #124 and #126
2014-08-25 21:07:47 +02:00
x3nu
e8db9ce942 German translation complete 2014-08-21 10:09:25 +02:00
x3nu
be15c46120 Started working on german translation 2014-08-21 08:24:03 +02:00
gdrooid
dea3f8ff2d Fix translations makefile. 2014-08-20 00:06:33 +02:00
Jaromil
f794b78795 Merge pull request #123 from gdrooid/i18n
Install and use translations.
2014-08-19 18:48:49 +02:00
gdrooid
907da7bf7b Add instructions to install translations. 2014-08-17 22:06:40 +02:00
gdrooid
6ff2b86dfc Revert changes to the main Makefile 2014-08-17 21:37:13 +02:00
Jaromil
31ab169e2f Merge pull request #122 from gdrooid/master
Substitute /dev/null redirection with closing stdin/err. Cleanup some obsolete functions.
2014-08-17 21:10:18 +02:00
Jaromil
7bd21e4419 remove newline from decrypted key's secret, fixes #125 2014-08-17 21:05:22 +02:00
Jaromil
3bed43bf21 added notice to recommend using stable releases in production environments 2014-08-16 17:51:38 +02:00
gdrooid
22f3ab09e5 Close std(out|err) instead of redirecting to /dev/null. 2014-08-15 01:43:52 +02:00
gdrooid
6c4bc38e6a Small fixes/Remove dead options 2014-08-15 01:43:52 +02:00
Jaromil
9d718d0ebb signal traps for endgame cleanups 2014-08-14 09:58:15 +02:00
Jaromil
cfe04a6bee added french translation by hellekin 2014-08-14 08:45:00 +02:00
Jaromil
2a8ea4ac99 added russian translation by fsLeg 2014-08-14 08:44:48 +02:00
gdrooid
7d434787b6 Install and use translations. 2014-08-11 23:01:58 +02:00
Jaromil
f7b83de6ca cleanup implicitly exhumed key and move get_lukskey() closer to caller funcs 2014-08-06 11:21:08 +02:00
Jaromil
5158c380fe refactoring of the way password and keys are handled internally
this change uses an hidden global variable within tomb to store the
decrypted key material, avoiding using one tempfile in RAM, avoiding
running the decryption more than once (which means sanity for KDF
usage) and overall simplifying the code also avoiding duplicates.
2014-08-06 07:43:25 +02:00