Browse Source

Remove country codes from translation files

Piotr Orzechowski 1 year ago
parent
commit
dfd4272e54
4 changed files with 6 additions and 6 deletions
  1. 2
    2
      Makefile
  2. 2
    2
      qsummer.pro
  3. 1
    1
      src/l10n/cs.ts
  4. 1
    1
      src/l10n/pl.ts

+ 2
- 2
Makefile View File

@@ -7,8 +7,8 @@ i18n:
7 7
 l10n: i18n
8 8
 	mkdir -p ${dst}/l10n
9 9
 	
10
-	lrelease ${src}/l10n/cs_CZ.ts -qm ${dst}/l10n/cs_CZ.qm
11
-	lrelease ${src}/l10n/pl_PL.ts -qm ${dst}/l10n/pl_PL.qm
10
+	lrelease ${src}/l10n/cs.ts -qm ${dst}/l10n/cs.qm
11
+	lrelease ${src}/l10n/pl.ts -qm ${dst}/l10n/pl.qm
12 12
 
13 13
 build: l10n
14 14
 	cp -r ${src}/ui ${dst}

+ 2
- 2
qsummer.pro View File

@@ -2,5 +2,5 @@ SOURCES = src/qsummer.py
2 2
 FORMS = src/ui/main_window.ui \
3 3
     src/ui/about_dialog.ui \
4 4
     src/ui/credits_dialog.ui
5
-TRANSLATIONS = src/l10n/cs_CZ.ts \
6
-    src/l10n/pl_PL.ts
5
+TRANSLATIONS = src/l10n/cs.ts \
6
+    src/l10n/pl.ts

src/l10n/cs_CZ.ts → src/l10n/cs.ts View File

@@ -1,5 +1,5 @@
1 1
 <?xml version="1.0" encoding="utf-8"?>
2
-<!DOCTYPE TS><TS version="1.1" language="cs_CZ">
2
+<!DOCTYPE TS><TS version="1.1">
3 3
 <context>
4 4
     <name>AboutDialog</name>
5 5
     <message>

src/l10n/pl_PL.ts → src/l10n/pl.ts View File

@@ -1,5 +1,5 @@
1 1
 <?xml version="1.0" encoding="utf-8"?>
2
-<!DOCTYPE TS><TS version="1.1" language="pl_PL">
2
+<!DOCTYPE TS><TS version="1.1">
3 3
 <context>
4 4
     <name>AboutDialog</name>
5 5
     <message>

Loading…
Cancel
Save