Active
Project:
Project issue tracking
Version:
6.x-1.x-dev
Component:
Issues
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
15 Jul 2007 at 18:16 UTC
Updated:
26 Apr 2009 at 16:15 UTC
Translating variables it difficult and we shouldn't do, and i finaly don't know how we are able to solve this. project_issue_init_state (.install) function inserts the states in DB and this should be in english, but we need the strings also inside a t(). Should we put a dummy's variables for potx next to this lines? something like this:
// We add this unused line to get the strings in potx, don't remove.
translation_init_state = array(t('active'), t('fixed'), t('duplicate'), ...)
Or someone have a better idea?
Comments
Comment #1
hass commentedohhh - this list can be extended via admin/project/project-issue-status. This makes things more complicated... however - any idea?
Comment #2
dwwI think this should wait until after the initial D6 port, since D6 core provides (at least how I understand it) a lot of new tools for translating dynamic content on the site, not just static interface strings. This will be a big undertaking, and there are more urgent issues to solve in the short term. Plus, I'd rather start from a core API that (at least in theory, makes this easier). Hence, postponed.
Comment #3
aclight commentedBumping version and setting back to active.
Comment #4
aclight commentedAdding 6.x-1.0 wishlist term.
@hass: I assume this is still a problem in the 6.x version of the module. If so, maybe you can provide insight into whether D6 makes this easier to fix, and/or a patch if it is relatively simple.
Comment #5
aclight commentedAdding 6.x-1.0 wishlist term.
@hass: I assume this is still a problem in the 6.x version of the module. If so, maybe you can provide insight into whether D6 makes this easier to fix, and/or a patch if it is relatively simple.