Add translations to cmake

Bug #1451236 reported by houz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
High
houz

Bug Description

I started adding translations to the cmake builds.
Attached you will find a diff and two new files that I didn't manage to get into the diff (total bzr noob here).

Currently it will create and install a .mo for every .po file present (not limiting itself to the ones in LINGUAS as the autotools based installs do). That would be easy to add, but since all available .po files are in LINGUAS anyway I wasn't sure if that is a feature that is actually used or just the way the build system was once set up.

It also lacks a make target that updates the .po files from the .pot.

Tags: build cmake i18n
Revision history for this message
houz (houz) wrote :
Revision history for this message
houz (houz) wrote :

First missing file.

Revision history for this message
houz (houz) wrote :

Second missing file.

su_v (suv-lp)
Changed in inkscape:
status: New → Confirmed
milestone: none → 0.92
su_v (suv-lp)
Changed in inkscape:
importance: Undecided → High
Revision history for this message
Mc (mc...) wrote :

I think i managed to get it working, but it took me hours to find that i needed to add

+include(CMakeScripts/FindGettext.cmake) # custom FindGetText

to the CMakeLists because it was otherwise not used (and the system one was used, leading to the wrong names, and no install...)

Revision history for this message
Mc (mc...) wrote :

pushed in r14304

su_v (suv-lp)
Changed in inkscape:
assignee: nobody → houz (houz)
status: Confirmed → Fix Committed
Bryce Harrington (bryce)
Changed in inkscape:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related blueprints

Remote bug watches

Bug watches keep track of this bug in other bug trackers.