source: projects/specs/trunk/nonfree/self-build-xbmc/xbmc-13.1-default-locale.patch @ 8579

Revision 8579, 2.6 KB checked in by shaolin, 7 years ago (diff)
  • self-build-xbmc: new upstream release; drop lsb dependency
  • xbmc-Gotham/system/settings/settings.xml

    old new  
    4242        </setting> 
    4343        <setting id="lookandfeel.font" type="string" parent="lookandfeel.skin" label="13303" help="36107"> 
    4444          <level>1</level> 
    45           <default>Default</default> 
     45          <default>Arial</default> 
    4646          <constraints> 
    4747            <options>skinfonts</options> 
    4848          </constraints> 
     
    114114      <group id="1"> 
    115115        <setting id="locale.language" type="string" label="248" help="36114"> 
    116116          <level>0</level> 
    117           <default>English</default> 
     117          <default>Japanese</default> 
    118118          <constraints> 
    119119            <options>languages</options> 
    120120          </constraints> 
     
    122122        </setting> 
    123123        <setting id="locale.country" type="string" label="20026" help="36115"> 
    124124          <level>0</level> 
    125           <default>USA (12h)</default> 
     125          <default>Japan</default> 
    126126          <constraints> 
    127127            <options>regions</options> 
    128128          </constraints> 
     
    146146      <group id="2"> 
    147147        <setting id="locale.timezonecountry" type="string" label="14079" help="36117"> 
    148148          <level>1</level> 
    149           <default>default</default> <!-- will be properly set on startup --> 
     149          <default>Japan</default> <!-- will be properly set on startup --> 
    150150          <constraints> 
    151151            <options>timezonecountries</options> 
    152152          </constraints> 
     
    154154        </setting> 
    155155        <setting id="locale.timezone" type="string" label="14080" help="36118"> 
    156156          <level>1</level> 
    157           <default>default</default> <!-- will be properly set on startup --> 
     157          <default>Asia/Tokyo</default> <!-- will be properly set on startup --> 
    158158          <constraints> 
    159159            <options>timezones</options> 
    160160          </constraints> 
  • xbmc-Gotham/xbmc/settings/Settings.cpp

    old new  
    777777  CSettingString* timezone = (CSettingString*)m_settingsManager->GetSetting("locale.timezone"); 
    778778 
    779779  if (timezonecountry->IsVisible()) 
    780     timezonecountry->SetDefault(g_timezone.GetCountryByTimezone(g_timezone.GetOSConfiguredTimezone())); 
     780    timezonecountry->SetDefault("Japan"); 
    781781  if (timezone->IsVisible()) 
    782     timezone->SetDefault(g_timezone.GetOSConfiguredTimezone()); 
     782    timezone->SetDefault("Asia/Tokyo"); 
    783783#endif // defined(TARGET_POSIX) 
    784784 
    785785#if defined(TARGET_WINDOWS) 
Note: See TracBrowser for help on using the repository browser.