Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Vietnamese translation #105

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

runlevel5
Copy link

No description provided.

@jk-ozlabs
Copy link
Member

nice one, thank you!

@jk-ozlabs jk-ozlabs self-assigned this Oct 24, 2023
@jk-ozlabs
Copy link
Member

I get this from a build:

vi.po:6: nplurals = 1...
vi.po:99: ...but some messages have 2 plural forms
vi.po:591: format specifications in 'msgid' and 'msgstr' for argument 1 are not the same
/usr/bin/msgfmt: found 2 fatal errors

Are you okay with the following fix?

diff --git a/po/vi.po b/po/vi.po
index e646961..5ae5aa8 100644
--- a/po/vi.po
+++ b/po/vi.po
@@ -14,7 +14,7 @@ msgstr ""
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=utf-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"Plural-Forms: nplurals=1; plural=0;\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
 
 msgid "Running boot hooks"
 msgstr "Đang chạy các móc nối khởi động"
@@ -588,7 +588,7 @@ msgstr " MAC:        %s"
 
 #, c-format
 msgid " IP Address: %s"
-msgstr "Địa chỉ IP: %S"
+msgstr "Địa chỉ IP: %s"
 
 msgid "none"
 msgstr "không có"

@runlevel5
Copy link
Author

Sorry for late reply. Yes I am good

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants