mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
fix: Crowdin translation
This commit is contained in:
parent
85efdfb295
commit
954b367d4f
2 changed files with 3 additions and 2 deletions
|
@ -1,3 +1,3 @@
|
||||||
{
|
{
|
||||||
"ayu_SettingsWatermark": "AyuGram developed and maintained by Radolyn Labs"
|
"SettingsWatermark": "AyuGram developed and maintained by Radolyn Labs"
|
||||||
}
|
}
|
|
@ -22,7 +22,8 @@ for string in tree.find_all('string'):
|
||||||
with open('./ayu-scripts/desktop-specific.json') as f:
|
with open('./ayu-scripts/desktop-specific.json') as f:
|
||||||
data = json.load(f)
|
data = json.load(f)
|
||||||
|
|
||||||
strings.update(data)
|
for k, v in data.items():
|
||||||
|
strings[f'ayu_{k}'] = v
|
||||||
|
|
||||||
req = requests.get(
|
req = requests.get(
|
||||||
'https://raw.githubusercontent.com/telegramdesktop/tdesktop/dev/Telegram/Resources/langs/lang.strings'
|
'https://raw.githubusercontent.com/telegramdesktop/tdesktop/dev/Telegram/Resources/langs/lang.strings'
|
||||||
|
|
Loading…
Add table
Reference in a new issue