summaryrefslogtreecommitdiffstats
path: root/refresh-translations
Commit message (Collapse)AuthorAgeFilesLines
* Moved 'tails.py' from 'tails.git' to pythonlib/tailslib/adminpassword.pym3hm00d2019-01-131-2/+2
| | | | | | | - Appropriate changes in 'tails-screen-locker' and 'replace-su-with-sudo' made. - URL to 'pythonlib' submodule updated. - PYTHON_PROGS sorted.
* Better separation of output, logic, and library functionsm3hm00d2019-01-081-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | 1. 51-update-bash.bashrc: - Add comment to '/etc/bashrc' ('The following code is added by XYZ script'). - Removal of OPTS_FILE variable. 2. replace-su-with-sudo.sh: - Updated comment to better describe the role of this script. - Moved output stuff to '/usr/local/bin/replace-su-with-sudo'. - Moved translation stuff to '/usr/local/bin/replace-su-with-sudo'. - 'su' function will now simply call the 'replace-su-with-sudo' script. 3. replace-su-with-sudo: - Created new script - It handles the logic and output (with translation) of 'Please use sudo instead' message. 4. tails_is_password_set.py - Moved from /usr/local/bin/ to /usr/local/lib/python3/dist-packages/ - Removed main() function. This file is now just a library; not meant to be executed as a standalone script. 5. 'POTFILES.in' and 'refresh-translations': - Modified to accommodate the changes made in 'replace-su-with-sudo.sh' and 'replace-su-with-sudo'.
* Add internationalization support for 'replace-su-with-sudo.sh'm3hm00d2018-12-231-1/+2
| | | | | Appropriate changes made to 'POTFILES.in', 'refresh_translations', and 'replace-su-with-sudo.sh'.
* Merge branch 'devel' into feature/11082-deprecate-lifereaintrigeri2018-11-271-1/+5
|\
| * refresh-translations: explain a bit what's happening when po/missing exists.intrigeri2018-11-201-1/+5
| | | | | | | | | | | | Without this, the only indication one gets is that the script exits with exit code 3. Not everyone has a shell that complains loudly about programs exiting with a non-zero exit code.
* | Remove Liferea (refs: #11082, #15776)intrigeri2018-11-171-1/+0
|/
* Merge branch 'feature/14594-asp-gui' into develintrigeri2018-08-151-1/+8
|\
| * Merge remote-tracking branch 'origin/devel' into feature/14594-asp-guiintrigeri2018-08-151-0/+3
| |\
| * \ Merge remote-tracking branch 'origin/devel' into feature/14594-asp-guiAlan2018-07-271-0/+1
| |\ \
| * | | Fix translation for ASP config.intrigeri2018-03-061-1/+2
| | | |
| * | | ASP: make configuration window translatableAlan2018-03-051-1/+3
| | | | | | | | | | | | | | | | Refs: #14594
| * | | refresh-translations: add (untested) support for Glade .ui files.intrigeri2018-03-051-0/+2
| | | |
| * | | Move tails-additional-software-notify out of the $PATH.intrigeri2018-03-041-1/+1
| | | | | | | | | | | | | | | | It's not meant to be used directly by end-users.
| * | | ASP: fix documentation opening from the notificationAlan2018-03-031-0/+1
| | | | | | | | | | | | | | | | Fixes: e198143e. Refs: #14594.
* | | | Rename VeraCrypt Mounter to Unlock VeraCrypt Volumessegfault2018-08-151-5/+5
| | | |
* | | | Merge remote-tracking branch 'tails/devel' into ↵segfault2018-08-141-0/+3
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | feature/14481-TCRYPT-support-beta Conflicts: refresh-translations
| * | | Merge branch 'stable' into develintrigeri2018-08-141-0/+3
| |\ \ \ | | |_|/ | |/| |
| | * | Have translatable strings for the torstatus GNOME Shell extension added to ↵intrigeri2018-08-071-0/+3
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | tails.pot (refs: #15715). Previously, refresh-translations extracted them into tmp/pot/extension.js.pot but then nothing more happened because that file was not in po/POTFILES.in. So the strings (e.g. "Open Onion Circuits") did not end up in tails.pot, never got translated, and were always displayed in English in the GUI.
* | | Merge remote-tracking branch 'tails/devel' into ↵segfault2018-07-301-0/+1
|\ \ \ | |/ / | | | | | | feature/14481-TCRYPT-support-beta
| * | Integrate Liferea deprecation wrapper into our translation system (refs: #11082)intrigeri2018-07-091-0/+1
| |/
* | Update VeraCrypt Mountersegfault2018-07-301-2/+2
| | | | | | | | | | | | | | * Support opening files * Make VeraCrypt Mounter the default handler for .tc/.hc files * Improve error handling when attaching file containers * Prevent errors when starting multiple mount operations at once
* | Include translator comments in .po filessegfault2018-07-081-1/+1
| |
* | Make strings in volume.py translatablesegfault2018-07-051-0/+1
| |
* | Add and use Python version independent search pathsegfault2018-07-051-1/+1
| |
* | Fix integration of VeraCrypt Mounter into our translation system (refs: #15043)intrigeri2018-07-051-7/+1
| |
* | Add new VeraCrypt Mounter files to refresh-translationssegfault2018-07-031-1/+5
| |
* | Add veracrypt-mounter ui files to POTFILES.insegfault2018-07-011-0/+3
| |
* | Add VeraCrypt Mountersegfault2018-07-011-0/+4
|/
* Merge branch 'feature/11753-port-to-python' into develbertagaz2018-03-011-2/+2
|\ | | | | | | | | | | | | Conflicts: refresh-translations Fix-committed: #11753
| * Treat tails-upgrade-frontent-wrapper as Python in refresh-translationssegfault2018-02-271-1/+1
| |
| * Treat electrum wrapper as Python in refresh-translationssegfault2018-02-271-2/+3
| |
* | Add tails-screen-locker to refresh-translations and POTFILES.insegfault2018-02-271-1/+3
|/
* Merge branch 'devel' into feature/5684-screen-lockersegfault2018-02-211-3/+7
|\
| * Add a --keep-tmp-pot option to refresh-translations and use it in ↵intrigeri2018-01-111-3/+7
| | | | | | | | | | | | | | | | | | language_statistics.sh (refs: #15165) The current implementation of language_statistics.sh needs the content of tmp/pot produced by refresh-translations, but since commit d199d512d5cf64782a159176cf99412d332d40ac refresh-translations always deletes it.
* | Replace all occurrences of "shutdown-helper" with "status-menu-helper"segfault2017-11-161-3/+3
|/
* Fix possibly unset variable vs `set -u`.anonym2017-09-251-1/+1
|
* Refactor and improve awk.anonym2017-09-141-2/+5
| | | | | | | | | | | | | | | | By exploiting the fact that if the last expression is true (i.e. 1) awk will print the current line (otherwise nothing), we have that { if (between) { print; } } is equivalent to just between The latter which matches the approach in the awk we just replaced (but there the variable name was `flag`, not `between`). :)
* Fix custom polkit prompt org.boum.tails.root-terminal.policy.in and its ↵intrigeri2017-09-131-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | | translations (refs: #12738). Without this, even after I've refreshed the POT and PO files, translated the new string into French and run ./refresh-translations again, the custom polkit prompt is not displayed even in English, which is no big surprise because the resulting config/chroot_local-includes/usr/share/polkit-1/actions/org.boum.tails.root-terminal.policy{,.in} are identical i.e. no translation is integrated, and even the original string in English is still in a <_message> block that won't be used at runtime. This is explained by the fact that `intltool-update --desktop-style' can't possibly work for XML files, so let's use --xml-style instead for org.boum.tails.root-terminal.policy. Note that I don't master awk so I don't know if the awk magics in intltool_merge_desktop will actually *stop* after having dealt with the block it's supposed to act on, or if that hack was assuming that we would never need any other similar trick (which was wrong as soon as it was written, oh well) and as a result it's going to try to handle org.boum.tails.root-terminal.policy with --desktop-style anyway. But as we've seen already this is a no-op so I won't bother learning awk today, and hopefully some day this code will be rewritten in a language I understand.
* Make the Root Terminal's PolKit prompt message translatable.anonym2017-09-131-1/+1
|
* normalize_pot(): split long line somewhat (refs: #12641).intrigeri2017-09-131-1/+3
|
* normalize_pot(): convert to extended regexp and avoid extreme quoting caused ↵intrigeri2017-09-131-1/+1
| | | | by shell double quotes (refs: #12641).
* Use -q (quiet) instead of IO redir to /dev/null.anonym2017-09-131-1/+1
|
* Fix indentation.anonym2017-09-131-72/+72
|
* Make messages consistent.anonym2017-09-131-2/+2
|
* Do some clean up.anonym2017-09-131-0/+3
| | | | If the script fails at various points, these files would linger.
* Rework how we handle the individual POT files of our applications.anonym2017-09-131-24/+13
| | | | | | | | Comparing the new temporary POT files we generate with the temporary POT files we generated last time (if ever, and if we did, for which branch?) is not relevant; these POT files are only used for merging into a new tails.pot and *that* one is relevant to diff against the old tails.pot.
* Implement refresh-translations --force.anonym2017-09-131-2/+22
|
* Simplify.anonym2017-09-131-2/+2
| | | | RTFM ♥
* Normalize both POT files before comparing.anonym2017-09-121-1/+6
| | | | | | Otherwise we'll often converge to a state where we always get into the "Real changes ..." case, which feels wrong; after a single run, consecutive runs should always end up in the "Only header ...# case.
* call the correct function with the correct pathUlrike Uhlig2017-09-121-7/+7
|