Skip to content

Commit

Permalink
update localization and changelog for v0.21.3 release
Browse files Browse the repository at this point in the history
  • Loading branch information
mkrupczak3 committed Sep 28, 2024
1 parent 70d40f4 commit 5058cba
Show file tree
Hide file tree
Showing 10 changed files with 107 additions and 2 deletions.
3 changes: 2 additions & 1 deletion app/src/main/java/com/openathena/ManageDemsActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ private void displayMaritimeModeAlert() {
builder.setPositiveButton(R.string.i_understand_this_risk, (DialogInterface.OnClickListener) (dialog, which) -> {
dangerousMaritimeModeActivatedCount += 1;
});
builder.setNegativeButton("Disable maritime mode", (DialogInterface.OnClickListener) (dialog, which) -> {
builder.setNegativeButton(R.string.disable_maritime_mode_action, (DialogInterface.OnClickListener) (dialog, which) -> {
maritimeModeSwitch.setChecked(false);
dangerousMaritimeModeActivatedCount += 1;
});
Expand Down Expand Up @@ -202,6 +202,7 @@ private void onClickLookup()
Log.d(TAG,"ManageDems: splitting up "+latLonStr);

// remove any () or degrees or leading/trailing whitespace
// TODO add other languages and their degrees abbreviations
latLonStr = latLonStr.trim();
latLonStr = latLonStr.toUpperCase(Locale.ENGLISH);
latLonStr = latLonStr.toUpperCase(Locale.ENGLISH).replaceAll("[()]", "");
Expand Down
13 changes: 13 additions & 0 deletions app/src/main/res/values-fr/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -238,4 +238,17 @@
<string name="error_the_file">Le fichier</string>
<string name="error_geofile_does_not_exist_2">n\'existe pas.</string>
<string name="are_you_sure_delete_map">Supprimer ce modèle d\'élévation (DEM) ?</string>
<string name="u_s_national_grid">Grille nationale des États-Unis</string>
<string name="united_states_national_grid_functionally_equiv_to_mgrs_10m">Grille nationale des États-Unis. Équivalente fonctionnellement au MGRS 10m</string>
<string name="wgs84_lat_lon_dms">Latitude, Longitude WGS84 \n DMS (° \' \")</string>
<string name="tooltip_wgs84_dms">Latitude et longitude avec référence de direction, décomposées en degrés, minutes et secondes</string>
<string name="center_label_demdetails">centre :</string>
<string name="center_ck42_label_demdetails">centre (CK-42) :</string>
<string name="label_maritime_mode">Mode maritime\n(niveau de la mer au lieu du MNT terrestre)</string>
<string name="label_switch_disabled">Désactivé</string>
<string name="label_switch_enabled">Activé</string>
<string name="maritime_mode_is_enabled_using_sea_level_instead_of_any_dem">Le mode maritime est activé. Utilisation du niveau de la mer au lieu de tout MNT…</string>
<string name="danger_maritime_mode_is_enabled">⚠️ DANGER : Le mode maritime est activé. Les calculs seront très inexacts pour les cibles terrestres ⚠️</string>
<string name="disable_maritime_mode_action">Désactiver le mode maritime</string>

</resources>
14 changes: 14 additions & 0 deletions app/src/main/res/values-ja/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -238,4 +238,18 @@
<string name="error_geofile_does_not_exist_2">は存在しません。</string>
<string name="are_you_sure_delete_map">この標高モデル (DEM) を削除しますか?</string>

<string name="u_s_national_grid">米国ナショナルグリッド</string>
<string name="united_states_national_grid_functionally_equiv_to_mgrs_10m">米国ナショナルグリッド。機能的には MGRS 10m と同等</string>
<string name="wgs84_lat_lon_dms">WGS84 緯度、経度 \n 度分秒 (度 分 秒)</string>
<string name="tooltip_wgs84_dms">方向参照を含む緯度と経度を度、分、秒に分解</string>
<string name="center_label_demdetails">中心:</string>
<string name="center_ck42_label_demdetails">中心 (CK-42):</string>
<string name="label_maritime_mode">海洋モード\n(地形 DEM の代わりに海面を使用)</string>
<string name="label_switch_disabled">オフ</string>
<string name="label_switch_enabled">オン</string>
<string name="maritime_mode_is_enabled_using_sea_level_instead_of_any_dem">海洋モードが有効です。DEM の代わりに海面を使用しています…</string>
<string name="danger_maritime_mode_is_enabled">⚠️ 危険:海洋モードが有効です。陸上ターゲットの計算が非常に不正確になります ⚠️</string>
<string name="disable_maritime_mode_action">海洋モードをオフにする</string>


</resources>
14 changes: 14 additions & 0 deletions app/src/main/res/values-ko/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -238,4 +238,18 @@
<string name="error_geofile_does_not_exist_2">은(는) 존재하지 않습니다.</string>
<string name="are_you_sure_delete_map">이 고도 모델(DEM)을 삭제하시겠습니까?</string>

<string name="u_s_national_grid">미국 국가지도망</string>
<string name="united_states_national_grid_functionally_equiv_to_mgrs_10m">미국 국가지도망. 기능적으로 MGRS 10m와 동일</string>
<string name="wgs84_lat_lon_dms">WGS84 위도, 경도 \n 도분초 (° \' \")</string>
<string name="tooltip_wgs84_dms">방향 참조가 포함된 위도와 경도를 도, 분, 초로 분해</string>
<string name="center_label_demdetails">중심:</string>
<string name="center_ck42_label_demdetails">중심 (CK-42):</string>
<string name="label_maritime_mode">해양 모드\n(지형 DEM 대신 해수면 사용)</string>
<string name="label_switch_disabled">끔</string>
<string name="label_switch_enabled">켬</string>
<string name="maritime_mode_is_enabled_using_sea_level_instead_of_any_dem">해양 모드가 활성화되었습니다. DEM 대신 해수면을 사용합니다…</string>
<string name="danger_maritime_mode_is_enabled">⚠️ 위험: 해양 모드가 활성화되었습니다. 육지의 모든 대상에 대한 계산이 매우 부정확합니다 ⚠️</string>
<string name="disable_maritime_mode_action">해양 모드 끄기</string>


</resources>
14 changes: 14 additions & 0 deletions app/src/main/res/values-pl/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -237,4 +237,18 @@
<string name="error_the_file">Plik</string>
<string name="error_geofile_does_not_exist_2">nie istnieje.</string>
<string name="are_you_sure_delete_map">Usunąć ten model elewacji (DEM)?</string>

<string name="u_s_national_grid">Amerykańska Siatka Krajowa</string>
<string name="united_states_national_grid_functionally_equiv_to_mgrs_10m">Amerykańska Siatka Krajowa. Funkcjonalnie równoważna z MGRS 10m</string>
<string name="wgs84_lat_lon_dms">WGS84 Szer., Dł. \n DMS (° \' \")</string>
<string name="tooltip_wgs84_dms">Szerokość i długość geograficzna z oznaczeniem kierunku, rozbite na stopnie, minuty i sekundy</string>
<string name="center_label_demdetails">środek:</string>
<string name="center_ck42_label_demdetails">środek (CK-42):</string>
<string name="label_maritime_mode">Tryb morski\n(poziom morza zamiast DEM terenu)</string>
<string name="label_switch_disabled">Wyłączone</string>
<string name="label_switch_enabled">Włączone</string>
<string name="maritime_mode_is_enabled_using_sea_level_instead_of_any_dem">Tryb morski jest włączony. Używanie poziomu morza zamiast jakiegokolwiek DEM...</string>
<string name="danger_maritime_mode_is_enabled">⚠️ NIEBEZPIECZEŃSTWO: Tryb morski jest włączony. Obliczenia będą bardzo niedokładne dla celów na lądzie ⚠️</string>
<string name="disable_maritime_mode_action">Wyłącz tryb morski</string>

</resources>
16 changes: 16 additions & 0 deletions app/src/main/res/values-ru/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -237,4 +237,20 @@
<string name="error_the_file">Файл</string>
<string name="error_geofile_does_not_exist_2">не существует.</string>
<string name="are_you_sure_delete_map">Удалить эту модель рельефа (DEM)?</string>

<string name="u_s_national_grid">Национальная сетка США</string>
<string name="united_states_national_grid_functionally_equiv_to_mgrs_10m">Национальная сетка США. Функционально эквивалентна MGRS 10 м</string>
<string name="wgs84_lat_lon_dms">WGS84 Шир., Долг. \n ГМС (° \' \")</string>
<string name="tooltip_wgs84_dms">Широта и долгота с указанием направления, разбитые на градусы, минуты и секунды</string>
<string name="center_label_demdetails">центр:</string>
<string name="center_ck42_label_demdetails">центр (СК-42):</string>
<string name="label_maritime_mode">Морской режим\n(используется уровень моря вместо ЦМР)</string>
<string name="label_switch_disabled">Выключено</string>
<string name="label_switch_enabled">Включено</string>
<string name="maritime_mode_is_enabled_using_sea_level_instead_of_any_dem">Морской режим включен. Используется уровень моря вместо любой ЦМР…</string>
<string name="danger_maritime_mode_is_enabled">⚠️ ОПАСНОСТЬ: Морской режим включен. Расчеты будут очень неточными для целей на суше ⚠️</string>
<string name="disable_maritime_mode_action">Выключить морской режим</string>



</resources>
15 changes: 15 additions & 0 deletions app/src/main/res/values-uk/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -238,4 +238,19 @@
<string name="error_geofile_does_not_exist_2">не існує.</string>
<string name="are_you_sure_delete_map">Видалити цю модель висоти (DEM)?</string>

<string name="u_s_national_grid">Національна сітка США</string>
<string name="united_states_national_grid_functionally_equiv_to_mgrs_10m">Національна сітка США. Функціонально еквівалентна MGRS 10 м</string>
<string name="wgs84_lat_lon_dms">WGS84 Шир., Довг. \n ГМC (° \' \")</string>
<string name="tooltip_wgs84_dms">Широта та довгота з вказівкою напрямку, розбиті на градуси, хвилини та секунди</string>
<string name="center_label_demdetails">центр:</string>
<string name="center_ck42_label_demdetails">центр (СК-42):</string>
<string name="label_maritime_mode">Морський режим\n(рівень моря замість ЦМР)</string>
<string name="label_switch_disabled">Вимкнено</string>
<string name="label_switch_enabled">Увімкнено</string>
<string name="maritime_mode_is_enabled_using_sea_level_instead_of_any_dem">Морський режим увімкнено. Використовується рівень моря замість будь-якої ЦМР…</string>
<string name="danger_maritime_mode_is_enabled">⚠️ НЕБЕЗПЕКА: Морський режим увімкнено. Розрахунки будуть дуже неточними для цілей на суші ⚠️</string>
<string name="disable_maritime_mode_action">Вимкнути морський режим</string>



</resources>
13 changes: 13 additions & 0 deletions app/src/main/res/values-zh/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -239,4 +239,17 @@
<string name="mainactivity_dem_pixelunit_squares">正方形</string>
<string name="are_you_sure_delete_map">删除此高程模型(DEM)吗?</string>

<string name="u_s_national_grid">美国国家网格</string>
<string name="united_states_national_grid_functionally_equiv_to_mgrs_10m">美国国家网格。功能等同于 MGRS 10 米</string>
<string name="wgs84_lat_lon_dms">WGS84 纬度, 经度 \n 度分秒 (度 分 秒)</string>
<string name="tooltip_wgs84_dms">包含方向参考的纬度和经度,分解为度、分、秒</string>
<string name="center_label_demdetails">中心:</string>
<string name="center_ck42_label_demdetails">中心 (CK-42):</string>
<string name="label_maritime_mode">海洋模式\n(使用海平面代替地形 DEM)</string>
<string name="label_switch_disabled">已关闭</string>
<string name="label_switch_enabled">已启用</string>
<string name="maritime_mode_is_enabled_using_sea_level_instead_of_any_dem">已启用海洋模式。使用海平面代替任何 DEM…</string>
<string name="danger_maritime_mode_is_enabled">⚠️ 危险:已启用海洋模式。对陆地目标的计算将非常不准确 ⚠️</string>
<string name="disable_maritime_mode_action">关闭海洋模式</string>

</resources>
3 changes: 2 additions & 1 deletion app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,7 @@
<string name="label_maritime_mode">Maritime mode\n(sea level instead of terrain DEM)</string>
<string name="label_switch_disabled">Disabled</string>
<string name="label_switch_enabled">Enabled</string>
<string name="maritime_mode_is_enabled_using_sea_level_instead_of_any_dem">Maritime Mode is enabled. Using sea level instead of any DEM ...</string>
<string name="maritime_mode_is_enabled_using_sea_level_instead_of_any_dem">Maritime Mode is enabled. Using sea level instead of any DEM </string>
<string name="danger_maritime_mode_is_enabled">⚠️ DANGER: Maritime mode is enabled. Calculations will be very inaccurate for any targets on land ⚠️</string>
<string name="disable_maritime_mode_action">Disable maritime mode</string>
</resources>
4 changes: 4 additions & 0 deletions metadata/en-US/changelogs/44.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Minor update to OpenAthena Beta version:
* Fix for DJI Mavic 2 Pro and Mavic 3 variants
* Add new maritime mode for operation in ocean without terrain DEM
* Add US national grid and lat,lon degrees, minutes, seconds as output modes

0 comments on commit 5058cba

Please sign in to comment.