data.js 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  1. import { extendLocale } from "../lib/i18n";
  2. extendLocale({
  3. qs_apps: {
  4. "en-US": "Apps manager",
  5. "zh-CN": "应用管理器",
  6. "zh-TW": "應用管理器",
  7. "ru-RU": "Упр. приложениями",
  8. "de-DE": "Apps Manager"
  9. },
  10. qs_files: {
  11. "en-US": "File manager",
  12. "zh-CN": "文件管理器",
  13. "zh-TW": "檔案管理器",
  14. "ru-RU": "Файловый менеджер",
  15. "de-DE": "Dateimanager"
  16. },
  17. qs_storage: {
  18. "en-US": "Disk usage",
  19. "zh-CN": "磁盘使用情况",
  20. "zh-TW": "儲存空間",
  21. "ru-RU": "Память",
  22. "de-DE": "Speichernutzung"
  23. },
  24. qs_dnd: {
  25. "en-US": "DND settings",
  26. "zh-CN": "请勿打扰",
  27. "zh-TW": "勿擾",
  28. "ru-RU": "Не беспокоить",
  29. "de-DE": "BNS Einstellungen"
  30. },
  31. qs_flashlight: {
  32. "en-US": "Flashlight app",
  33. "zh-CN": "手电筒",
  34. "zh-TW": "手電筒",
  35. "ru-RU": "Фонарик",
  36. "de-DE": "Blitzlicht App"
  37. },
  38. qs_camera: {
  39. "en-US": "Camera app",
  40. "zh-CN": "相机",
  41. "zh-TW": "遙控拍照",
  42. "ru-RU": "Камера",
  43. "de-DE": "Kamera App"
  44. },
  45. qs_settings: {
  46. "en-US": "Settings app",
  47. "zh-CN": "设置应用",
  48. "zh-TW": "手環設定",
  49. "ru-RU": "Настройки",
  50. "de-DE": "Einstellungen App"
  51. },
  52. qs_brightness_btn: {
  53. "en-US": "Brightness",
  54. "zh-CN": "亮度",
  55. "zh-TW": "亮度",
  56. "ru-RU": "Яркость",
  57. "de-DE": "Helligkeit"
  58. },
  59. qs_aod: {
  60. "en-US": "AOD",
  61. "zh-CN": "AOD",
  62. "zh-TW": "AOD",
  63. "ru-RU": "AOD",
  64. "de-DE": "AOD"
  65. },
  66. qs_powersave: {
  67. "en-US": "Powersave",
  68. "zh-CN": "节能",
  69. "zh-TW": "省電模式",
  70. "ru-RU": "Энергосбережение",
  71. "de-DE": "Energiesparen"
  72. },
  73. qs_system: {
  74. "en-US": "System settings",
  75. "zh-CN": "系统设置",
  76. "zh-TW": "系統設定",
  77. "ru-RU": "Настройки системы",
  78. "de-DE": "Systemeinstellungen"
  79. },
  80. qs_applistsort: {
  81. "en-US": "App list sort",
  82. "zh-CN": "应用列表设置",
  83. "zh-TW": "應用列表設定",
  84. "ru-RU": "Настр. меню приложений",
  85. "de-DE": "Apps sortieren"
  86. },
  87. qs_poweroff: {
  88. "en-US": "Power off",
  89. "zh-CN": "关机",
  90. "zh-TW": "關機",
  91. "ru-RU": "Выключить",
  92. "de-DE": "Ausschalten"
  93. },
  94. qs_reboot: {
  95. "en-US": "Reboot",
  96. "zh-CN": "重启",
  97. "zh-TW": "重啟",
  98. "ru-RU": "Перезагрузить",
  99. "de-DE": "Neustart"
  100. },
  101. qs_timer: {
  102. "en-US": "Background timer",
  103. "zh-CN": "后台定时器",
  104. "zh-TW": "後台計時器",
  105. "ru-RU": "Фоновый таймер",
  106. "de-DE": "Hintergrund Timer"
  107. },
  108. qs_wake_on_wrist: {
  109. "en-US": "Wake on Wrist",
  110. "zh-CN": "唤醒手腕",
  111. "zh-TW": "喚醒手腕",
  112. "ru-RU": "Пробуждение при повороте",
  113. "de-DE": "Aufwachen am Handgelenk"
  114. }
  115. });
  116. export const DEFAULT_SETTINGS = {
  117. tiles: [
  118. "apps",
  119. "files",
  120. "storage",
  121. "timer",
  122. "dnd",
  123. "camera"
  124. ],
  125. withBrightness: true,
  126. withBattery: false
  127. };
  128. export const QS_BUTTONS = {
  129. apps: {
  130. url: "page/AppListScreen",
  131. type: "internal",
  132. },
  133. files: {
  134. url: "page/FileManagerScreen",
  135. type: "internal",
  136. },
  137. storage: {
  138. url: "page/StorageInfoScreen",
  139. type: "internal",
  140. },
  141. timer: {
  142. url: "page/TimerSetScreen",
  143. type: "internal",
  144. },
  145. dnd: {
  146. url: "Settings_dndModelScreen",
  147. type: "native",
  148. },
  149. flashlight: {
  150. url: "FlashLightScreen",
  151. type: "native",
  152. },
  153. camera: {
  154. url: "HidcameraScreen",
  155. type: "native",
  156. },
  157. settings: {
  158. url: "Settings_homeScreen",
  159. type: "native",
  160. },
  161. brightness_btn: {
  162. url: "Settings_lightAdjustScreen",
  163. type: "native",
  164. },
  165. aod: {
  166. url: "Settings_standbyModelScreen",
  167. type: "native",
  168. },
  169. powersave: {
  170. url: "LowBatteryScreen",
  171. type: "native",
  172. },
  173. system: {
  174. url: "Settings_systemScreen",
  175. type: "native",
  176. },
  177. applistsort: {
  178. url: "Settings_applistSortScreen",
  179. type: "native",
  180. },
  181. poweroff: {
  182. url: "HmReStartScreen",
  183. type: "native",
  184. },
  185. reboot: {
  186. url: "page/RebootConfirmScreen",
  187. type: "internal",
  188. },
  189. wake_on_wrist: {
  190. url: "Settings_wristHomeScreen",
  191. type: "native",
  192. },
  193. };