mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-08-22 01:03:24 +02:00
Turns out that for Qt to properly handle plurals in English a translation needs to be provided, otherwise the user is left with messages such as "Building: 2 shader(s)" Plurals for other all other languages are handled on transifex. I wrote the README.md to just refer to it as a translation collaboration site just in case we ever switch. These translations being out of date won't pose any technical problems so I believe it is fine to handle them manually on a "best effort" basis. The files are generated into the source directory so that the relative filenames are correct. The generated file is added to .gitignore
68 lines
2.2 KiB
XML
68 lines
2.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!DOCTYPE TS>
|
|
<TS version="2.1" language="en_US" sourcelanguage="en_US">
|
|
<context>
|
|
<name>GMainWindow</name>
|
|
<message numerus="yes">
|
|
<location filename="../../src/yuzu/main.cpp" line="2322"/>
|
|
<source>%n file(s) remaining</source>
|
|
<translation>
|
|
<numerusform>%n file remaining</numerusform>
|
|
<numerusform>%n files remaining</numerusform>
|
|
</translation>
|
|
</message>
|
|
<message numerus="yes">
|
|
<location filename="../../src/yuzu/main.cpp" line="2377"/>
|
|
<source>%n file(s) were newly installed
|
|
</source>
|
|
<translation>
|
|
<numerusform>%n file was newly installed
|
|
</numerusform>
|
|
<numerusform>%n files were newly installed
|
|
</numerusform>
|
|
</translation>
|
|
</message>
|
|
<message numerus="yes">
|
|
<location filename="../../src/yuzu/main.cpp" line="2380"/>
|
|
<source>%n file(s) were overwritten
|
|
</source>
|
|
<translation>
|
|
<numerusform>%n file was overwritten
|
|
</numerusform>
|
|
<numerusform>%n were overwritten
|
|
</numerusform>
|
|
</translation>
|
|
</message>
|
|
<message numerus="yes">
|
|
<location filename="../../src/yuzu/main.cpp" line="2382"/>
|
|
<source>%n file(s) failed to install
|
|
</source>
|
|
<translation>
|
|
<numerusform>%n file failed to install
|
|
</numerusform>
|
|
<numerusform>%n files failed to install
|
|
</numerusform>
|
|
</translation>
|
|
</message>
|
|
<message numerus="yes">
|
|
<location filename="../../src/yuzu/main.cpp" line="3264"/>
|
|
<source>Building: %n shader(s)</source>
|
|
<translation>
|
|
<numerusform>Building: %n shader</numerusform>
|
|
<numerusform>Building: %n shaders</numerusform>
|
|
</translation>
|
|
</message>
|
|
</context>
|
|
<context>
|
|
<name>GameListSearchField</name>
|
|
<message numerus="yes">
|
|
<location filename="../../src/yuzu/game_list.cpp" line="87"/>
|
|
<source>%1 of %n result(s)</source>
|
|
<translation>
|
|
<numerusform>%1 of %n result</numerusform>
|
|
<numerusform>%1 of %n results</numerusform>
|
|
</translation>
|
|
</message>
|
|
</context>
|
|
</TS>
|