xbmc-11.0-default-locale.patch 2.0 KB

12345678910111213141516171819202122232425262728293031323334
  1. diff -uNr xbmc-11.0.orig/xbmc/settings/GUISettings.cpp xbmc-11.0/xbmc/settings/GUISettings.cpp
  2. --- xbmc-11.0.orig/xbmc/settings/GUISettings.cpp 2012-03-22 07:07:50.000000000 +0900
  3. +++ xbmc-11.0/xbmc/settings/GUISettings.cpp 2012-03-27 21:07:42.409705313 +0900
  4. @@ -805,7 +805,7 @@
  5. AddDefaultAddon(laf, "lookandfeel.skin",166,DEFAULT_SKIN, ADDON_SKIN);
  6. AddString(laf, "lookandfeel.skintheme",15111,"SKINDEFAULT", SPIN_CONTROL_TEXT);
  7. AddString(laf, "lookandfeel.skincolors",14078, "SKINDEFAULT", SPIN_CONTROL_TEXT);
  8. - AddString(laf, "lookandfeel.font",13303,"Default", SPIN_CONTROL_TEXT);
  9. + AddString(laf, "lookandfeel.font",13303,"Arial", SPIN_CONTROL_TEXT);
  10. AddInt(laf, "lookandfeel.skinzoom",20109, 0, -20, 2, 20, SPIN_CONTROL_INT, MASK_PERCENT);
  11. AddInt(laf, "lookandfeel.startupwindow",512,1, WINDOW_HOME, 1, WINDOW_PYTHON_END, SPIN_CONTROL_TEXT);
  12. AddString(laf, "lookandfeel.soundskin",15108,"SKINDEFAULT", SPIN_CONTROL_TEXT);
  13. @@ -814,8 +814,8 @@
  14. AddString(laf, "lookandfeel.rssedit", 21450, "", BUTTON_CONTROL_STANDARD);
  15. CSettingsCategory* loc = AddCategory(7, "locale", 14090);
  16. - AddString(loc, "locale.language",248,"english", SPIN_CONTROL_TEXT);
  17. - AddString(loc, "locale.country", 20026, "USA", SPIN_CONTROL_TEXT);
  18. + AddString(loc, "locale.language",248,"Japanese", SPIN_CONTROL_TEXT);
  19. + AddString(loc, "locale.country", 20026, "Japan", SPIN_CONTROL_TEXT);
  20. AddString(loc, "locale.charset", 14091, "DEFAULT", SPIN_CONTROL_TEXT); // charset is set by the language file
  21. bool use_timezone = false;
  22. @@ -829,8 +829,8 @@
  23. if (use_timezone)
  24. {
  25. AddSeparator(loc, "locale.sep1");
  26. - AddString(loc, "locale.timezonecountry", 14079, g_timezone.GetCountryByTimezone(g_timezone.GetOSConfiguredTimezone()), SPIN_CONTROL_TEXT);
  27. - AddString(loc, "locale.timezone", 14080, g_timezone.GetOSConfiguredTimezone(), SPIN_CONTROL_TEXT);
  28. + AddString(loc, "locale.timezonecountry", 14079, "Japan", SPIN_CONTROL_TEXT);
  29. + AddString(loc, "locale.timezone", 14080, "Asia/Tokyo", SPIN_CONTROL_TEXT);
  30. }
  31. #endif
  32. #ifdef HAS_TIME_SERVER