FS#62023 - [cataclysm-dda-tiles] Localization is not included in PKGBUILD

Attached to Project: Community Packages
Opened by Aleksey (makaleks) - Friday, 15 March 2019, 18:48 GMT
Last edited by Kyle Keen (keenerd) - Wednesday, 14 April 2021, 23:26 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Kyle Keen (keenerd)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 4
Private No

Details

Description:
This build does not include localization while it is just needed to be included into PKGBUILD. Now it results in an effect, when the game title is localized (it is an ascii-graphics, that is not handled by gettext, see attachment), while all strings are not.
I found, that localization is not included in the PKGBUILD (there are many lines of 'make', none of which includes localization):
https://git.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/cataclysm-dda#n63

The supported make-options are listed github:
https://github.com/CleverRaven/Cataclysm-DDA/blob/master/COMPILING.md#make-options

The package 'cataclysm-dda' suffers from the same problem

Additional info:
* package version: 0.D-1, the latest

Steps to reproduce:
Install the current build, launch it and (if you current locale is not English) change the language, restart the game. You will see something like in attachment - the title is localized, while the menu is not.

How to fix:
I am not a familiar with PKGBUILD, but when I downloaded the source from github, I found the menu and the tutorial changed as I wanted after I: ran make, launched to change language settings and restarted the game (note: it is important to set which languages to compile!)
$ make -j4 TILES=1 RELEASE=1 LOCALIZE=1 LANGUAGES=all
$ ./cataclysm-tiles
This task depends upon

Closed by  Kyle Keen (keenerd)
Wednesday, 14 April 2021, 23:26 GMT
Reason for closing:  Fixed
Additional comments about closing:  cataclysm-dda 0.E.3-2
Comment by Lawrence González (GalaxyLJGD) - Thursday, 12 September 2019, 01:40 GMT
I modified the PKGBUILD to include the translations and the help menu text that was not shown before.
Comment by Alex Z (MEXAHOTABOP) - Sunday, 13 December 2020, 19:27 GMT
0.E.3-1 problem still persist
Comment by Kyle Keen (keenerd) - Wednesday, 14 April 2021, 23:25 GMT
My apologies, that was an excellent pkgbuild, GalaxyLJGD and I completely missed it. Also thank you for cluing me into the LTO flag. Lua has also been removed, since upstream axed that feature.

Loading...