aboutsummaryrefslogtreecommitdiff
path: root/update_locales.sh
diff options
context:
space:
mode:
authorDaniel Teichmann <daniel.teichmann@das-netzwerkteam.de>2021-08-01 02:06:58 +0200
committerDaniel Teichmann <daniel.teichmann@das-netzwerkteam.de>2021-08-01 02:08:36 +0200
commitd75db83442a01dcd003ea39a5ec61baad7d344a0 (patch)
treecc25afb55916501614ee435375094161f253b7cb /update_locales.sh
parent0a48722a1ddeccfc89f1812c44b7582358671697 (diff)
downloadRWA.Support.DesktopApp-d75db83442a01dcd003ea39a5ec61baad7d344a0.tar.gz
RWA.Support.DesktopApp-d75db83442a01dcd003ea39a5ec61baad7d344a0.tar.bz2
RWA.Support.DesktopApp-d75db83442a01dcd003ea39a5ec61baad7d344a0.zip
Change translation system to work more out of the box.
using ./update-locales.sh now removes any old/obsolete translations.
Diffstat (limited to 'update_locales.sh')
-rwxr-xr-xupdate_locales.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/update_locales.sh b/update_locales.sh
index 4884cb6..8c05ece 100755
--- a/update_locales.sh
+++ b/update_locales.sh
@@ -24,7 +24,6 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
-lupdate . -ts locales/*.ts
+lupdate rwa-support-desktopapp.pro -no-obsolete
linguist locales/*.ts
-lrelease locales/de_DE.ts -qm locales/bin/de_DE.qm
-lrelease locales/es_ES.ts -qm locales/bin/es_ES.qm
+lrelease rwa-support-desktopapp.pro -compress -removeidentical