10000 added a script to check for missing translations · javascriptit/BitSafe@8bf51f4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8bf51f4

Browse files
committed
added a script to check for missing translations
1 parent 0dfc450 commit 8bf51f4

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

localizations/bitsafe/README

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
These are the translations for the scripts used by bitsafe.
22
To add yours, you just have to edit the file named "translate.po.original", which is automatically generated with the most up-to-date list of translable strings.
33
Once edited (you can have a look to the other translation for reference) you can rename it to something.po and put it here. Remember to add the proper
4-
localization string in the file header (en_UK, es_ES, ...), or the build will fail.
5-
4+
localization string in the file header (en_UK, es_ES, ...), or the build will fail. You can launch './check missing_lines <lang>.po' to check for missing
5+
translation strings.
66
Note that this file translates the scripts only. To translate the icons, you should edit the .desktop files located under src/chroot_local-include/usr/share/bitsafe
77

88
I'll be more than happy to include your translation in the project. Just mail it to me at r.belloli@gmail.com
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/bash
2+
3+
diff -I "^#:" localization.po $1 | tail -n +30 | egrep "^<" | grep -v "msgstr \"\""

0 commit comments

Comments
 (0)
0