Philipp Hörist pushed to branch master at gajim / gajim


Commits:
1d239b90 by André Apitzsch at 2022-12-12T20:54:05+01:00
cfix: Re-add comments for translators to po files

- - - - -
ff048ff7 by André Apitzsch at 2022-12-12T20:54:05+01:00
other: Filetransfer: Add hint for translators

- - - - -


2 changed files:

- gajim/gtk/filetransfer.py
- scripts/update_translations.py


Changes:

=====================================
gajim/gtk/filetransfer.py
=====================================
@@ -658,6 +658,7 @@ def set_progress(self, typ, sid, transferred_size, 
iter_=None):
             self.model.set(iter_, Column.PERCENT, int(percent))
             text = format_eta(eta)
             text += '\n'
+            # Translators:
             # This should make the string KB/s,
             # where 'KB' part is taken from %s.
             # Only the 's' after / (which means second) should be translated.


=====================================
scripts/update_translations.py
=====================================
@@ -42,7 +42,7 @@ def update_translation_template() -> bool:
     cmd = [
         'xgettext',
         '-o', '-',
-        '-c#',
+        '--add-comments=Translators',
         '--from-code=utf-8',
         '--keyword=p_:1c,2',
         '--no-location',



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/compare/3742e9da0b58abe5689042983cb6b5c375d4b6fe...ff048ff7d957c3254c4f22a4a25907a964c394a6

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/compare/3742e9da0b58abe5689042983cb6b5c375d4b6fe...ff048ff7d957c3254c4f22a4a25907a964c394a6
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to