Skip to content

Commit

Permalink
add British English, traditional chinese
Browse files Browse the repository at this point in the history
  • Loading branch information
westnordost committed Jan 11, 2023
1 parent d00b91d commit d4116ba
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 7 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ android {
applicationId = "de.westnordost.streetmeasure"
minSdk = 24
targetSdk = 33
versionCode = 1
versionName = "1.0"
versionCode = 2
versionName = "1.1"
}

buildTypes {
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/res/values-de/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
<string name="no_camera_permission_toast">"Keine Kamera-Berechtigung"</string>
<string name="ar_core_tracking_hint_tap_to_measure">"Beginne mit dem Messen per Tipp auf den Bildschirm"</string>
<string name="measure_info_title">"Optimale Genauigkeit erreichen"</string>
<string name="measure_info_html_description">"&lt;p&gt;ARCore geht manchmal (anfangs) davon aus, dass der Boden etwas niedriger oder höher ist als in der Realität. Dadurch entsteht ein Messfehler, der umso größer wird, je mehr Du das Telefon in Richtung Horizont neigst.&lt;/p&gt;
<string name="measure_info_html_description">"&lt;p&gt;ARCore geht manchmal (anfangs) davon aus, dass der Boden etwas niedriger oder höher ist als in der Realität. Dadurch entsteht ein Messfehler, der umso größer wird, je mehr du das Telefon in Richtung Horizont neigst.&lt;/p&gt;
&lt;p&gt;Setze den Start- und Endpunkt einfach während das Telefon gerade nach unten zeigt (also so dass der weiße Pfeil von oben zu sehen ist), um dieses Problem bei horizontalen Messungen komplett zu umgehen.&lt;/p&gt;
&lt;p&gt;Für vertikale Messungen musst Du den Startpunkt stattdessen aus verschiedenen Richtungen betrachten, um sicherzustellen, dass er sich nicht relativ zum Boden verschiebt.&lt;/p&gt;"</string>
&lt;p&gt;Für vertikale Messungen musst du den Startpunkt stattdessen aus verschiedenen Richtungen betrachten, um sicherzustellen, dass er sich nicht relativ zum Boden verschiebt.&lt;/p&gt;"</string>
<string name="privacy_html_arcore">"Diese App nutzt die von Google bereitgestellten &lt;a href=\"https://play.google.com/store/apps/details?id=com.google.ar.core\"&gt;Google Play Services for AR&lt;/a&gt; (ARCore) welche den &lt;a href=\"https://policies.google.com/privacy\"&gt;Google-Datenschutzrichtlinien&lt;/a&gt; unterliegen."</string>
</resources>
21 changes: 21 additions & 0 deletions app/src/main/res/values-en-rGB/strings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="about_title_privacy_statement">"Privacy statement"</string>
<string name="no_camera_permission_warning_title">"Camera permission"</string>
<string name="no_camera_permission_warning">"The permission is required to take photos and measure distances with the camera."</string>
<string name="ar_core_error_sdk_too_old">"This app is too old, try updating."</string>
<string name="ar_core_tracking_error_bad_state">"Something went wrong. Try restarting the measuring."</string>
<string name="ar_core_tracking_error_insufficient_light">"Too dark here"</string>
<string name="ar_core_tracking_error_excessive_motion">"Too much movement"</string>
<string name="ar_core_tracking_error_insufficient_features">"Insufficient visual features here"</string>
<string name="ar_core_tracking_error_camera_unavailable">"Camera is used by another app"</string>
<string name="ar_core_tracking_error_too_steep_angle">"Too steep of an angle, step away a bit"</string>
<string name="ar_core_tracking_error_no_plane_hit">"Keep closer to the arrow but watch out for traffic!"</string>
<string name="no_camera_permission_toast">"No camera permission"</string>
<string name="ar_core_tracking_hint_tap_to_measure">"Tap screen to start measuring"</string>
<string name="measure_info_title">"Achieving optimal precision"</string>
<string name="measure_info_html_description">"&lt;p&gt;ARCore sometimes (initially) presumes the ground to be a bit lower or higher than it actually is. This introduces a measurement error that gets larger the more you tilt your phone towards the horizon.&lt;/p&gt;
&lt;p&gt;Set each the start- and endpoint while pointing the phone straight down (so that you see the white arrow from above) to completely avoid this issue for horizontal measurements.&lt;/p&gt;
&lt;p&gt;For vertical measurements, you need to instead check that the startpoint does not seem to move in relation to the ground by looking at it from different directions.&lt;/p&gt;"</string>
<string name="privacy_html_arcore">"This application runs on &lt;a href=\"https://play.google.com/store/apps/details?id=com.google.ar.core\"&gt;Google Play Services for AR&lt;/a&gt; (ARCore), which is provided by Google and governed by the &lt;a href=\"https://policies.google.com/privacy\"&gt;Google Privacy Policy&lt;/a&gt;."</string>
</resources>
6 changes: 3 additions & 3 deletions app/src/main/res/values-it/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
<string name="no_camera_permission_toast">"Accesso alla fotocamera mancante"</string>
<string name="ar_core_tracking_hint_tap_to_measure">"Premi lo schermo per iniziare a misurare"</string>
<string name="measure_info_title">"Cerco la precisione ottimale"</string>
<string name="measure_info_html_description">"&lt;p&gt;ARCore alle volte (inizialmente) presuppone che il terreno sia un po' più in basso o un po' più in alto di quanto non sia realmente. Questo introduce un errore di misurazione che aumenta alzando il telefono verso l'orizzonte.&lt;/p&gt;
&lt;p&gt;Imposta i punti di inizio e fine misurazione mentre hai il telefono verso terra (in modo da vedere la freccia bianca da sopra) per evitare questo errore nelle misure orizzontali.&lt;/p&gt;
&lt;p&gt;Per le misurazioni verticali, devi fare attenzione che il punto d'inizio non sia parallaxo al terreno guardandolo da angolazioni differenti.&lt;/p&gt;"</string>
<string name="measure_info_html_description">"&lt;p&gt;ARCore talvolta rileva (inizialmente) il terreno ad una distanza leggermente maggiore o minore di quella reale, introducendo così un errore di misurazione il quale aumenta man mano che si ruota il telefono verso l'orizzonte.&lt;/p&gt;
&lt;p&gt;Per evitare questo tipo di errori nelle misurazioni orizzontali, imposta i punti di inizio e fine con il telefono rivolto esattamente verso il basso (in modo da vedere la freccia bianca dall'alto).&lt;/p&gt;
&lt;p&gt;Per le misurazioni verticali, invece, controlla che il punto d'inizio sia fisso rispetto al terreno guardandolo da angolazioni differenti.&lt;/p&gt;"</string>
<string name="privacy_html_arcore">"Questa applicazione utilizza un &lt;a href=\"https://play.google.com/store/apps/details?id=com.google.ar.core\"&gt;servizio Google Play Services per la realtà aumentata&lt;/a&gt; (ARCore), fornito da Google e sottostante alla &lt;a href=\"https://policies.google.com/privacy\"&gt;Privacy policy di Google&lt;/a&gt;."</string>
</resources>
21 changes: 21 additions & 0 deletions app/src/main/res/values-zh-rTW/strings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="about_title_privacy_statement">"隱私聲明"</string>
<string name="no_camera_permission_warning_title">"相機權限"</string>
<string name="no_camera_permission_warning">"這權限是為了能拍照,用鏡頭來測量距離"</string>
<string name="ar_core_error_sdk_too_old">"這個 app 太舊了,請試著更新。"</string>
<string name="ar_core_tracking_error_bad_state">"發生問題了,請試著重新測量。"</string>
<string name="ar_core_tracking_error_insufficient_light">"這裡太暗了"</string>
<string name="ar_core_tracking_error_excessive_motion">"太多晃動了"</string>
<string name="ar_core_tracking_error_insufficient_features">"這裡沒有足夠的視覺圖徵"</string>
<string name="ar_core_tracking_error_camera_unavailable">"其他 app 已經使用鏡頭了"</string>
<string name="ar_core_tracking_error_too_steep_angle">"角度太陡了,請稍微離開一點"</string>
<string name="ar_core_tracking_error_no_plane_hit">"盡量靠近箭頭但小心路況!"</string>
<string name="no_camera_permission_toast">"沒有相機權限"</string>
<string name="ar_core_tracking_hint_tap_to_measure">"點一下螢幕來開始測量"</string>
<string name="measure_info_title">"達成最佳精確度"</string>
<string name="measure_info_html_description">"&lt;p&gt;ARCore 有時候 (一開始) 預設地面會低一點或是高一點,這會讓你越讓手機貼近水平線,測量的誤差變得比預期大。&lt;/p&gt;
&lt;p&gt;設定每一次的開始 - 以及結束點,要將你手直直朝下 (因此你會在上面看到白色箭頭) 來完全避免水平測量的問題。&lt;/p&gt;
&lt;p&gt;而垂直測量部分,你需要透過不同方向檢視,檢查開始點相較地面沒有跑掉。&lt;/p&gt;"</string>
<string name="privacy_html_arcore">"這應用程式 &lt;a href=\"https://play.google.com/store/apps/details?id=com.google.ar.core\"&gt;Google Play Services for AR&lt;/a&gt; (ARCore) 來運作,並且由 Google 採用 &lt;a href=\"https://policies.google.com/privacy\"&gt;Google 隱私政策&lt;/a&gt; 提供服務與管理。"</string>
</resources>

0 comments on commit d4116ba

Please sign in to comment.