Action Entries labels and tooltips are not translated

Bug #921500 reported by Mario Guerriero
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Scratch
Fix Released
Medium
Unassigned
Terminal
Fix Released
Medium
Mario Guerriero

Bug Description

The labels and the tooltips of the ActionEntries are not translated because they can't be added to the pot.

Changed in scratch:
status: New → Confirmed
milestone: none → 1.1
importance: Undecided → Medium
Revision history for this message
Cris Dywan (kalikiana) wrote :

Looks like the src folder is not being scanned.

Also command line switches are missing _().

Revision history for this message
Mario Guerriero (mefrio-g) wrote :

You are right. We forgot to add the scanning for the src folder but the problem is not only this. When I try to run 'make pot' to generate the pot, it says that the Action's strings are unterminated and constants strings! It seems to be caused by the thing that the ActionEntry[] is a 'static const' object.

Revision history for this message
xapantu (xapantu) wrote :

Apparently xgettext doesn't want to take N_ when it is a vala file, I added it to the cmake module manually.

Changed in scratch:
status: Confirmed → Fix Committed
Changed in pantheon-terminal:
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → Mario Guerriero (mefrio-g)
milestone: none → 0.1
status: Confirmed → Fix Committed
Changed in scratch:
status: Fix Committed → Fix Released
milestone: luna-beta1 → 1.1
Changed in pantheon-terminal:
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

Remote bug watches

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