-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Compile bombing on bad po file #17266
Comments
Looks like this is the bad entry:
My guess is that it should have been
|
I got it. It is the Chinese or Taiwanese usually don't have plural nouns. The .po has a It's my fault, will use |
Yes, in the original (in English), they should be different, because this corresponds to the rules of the English language. But this does not matter for translation, if the target language does not have a plural form, then the translation will be the same. The main question is the rules of the language into which we translate. If you write that Chinese or Taiwanese don't have plural nouns, then you need to use the formula |
Yes, that's the way in former zh-TW.po files. But sometimes we will use different article in front of nouns to express singular and plural forms. It depends on the sentence. I think use plural independent setting will make it more solid. Even in most cases the |
Interesting! Got it. I even found good explanation: https://medium.com/@chinesewithnora/the-singular-world-of-plurals-in-chinese-c6307a5cbc25
Out of curiosity I looked in the zh_*.po files in a number of projects and everywhere I saw only the formula |
I believe it's the default setting for zh in Poedit. Chinese and Taiwanese do have some rare plural nouns. Mostly, we use number and different classifier for plural nouns. In practical, the measure words might be omitted. Using |
Describe the bug
Did my usual nightly github compile and got this:
-- Configuring done (26.0s)
-- Generating done (3.5s)
-- Build files have been written to: /home/jb/darktable_git/darktable/build
[ 0%] Updating version string (git checkout)
[ 0%] Building af locale
[ 0%] Building zh_TW locale
[ 0%] Building ca locale
4067 translated messages.
Version string: 4.9.0+192~g2ea7c4e492
[ 0%] Built target locale_af
[ 0%] Built target create_version_gen
3058 translated messages.
[ 1%] Building cs locale
[ 1%] Building da locale
[ 1%] Built target locale_ca
[ 1%] Building de locale
/home/jb/darktable_git/darktable/po/zh_TW.po:2: nplurals = 1...
/home/jb/darktable_git/darktable/po/zh_TW.po:7612: ...but some messages have 2 plural forms
/usr/bin/msgfmt: found 1 fatal error
4997 translated messages.
Seems to be something wrong with zh_TW.po
Steps to reproduce
Try to compile.
Expected behavior
Should compile cleanly as usual.
Logfile | Screenshot | Screencast
No response
Commit
No response
Where did you obtain darktable from?
self compiled
darktable version
4.9.0+192~g2ea7c4e492
What OS are you using?
Linux
What is the version of your OS?
Ubuntu 24.04
Describe your system?
System Details Report
Report details
Hardware Information:
Software Information:
Are you using OpenCL GPU in darktable?
Yes
If yes, what is the GPU card and driver?
Intel® HD Graphics 5500 (BDW GT2) using Intel driver
Please provide additional context if applicable. You can attach files too, but might need to rename to .txt or .zip
No response
The text was updated successfully, but these errors were encountered: