the meaning of the 4th entry in the list of weights

Dirk Hohndel dirk at hohndel.org
Thu Oct 18 19:43:47 PDT 2012


Dirk Hohndel <dirk at hohndel.org> writes:

> On Oct 18, 2012, at 3:09 PM, Lubomir I. Ivanov wrote:
>
>> the weight system combobox has the following definitions in equipment.c:
>> 
>> 	{ N_("integrated"), 0 },
>> 	{ N_("belt"), 0 },
>> 	{ N_("ankle"), 0 },
>> 	{ N_("bar"), 0 },
>> 	{ N_("clip-on"), 0 },
>> 
>> i'm focusing mostly on the 4th one which is "bar" and there is a
>> pressure unit with the same name (homonyms?).
>> by a fairly distant assumption i think this is some sort of a metal
>> bar (as a rod, stick).
>
> Yep. When diving with twin tanks the typical way to achieve neutral buoyancy is to add a metal bar to the back plate - especially when diving in a dry-suit.
>
>> the problem is that i've translated that in bg_BG to "прът" (rod), but
>> i'm now seeing that the profile is using this instead of the unit bar:
>> 
>> as in:
>> #: dive.c:45 equipment.c:825
>> msgid "bar"
>> msgstr "прът"
>> 
>> is it possible to have the same msgid but have two different translations.
>> if not perhaps:
>> 	{ N_("bar"), 0 },
>> should be renamed to:
>> 	{ N_("metal bar"), 0 },
>> 
>> i'm not sure what is the correct solution here.
>
> No, the correct solution is to once again use the context mechanism, as we do for the yearly statistics.
> And as in that case, that prevents us from doing simple static initializers for the variables. Yuck.

While I was right about the correct solution, I decided to punt and
switch this to "backplate weight" instead. It's the lazy way out - and
it is the term I found most frequently on scuba sites.

So there is a new term to translate. Sorry, guys.

/D


More information about the subsurface mailing list