Skip to content

Commit

Permalink
4.0.0 Mi Band 4 support
Browse files Browse the repository at this point in the history
  • Loading branch information
tibor-borsos-developments committed Jul 8, 2019
1 parent edf2bd4 commit 6a8a770
Show file tree
Hide file tree
Showing 37 changed files with 1,023 additions and 909 deletions.
80 changes: 32 additions & 48 deletions cs/arrays.xml
Original file line number Diff line number Diff line change
Expand Up @@ -187,12 +187,20 @@
<item>Dlouhý stisk</item>
</string-array>

<string-array name="touch_recognition_press_amazfit_cor">
<string-array name="touch_recognition_press_mi_band_4">
<item>Žádný</item>
<item>Červené tlačítko</item>
<item>Tlačítko ztlumení</item>
<item>Dvojitý stisk</item>
<item>Trojitý stisk</item>
<item>Tlačítko odmítnout</item>
</string-array>

<string-array name="touch_recognition_press_amazfit_cor">
<item>Žádný</item>
<item>Zelené tlačítko</item>
<item>Dvojitý stisk</item>
<item>Trojitý stisk</item>
<item>Červené tlačítko</item>
</string-array>

<string-array name="pref_touch_detection_method">
Expand Down Expand Up @@ -303,28 +311,28 @@
<item>عربى</item>
</string-array>

<string-array name="pref_language_mi_band_3_values">
<item></item>
<item>DEFAULT</item>
<item>en_US</item>
<item>es_ES</item>
<item>pt_PT</item>
<item>ru_RU</item>
<item>uk_UA</item>
<item>de_DE</item>
<item>it_IT</item>
<item>fr_FR</item>
<item>pl_PL</item>
<item>nl_NL</item>
<item>tr_TR</item>
<item>id_ID</item>
<item>ko_KO</item>
<item>vi_VN</item>
<item>th_TH</item>
<item>zh_CN</item>
<item>zh_TW</item>
<item>ja_JP</item>
<item>ar_SA</item>
<string-array name="pref_language_mi_band_4">
<item>Not set (set by Mi Fit)</item>
<item>Výchozí nastavení (telefonicky)</item>
<item>English</item>
<item>Español</item>
<item>Português</item>
<item>Русский</item>
<item>Українська</item>
<item>Deutsche</item>
<item>Italiano</item>
<item>Français</item>
<item>Polski</item>
<item>Nederlands</item>
<item>Türk</item>
<item>Bahasa Indonesia</item>
<item>한국어</item>
<item>Tiếng Việt</item>
<item>ไทย</item>
<item>简体中文</item>
<item>繁體中文</item>
<item>日本語</item>
<item>عربى</item>
</string-array>

<string-array name="pref_language_amazfit_bip_watch">
Expand All @@ -341,20 +349,6 @@
<item>简体中文</item>
</string-array>

<string-array name="pref_language_amazfit_bip_watch_values">
<item></item>
<item>DEFAULT</item>
<item>en_US</item>
<item>es_ES</item>
<item>ru_RU</item>
<item>it_IT</item>
<item>de_DE</item>
<item>fr_FR</item>
<item>tr_TR</item>
<item>zh_TW</item>
<item>zh_CN</item>
</string-array>

<string-array name="pref_language_amazfit_cor">
<item>Not set (set by Mi Fit)</item>
<item>Výchozí nastavení (telefonicky)</item>
Expand All @@ -365,14 +359,4 @@
<item>简体中文</item>
</string-array>

<string-array name="pref_language_amazfit_cor_values">
<item></item>
<item>DEFAULT</item>
<item>en_US</item>
<item>es_ES</item>
<item>ru_RU</item>
<item>zh_TW</item>
<item>zh_CN</item>
</string-array>

</resources>
24 changes: 21 additions & 3 deletions cs/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,8 @@

<string name="message_touch_no_patterns">Stiskněte jedno z červených záznamových tlačítek</string>
<string name="message_touch_record">Zaznamenejte vzorer pomocí dotykového tlačítka %1$s</string> <!-- %1$s = Mi Band 2, Amazfit Bip ... -->
<string name="message_touch_record_music_screen">Record the pattern using the %1$s music screen</string> <!-- %1$s = Mi Band 4 -->
<string name="message_touch_record_pulse_screen">Record the pattern using the %1$s pulse screen</string> <!-- %1$s = Mi Band 3, Amazfit Cor ... -->
<string name="message_touch_pattern_error">Zadaný vzorec je podobný vzorci jiné funkce, zaznamenejte jinou</string>
<string name="message_touch_free_patterns">V normálním režimu lze použít až %1$,d funkce</string>
<string name="message_touch_music_player_not_found">Hudební přehrávač nebyl nalezen</string>
Expand All @@ -309,6 +311,7 @@
<string name="message_alarm_mi_band_clear_failed">Odstranění budíku selhalo</string>

<string name="message_premium_mode_only">Tato funkce je k dispozici pouze v prémiovém režimu</string>
<string name="message_feature_is_not_supported">%1$s does not support this feature</string>
<string name="message_general_error">Nastavení se nezdařilo (spojení bylo ztraceno), zkuste to znovu</string>
<string name="message_internet_error">Nemáte připojení k internetu</string>
<string name="message_gps_enable">Enable the GPS</string>
Expand All @@ -321,6 +324,7 @@
<!-- Dialog -->
<string name="dialog_welcome_title">Vítejte!</string>
<string name="dialog_welcome_message"><![CDATA[Podporovaná zařízení:
<br>- <b>Xiaomi Mi Band 4</b>
<br>- <b>Xiaomi Mi Band 3</b>
<br>- <b>Xiaomi Mi Band 2</b>
<br>- <b>Xiaomi Mi Band HRX</b>
Expand Down Expand Up @@ -544,6 +548,9 @@
<string name="touch_testing_title">Záznam dotyku</string>
<string name="touch_testing_second">sek.</string>

<string name="touch_setting_detection_time_title">Touch detection time</string>
<string name="touch_setting_detection_time_hint">If you have a lower value, the music screen should be closed faster</string>

<string name="touch_setting_detection_method_title">Metoda detekce dotyku</string>

<string name="touch_setting_recognition_start_title">Spusťte rozpoznání dotyku</string>
Expand Down Expand Up @@ -584,9 +591,9 @@
<amazfit_band_2><p>On the bracelet, start the pulse measurement function (Status) and then interrupt the measurement (swipe right) after 1 second.</p></amazfit_band_2>
<p>It must be turn off during continuous, online pulse measurement and exercise.<p>
<img src="ic_touch_find"> Find phone
<mi_band_3><p>On the bracelet, in the Find device function (More/Find device) start the measurement (long touch).</p></mi_band_3>
<amazfit_cor><p>On the bracelet, in the Find phone function (Settings/Find phone) start the measurement.</p></amazfit_cor>
<amazfit_band_2>On the bracelet, in the Find phone function (Settings/Find phone) start the measurement.</p></amazfit_band_2>
<mi_band_3><p>On the bracelet, in the Find device function (More/Find device) start the finding (long touch).</p></mi_band_3>
<amazfit_cor><p>On the bracelet, in the Find phone function (Settings/Find phone) start the finding.</p></amazfit_cor>
<amazfit_band_2>On the bracelet, in the Find phone function (Settings/Find phone) start the finding.</p></amazfit_band_2>
<img src="ic_touch_find_off"> Interrupt phone finding
<mi_band_3><p>On the bracelet, in the Find device function (More/Find device) interrupt the finding (one touch).</p></mi_band_3>
<amazfit_cor><p>On the bracelet, in the Find phone function (Settings/Find phone) interrupt the finding (swipe right).</p></amazfit_cor>
Expand All @@ -607,6 +614,17 @@
<p>Band vibrates twice, when not recognise any pattern after the longest pattern (if <i>Not recognisable touch pattern signal</i> is set).</p>
]]></string>

<string name="info_dialog_touch_mi_band_4"><![CDATA[
<img src="ic_play_circle_outline"> <b><u>Music screen mod</u></b>
<p>On the bracelet, open the music screen (swipe left or right), then close the screen.</p>
<img src="ic_call"> <b><u>Call control</b></u>
<p>It always works, even if the touch monitor is switched off.</p>
<br><p>In test mode does not execute the function of recognised pattern.</p>
<p>Band vibration feedback just only, if there is a pattern taking into account the current status of the phone (call answering, rejecting only if there is an incoming call…).</p>
<p>Band vibrates once, when recognise a pattern.</p>
<p>Band vibrates twice, when not recognise any pattern after the longest pattern (if <i>Not recognisable touch pattern signal</i> is set).</p>
]]></string>

<!-- Step monitoring -->
<string name="action_tracker_step">Kroky</string>
<string name="action_tracker_distance">Vzdálenost</string>
Expand Down
79 changes: 32 additions & 47 deletions de/arrays.xml
Original file line number Diff line number Diff line change
Expand Up @@ -181,12 +181,20 @@
<item>Long touch</item>
</string-array>

<string-array name="touch_recognition_press_amazfit_cor">
<string-array name="touch_recognition_press_mi_band_4">
<item>Keiner</item>
<item>Roter Knopf</item>
<item>Stummschalttaste</item>
<item>Doppelt touch</item>
<item>Diskant touch</item>
<item>Schlüssel ablehnen</item>
</string-array>

<string-array name="touch_recognition_press_amazfit_cor">
<item>Keiner</item>
<item>Grüner Knopf</item>
<item>Doppelt touch</item>
<item>Diskant touch</item>
<item>Roter Knopf</item>
</string-array>

<string-array name="pref_touch_detection_method">
Expand Down Expand Up @@ -297,28 +305,28 @@
<item>عربى</item>
</string-array>

<string-array name="pref_language_mi_band_3_values">
<item></item>
<item>DEFAULT</item>
<item>en_US</item>
<item>es_ES</item>
<item>pt_PT</item>
<item>ru_RU</item>
<item>uk_UA</item>
<item>de_DE</item>
<item>it_IT</item>
<item>fr_FR</item>
<item>pl_PL</item>
<item>nl_NL</item>
<item>tr_TR</item>
<item>id_ID</item>
<item>ko_KO</item>
<item>vi_VN</item>
<item>th_TH</item>
<item>zh_CN</item>
<item>zh_TW</item>
<item>ja_JP</item>
<item>ar_SA</item>
<string-array name="pref_language_mi_band_4">
<item>Not set (set by Mi Fit)</item>
<item>Default (telefon)</item>
<item>English</item>
<item>Español</item>
<item>Português</item>
<item>Русский</item>
<item>Українська</item>
<item>Deutsche</item>
<item>Italiano</item>
<item>Français</item>
<item>Polski</item>
<item>Nederlands</item>
<item>Türk</item>
<item>Bahasa Indonesia</item>
<item>한국어</item>
<item>Tiếng Việt</item>
<item>ไทย</item>
<item>简体中文</item>
<item>繁體中文</item>
<item>日本語</item>
<item>عربى</item>
</string-array>

<string-array name="pref_language_amazfit_bip_watch">
Expand All @@ -335,20 +343,6 @@
<item>简体中文</item>
</string-array>

<string-array name="pref_language_amazfit_bip_watch_values">
<item></item>
<item>DEFAULT</item>
<item>en_US</item>
<item>es_ES</item>
<item>ru_RU</item>
<item>it_IT</item>
<item>de_DE</item>
<item>fr_FR</item>
<item>tr_TR</item>
<item>zh_TW</item>
<item>zh_CN</item>
</string-array>

<string-array name="pref_language_amazfit_cor">
<item>Not set (set by Mi Fit)</item>
<item>Default (telefon)</item>
Expand All @@ -359,13 +353,4 @@
<item>简体中文</item>
</string-array>

<string-array name="pref_language_amazfit_cor_values">
<item></item>
<item>DEFAULT</item>
<item>en_US</item>
<item>es_ES</item>
<item>ru_RU</item>
<item>zh_TW</item>
<item>zh_CN</item>
</string-array>
</resources>
24 changes: 21 additions & 3 deletions de/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,8 @@

<string name="message_touch_no_patterns">Drücken Sie einen der roten Aufnahme-Buttons</string>
<string name="message_touch_record">Zeichnen Sie das Muster mithilfe des Berührungssensors des %1$s auf.</string> <!-- %1$s = Mi Band 2, Amazfit Bip ... -->
<string name="message_touch_record_music_screen">Record the pattern using the %1$s music screen</string> <!-- %1$s = Mi Band 4 -->
<string name="message_touch_record_pulse_screen">Record the pattern using the %1$s pulse screen</string> <!-- %1$s = Mi Band 3, Amazfit Cor ... -->
<string name="message_touch_pattern_error">Dieses Muster ähnelt zu sehr einem einer anderen Funktion, bitte zeichnen Sie ein anderes auf.</string>
<string name="message_touch_free_patterns">Bis zu %1$,d Funktionen können im normalen Modus verwndet werden.</string>
<string name="message_touch_music_player_not_found">Musikplayer nicht gefunden</string>
Expand All @@ -309,6 +311,7 @@
<string name="message_alarm_mi_band_clear_failed">Löschen des Weckers fehlgeschlagen</string>

<string name="message_premium_mode_only">Dieses Feature ist nur im Premium-Modus verfügbar.</string>
<string name="message_feature_is_not_supported">%1$s does not support this feature</string>
<string name="message_general_error">Einstellen fehlgeschlagen (Verbindung unterbrochen), versuchen Sie es erneut.</string>
<string name="message_internet_error">Sie haben keine Internetverbindung</string>
<string name="message_gps_enable">Aktiviere das GPS</string>
Expand All @@ -321,6 +324,7 @@
<!-- Dialog -->
<string name="dialog_welcome_title">Herzlich willkommen!</string>
<string name="dialog_welcome_message"><![CDATA[Unterstützte Geräte:
<br>- <b>Xiaomi Mi Band 4</b>
<br>- <b>Xiaomi Mi Band 3</b>
<br>- <b>Xiaomi Mi Band 2</b>
<br>- <b>Xiaomi Mi Band HRX</b>
Expand Down Expand Up @@ -545,6 +549,9 @@
<string name="touch_testing_title">Beobachtung des Berührungsssensors</string>
<string name="touch_testing_second">Sek.</string>

<string name="touch_setting_detection_time_title">Touch detection time</string>
<string name="touch_setting_detection_time_hint">If you have a lower value, the music screen should be closed faster</string>

<string name="touch_setting_detection_method_title">Touch detection method</string>

<string name="touch_setting_recognition_start_title">Start touch recognition</string>
Expand Down Expand Up @@ -585,9 +592,9 @@
<amazfit_band_2><p>On the bracelet, start the pulse measurement function (Status) and then interrupt the measurement (swipe right) after 1 second.</p></amazfit_band_2>
<p>It must be turn off during continuous, online pulse measurement and exercise.<p>
<img src="ic_touch_find"> Find phone
<mi_band_3><p>On the bracelet, in the Find device function (More/Find device) start the measurement (long touch).</p></mi_band_3>
<amazfit_cor><p>On the bracelet, in the Find phone function (Settings/Find phone) start the measurement.</p></amazfit_cor>
<amazfit_band_2>On the bracelet, in the Find phone function (Settings/Find phone) start the measurement.</p></amazfit_band_2>
<mi_band_3><p>On the bracelet, in the Find device function (More/Find device) start the finding (long touch).</p></mi_band_3>
<amazfit_cor><p>On the bracelet, in the Find phone function (Settings/Find phone) start the finding.</p></amazfit_cor>
<amazfit_band_2>On the bracelet, in the Find phone function (Settings/Find phone) start the finding.</p></amazfit_band_2>
<img src="ic_touch_find_off"> Interrupt phone finding
<mi_band_3><p>On the bracelet, in the Find device function (More/Find device) interrupt the finding (one touch).</p></mi_band_3>
<amazfit_cor><p>On the bracelet, in the Find phone function (Settings/Find phone) interrupt the finding (swipe right).</p></amazfit_cor>
Expand All @@ -608,6 +615,17 @@
<p>Band vibrates twice, when not recognise any pattern after the longest pattern (if <i>Not recognisable touch pattern signal</i> is set).</p>
]]></string>

<string name="info_dialog_touch_mi_band_4"><![CDATA[
<img src="ic_play_circle_outline"> <b><u>Music screen mod</u></b>
<p>On the bracelet, open the music screen (swipe left or right), then close the screen.</p>
<img src="ic_call"> <b><u>Call control</b></u>
<p>It always works, even if the touch monitor is switched off.</p>
<br><p>In test mode does not execute the function of recognised pattern.</p>
<p>Band vibration feedback just only, if there is a pattern taking into account the current status of the phone (call answering, rejecting only if there is an incoming call…).</p>
<p>Band vibrates once, when recognise a pattern.</p>
<p>Band vibrates twice, when not recognise any pattern after the longest pattern (if <i>Not recognisable touch pattern signal</i> is set).</p>
]]></string>

<!-- Step monitoring -->
<string name="action_tracker_step">Schritte</string>
<string name="action_tracker_distance">Distanz</string>
Expand Down
Loading

0 comments on commit 6a8a770

Please sign in to comment.