[Bugs] #1426 HIGH: lots of missing strings for spanish (probably for all other languages)
Sugar Labs Bugs
bugtracker-noreply at sugarlabs.org
Fri Sep 25 08:18:04 EDT 2009
#1426: lots of missing strings for spanish (probably for all other languages)
----------------------------+-----------------------------------------------
Reporter: rgs | Owner: walter
Type: defect | Status: new
Priority: High | Milestone: Unspecified by Release Team
Component: Turtleart | Version: Git as of bugdate
Severity: Major | Keywords:
Distribution: Unspecified | Status_field: Unconfirmed
----------------------------+-----------------------------------------------
Comment(by walter):
OK. I understand the problem. Internally, I use names without spaces. In
generating the labels, I use names with spaces. So the simple solution is
to use a dictionary.
<rgs__> walterbender: ping
<walterbender> rgs__: I am just looking over your patch re the
missing labels.
<walterbender> rgs__: I have a solution that requires no new
translations
-->| sdziallas (n=sebastia at fedora/sdziallas) has joined #sugar
<rgs__> walterbender: ok (morning).
<CIA-73> turtleart: clytie * r25d45e6c4411 /po/vi.po:
Commit from Sugar Labs: Translation System by user Clytie. 211 of 211
messages translated (0 fuzzy).
<walterbender> rgs__: the problem is, for example, internally, I
use pensize but the label (and POT) only know pen size, with a space.
<walterbender> rgs__: I'll use a dictionary to resolve the
difference
<walterbender> rgs__: good morning :)
<rgs__> walterbender: hmmm.. are you planning on a hack around?
<rgs__> walterbender: i've thought of that as well. I am just
worry that in the future we might miss something
<walterbender> rgs__: not really a hack... sort of what
dictionaries are for.
<rgs__> walterbender: but it is based on a assumption
<walterbender> rgs__: the problem is that variable names cannot
have spaces in them in Python
<rgs__> walterbender: that you always use a space
<rgs__> walterbender: well, as long as we dont loose that
consistency
<rgs__> walterbender: never mind, i am being paranoid. It will
work.
<walterbender> rgs__: I could add _ to the variable names and
then .replace with space.
<rgs__> walterbender: once you are done with it ping me and lets
talk about text wrapping. I am at a meeting so I have time to look at code
:)
<rgs__> walterbender: yeah, we just need a way to map to valid
keys
<walterbender> rgs__: the latter would perhaps be better, but it
is a much more invasive change
-->| ramoonas (n=ramoonas at 81-7-94-73.static.zebra.lt) has
joined #sugar
<walterbender> rgs__: also those names are what are stored in the
ta files so if we change them. we lose backward compatibility.
<walterbender> rgs__: so I think it has to be done with the
dictionary.
--
Ticket URL: <http://bugs.sugarlabs.org/ticket/1426#comment:2>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list