Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 807730 - games-strategy/warzone2100-4.1.3 Does not install language files
Summary: games-strategy/warzone2100-4.1.3 Does not install language files
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-11 15:08 UTC by Account Deleted
Modified: 2021-08-14 03:48 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge (emerge warzone.txt,542.29 KB, text/plain)
2021-08-11 15:08 UTC, Account Deleted
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Account Deleted 2021-08-11 15:08:09 UTC
Created attachment 732283 [details]
emerge

Language files are not installed, manually copy the Spanish language file to /usr/share/locale/es/LC_MESSAGES/warzone2100.mo from a manual build.
Attached the compilation.
Error the error of warzone when trying to change the language
info    |10:50:37: [setLocaleUnix:361] Failed to set locale to "zh_TW.UTF-8"
info    |10:50:37: [setLocaleUnix:361] Failed to set locale to "zh_TW"
info    |10:50:37: [setLocaleUnix:361] Failed to set locale to "zh_CN.UTF-8"
info    |10:50:37: [setLocaleUnix:361] Failed to set locale to "zh_CN"
info    |10:50:37: [setLocaleUnix:361] Failed to set locale to "uk_UA.UTF-8"
info    |10:50:37: [setLocaleUnix:361] Failed to set locale to "uk"
info    |10:50:37: [setLocaleUnix:361] Failed to set locale to "tr_TR.UTF-8"
info    |10:50:37: [setLocaleUnix:361] Failed to set locale to "tr_TR"
info    |10:50:37: [setLocaleUnix:361] Failed to set locale to "sl_SI.UTF-8"
info    |10:50:37: [setLocaleUnix:361] Failed to set locale to "sl"
info    |10:50:37: [setLocaleUnix:361] Failed to set locale to "sk_SK.UTF-8"
info    |10:50:37: [setLocaleUnix:361] Failed to set locale to "sk_SK"
info    |10:50:37: [setLocaleUnix:361] Failed to set locale to "ru_RU.UTF-8"
info    |10:50:37: [setLocaleUnix:361] Failed to set locale to "ru_RU"
info    |10:50:37: [setLocaleUnix:361] Failed to set locale to "ro_RO.UTF-8"
info    |10:50:37: [setLocaleUnix:361] Failed to set locale to "ro_RO"
info    |10:50:37: [setLocaleUnix:361] Failed to set locale to "pt_PT.UTF-8"
info    |10:50:37: [setLocaleUnix:361] Failed to set locale to "pt_PT"
info    |10:50:37: [setLocaleUnix:361] Failed to set locale to "pt_BR.UTF-8"
info    |10:50:37: [setLocaleUnix:361] Failed to set locale to "pt_BR"
info    |10:50:37: [setLocaleUnix:361] Failed to set locale to "pl_PL.UTF-8"
info    |10:50:37: [setLocaleUnix:361] Failed to set locale to "pl_PL"
info    |10:50:37: [setLocaleUnix:361] Failed to set locale to "nl_NL.UTF-8"
info    |10:50:37: [setLocaleUnix:361] Failed to set locale to "nl_NL"
info    |10:50:37: [setLocaleUnix:361] Failed to set locale to "nb_NO.UTF-8"
info    |10:50:37: [setLocaleUnix:361] Failed to set locale to "nb"
...
Comment 1 Larry the Git Cow gentoo-dev 2021-08-14 03:48:36 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c47ce3628b55548b199680b1aa57985bc314fa87

commit c47ce3628b55548b199680b1aa57985bc314fa87
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-08-14 03:43:31 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-08-14 03:48:25 +0000

    games-strategy/warzone2100: install translations
    
    Use the CMake install target instead of our own
    logic in src_install - this gives us the translations for free.
    
    We now use plocale.eclass to install the right subset
    of translations/localised strings requested by the user.
    
    Closes: https://bugs.gentoo.org/807730
    Signed-off-by: Sam James <sam@gentoo.org>

 .../warzone2100/warzone2100-4.1.3-r1.ebuild        | 31 +++++++++++-----------
 1 file changed, 16 insertions(+), 15 deletions(-)