Skip to content

Commit

Permalink
l10n: Rename zh_Hans to zh_CN
Browse files Browse the repository at this point in the history
DNF5 uses and follows glibc for localization. That means RFC 4646
language codes (zh_Hans) are not supported.

This patch renames zh_Hans catalogs to zh_CN.

It has already been renamed in dnf5-l10n git repository, but we also
need to rename it in dnf5 repository because weblate-pull-translations
script adds new catalogs without removing those that disappeared from
dnf5-l10n.

Resolves #2069
  • Loading branch information
ppisar authored and m-blaha committed Feb 24, 2025
1 parent 7c673ce commit eec45a0
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ msgstr ""
"POT-Creation-Date: 2025-02-06 03:02+0000\n"
"PO-Revision-Date: 2024-12-24 09:17+0000\n"
"Last-Translator: ashton su <[email protected]>\n"
"Language-Team: Chinese (Simplified Han script) <https://translate."
"fedoraproject.org/projects/dnf5/dnf5-plugin-copr/zh_Hans/>\n"
"Language: zh_Hans\n"
"Language-Team: Chinese (Simplified) <https://translate."
"fedoraproject.org/projects/dnf5/dnf5-plugin-copr/zh_CN/>\n"
"Language: zh_CN\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ msgstr ""
"POT-Creation-Date: 2025-02-06 03:02+0000\n"
"PO-Revision-Date: 2024-12-09 22:54+0000\n"
"Last-Translator: caffiendo c <[email protected]>\n"
"Language-Team: Chinese (Simplified Han script) <https://translate."
"fedoraproject.org/projects/dnf5/dnf5-plugin-needs-restarting/zh_Hans/>\n"
"Language: zh_Hans\n"
"Language-Team: Chinese (Simplified) <https://translate."
"fedoraproject.org/projects/dnf5/dnf5-plugin-needs-restarting/zh_CN/>\n"
"Language: zh_CN\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
Expand Down
6 changes: 3 additions & 3 deletions dnf5/po/zh_Hans.po → dnf5/po/zh_CN.po
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ msgstr ""
"POT-Creation-Date: 2025-02-06 03:02+0000\n"
"PO-Revision-Date: 2025-01-31 11:53+0000\n"
"Last-Translator: hg wd <[email protected]>\n"
"Language-Team: Chinese (Simplified Han script) <https://translate."
"fedoraproject.org/projects/dnf5/dnf5/zh_Hans/>\n"
"Language: zh_Hans\n"
"Language-Team: Chinese (Simplified) <https://translate."
"fedoraproject.org/projects/dnf5/dnf5/zh_CN/>\n"
"Language: zh_CN\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ msgstr ""
"POT-Creation-Date: 2025-02-06 03:02+0000\n"
"PO-Revision-Date: 2024-12-15 02:53+0000\n"
"Last-Translator: caffiendo c <[email protected]>\n"
"Language-Team: Chinese (Simplified Han script) <https://translate."
"fedoraproject.org/projects/dnf5/dnf5daemon-client/zh_Hans/>\n"
"Language: zh_Hans\n"
"Language-Team: Chinese (Simplified) <https://translate."
"fedoraproject.org/projects/dnf5/dnf5daemon-client/zh_CN/>\n"
"Language: zh_CN\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
Expand Down

0 comments on commit eec45a0

Please sign in to comment.