Quote from: IgorEliezer on September 11, 2010, 10:27:40 PM
I have a slight impression that transformers are not translatable. :/
rename "Aufspanntransformator" to "PowerSource"
rename "Abspanntransformator" to "PowerDest"
and translate this
- const char *get_name() const {return "Aufspanntransformator";}
+ const char *get_name() const {return translator::translate("PowerSource");}
The call to the translator is unnecessary here. The "Aufspanntransformator" name is already being passed to the translator for display in the info window title; The appropriate entry in the xx.tab file is simply missing...
- const char *get_name() const {return "Aufspanntransformator";}
+ const char *get_name() const {return "PowerSource";}
would be fine to change from a german to an english basis for the translator. Same for "PowerDest".
Quote from: TurfIt on September 18, 2010, 06:47:30 AM
...
- const char *get_name() const {return "Aufspanntransformator";}
+ const char *get_name() const {return "PowerSource";}
would be fine to change from a german to an english basis for the translator. Same for "PowerDest".
ops, sorry
ok, import to Translator
rename can later