Changeset 6673 in josm


Ignore:
Timestamp:
2014-01-11T21:09:49+01:00 (11 years ago)
Author:
simon04
Message:

see #9169 - Add i18n context to power preset strings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/defaultpresets.xml

    r6668 r6673  
    52065206            <key key="power" value="substation" />
    52075207            <text key="name" text="Name" />
    5208             <combo key="substation" text="Type of substation" values="transmission,distribution,converter,compensation,transition,traction,industrial" />
    5209             <combo key="location" text="Location" values="outdoor,indoor,underground,platform,kiosk" />
     5208            <combo key="substation" text="Type of substation" values="transmission,distribution,converter,compensation,transition,traction,industrial" values_context="power" />
     5209            <combo key="location" text="Location" values="outdoor,indoor,underground,platform,kiosk" values_context="power" />
    52105210            <combo key="voltage" text="Voltage in Volts (V)" values="1150000,765000,750000,735000,500000,450000,420000,400000,380000,350000,345000,330000,315000,300000,275000,238000,230000,225000,220000,200000,161000,154000,150000,138000,132000,120000,115000,110000,100000,90000,69000,66000,65000,63000,60000,55000,49000,45000,35000,33000,30000,20000,15000,high,medium,low,750000;200000,110000;20000" />
    52115211            <combo key="frequency" text="Frequency in Hertz (Hz)" values="0,16.67,16.7,50,60" length="5" />
     
    52245224            <space />
    52255225            <key key="power" value="transformer" />
    5226             <combo key="transformer" text="Type of transformer" values="distribution,generator,coverter,traction,auto,phase_angle_regulator,yes" match="key" />
    5227             <combo key="location" text="Location" values="outdoor,indoor,underground,platform,kiosk" />
     5226            <combo key="transformer" text="Type of transformer" values="distribution,generator,coverter,traction,auto,phase_angle_regulator,yes" match="key" values_context="power" />
     5227            <combo key="location" text="Location" values="outdoor,indoor,underground,platform,kiosk" values_context="power" />
    52285228            <combo key="voltage" text="Voltage in Volts (V)" values="1150000,765000,750000,735000,500000,450000,420000,400000,380000,350000,345000,330000,315000,300000,275000,238000,230000,225000,220000,200000,161000,154000,150000,138000,132000,120000,115000,110000,100000,90000,69000,66000,65000,63000,60000,55000,49000,45000,35000,33000,30000,20000,15000,high,medium,low,750000;200000,110000;20000" />
    52295229            <optional>
    52305230                <combo key="frequency" text="Frequency in Hertz (Hz)" values="0,16.67,16.7,50,60" length="5" />
    52315231                <combo key="phases" text="Phases" values="1,3" length="1" />
    5232                 <text key="rating" text="Power rating (kVA)" />
     5232                <text key="rating" text="Power rating (kVA)" values_context="power" />
    52335233            </optional>
    52345234        </item>
     
    52385238            <space />
    52395239            <key key="power" value="switchgear" />
    5240             <combo key="location" text="Location" values="outdoor,indoor,underground,platform,kiosk" />
     5240            <combo key="location" text="Location" values="outdoor,indoor,underground,platform,kiosk" values_context="power" />
    52415241            <combo key="voltage" text="Voltage in Volts (V)" values="1150000,765000,750000,735000,500000,450000,420000,400000,380000,350000,345000,330000,315000,300000,275000,238000,230000,225000,220000,200000,161000,154000,150000,138000,132000,120000,115000,110000,100000,90000,69000,66000,65000,63000,60000,55000,49000,45000,35000,33000,30000,20000,15000,high,medium,low,750000;200000,110000;20000" />
    52425242            <optional>
Note: See TracChangeset for help on using the changeset viewer.