l10n: change default section to "common"
This commit is contained in:
@@ -43,7 +43,7 @@ def inject_translations():
|
||||
if ":" in text:
|
||||
section, key = text.split(":", 1)
|
||||
else:
|
||||
section, key = "messages", text
|
||||
section, key = "common", text
|
||||
|
||||
template = g.translations \
|
||||
.get(section, {}) \
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
[messages]
|
||||
[common]
|
||||
site source = Website-Quellcode
|
||||
contact us = Kontakt
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
[messages]
|
||||
[common]
|
||||
site source = Site source
|
||||
contact us = Contact us
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
[messages]
|
||||
[common]
|
||||
site source = Code source du site
|
||||
contact us = Contacte-nous
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
[messages]
|
||||
[common]
|
||||
site source = サイトのソースコード
|
||||
contact us = 問い合わせ
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
[messages]
|
||||
[common]
|
||||
site source = Исходники сайта
|
||||
contact us = Для связи
|
||||
|
||||
|
||||
Reference in New Issue
Block a user