mirror of
https://github.com/LiveFastEatTrashRaccoon/RaccoonForLemmy.git
synced 2025-02-09 10:28:41 +01:00
chore: Weblate sync (#1041)
Co-authored-by: Hosted Weblate <hosted@weblate.org>
This commit is contained in:
parent
32859c9bf6
commit
3c447f795f
@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="createPostBody">帖子內容</string>
|
||||
<string name="homeSortTypeScaled">按比例</string>
|
||||
@ -412,4 +412,4 @@
|
||||
<string name="actionRestore">恢復</string>
|
||||
<string name="settingsInboxPreviewMaxLines">Inbox card preview max lines</string>
|
||||
<string name="settingsDefaultExploreResultType">Default search result type for explore</string>
|
||||
</resources>
|
||||
</resources>
|
@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="communityDetailBlock">封鎖</string>
|
||||
<string name="communityDetailBlockInstance">封鎖網站</string>
|
||||
@ -412,4 +412,4 @@
|
||||
<string name="actionRestore">恢復</string>
|
||||
<string name="settingsInboxPreviewMaxLines">Inbox card preview max lines</string>
|
||||
<string name="settingsDefaultExploreResultType">Default search result type for explore</string>
|
||||
</resources>
|
||||
</resources>
|
@ -45,7 +45,7 @@ def escape(str_xml):
|
||||
|
||||
def write_l10n_to_file(messages, output_path):
|
||||
with open(output_path, "w") as file_handle:
|
||||
file_handle.write("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n")
|
||||
file_handle.write("<?xml version=\"1.0\" encoding=\"utf-8\"?>\n")
|
||||
file_handle.write("<resources>\n")
|
||||
for pair in messages:
|
||||
sanitizedValue = escape(pair["value"])
|
||||
|
Loading…
x
Reference in New Issue
Block a user