Skip to content

Commit

Permalink
Fixes #2056 - [iOS] Unable to publish the app in iOS
Browse files Browse the repository at this point in the history
  • Loading branch information
HarelM committed Nov 8, 2024
1 parent 8a5f8b7 commit 290a8fd
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<mat-card appearance="outlined">
<mat-card-content>
<p><span [innerHtml]="resources.infoSubheader"></span></p>
<p *ngIf="isApp()">{{resources.subscriptionDetails}}</p>
<div *ngIf="!isApp()" class="flex flex-row justify-center items-center">
<a href="https://play.google.com/store/apps/details?id=il.org.osm.israelhiking&hl=en" target="_blank" angulartics2On="click" angularticsCategory="Info" angularticsAction="Download from google play store">
<img src="content/google-play-badge.png" width="200" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@ export class ResourcesService {
public imageBy: string;
public notYet: string;
public imageUploadWaiver: string;
public subscriptionDetails: string;
// Toasts: Errors/Warnings/Success
public unableToGetSearchResults: string;
public pleaseSelectFrom: string;
Expand Down Expand Up @@ -475,7 +476,7 @@ export class ResourcesService {
}

private async setLanguageInternal(language: Language): Promise<void> {
await this.gettextCatalog.loadRemote(Urls.translations + language.code + ".json?sign=1730928830631");
await this.gettextCatalog.loadRemote(Urls.translations + language.code + ".json?sign=1731049787026");
this.about = this.gettextCatalog.getString("About");
this.legend = this.gettextCatalog.getString("Legend");
this.clear = this.gettextCatalog.getString("Clear");
Expand Down Expand Up @@ -708,6 +709,7 @@ export class ResourcesService {
this.imageBy = this.gettextCatalog.getString("Image by");
this.notYet = this.gettextCatalog.getString("Not yet...");
this.imageUploadWaiver = this.gettextCatalog.getString("The pictures I will upload are my own work, and they can be used without any restrictions.");
this.subscriptionDetails = this.gettextCatalog.getString("No reception? Try out our offline maps subscription! Only 99₪ per year, paid once a year. Use the main menu to purchase the subscription.");
// Toasts: Errors/Warnings/Success
this.unableToGetSearchResults = this.gettextCatalog.getString("Unable to get search results...");
this.pleaseSelectFrom = this.gettextCatalog.getString("Please select from...");
Expand Down
1 change: 1 addition & 0 deletions IsraelHiking.Web/src/translations/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@
"No": "No",
"No legend for this map...": "No legend for this map...",
"No offline files available, please press the download button below.": "No offline files available, please press the download button below.",
"No reception? Try out our offline maps subscription! Only 99₪ per year, paid once a year. Use the main menu to purchase the subscription.": "No reception? Try out our offline maps subscription! Only 99₪ per year, paid once a year. Use the main menu to purchase the subscription.",
"No shares, now is the time to start sharing your work!": "No saves were found in the cloud...",
"No Tags": "No Tags",
"No traces, you should really upload some to OSM.": "No traces, you should really upload some to OSM.",
Expand Down
1 change: 1 addition & 0 deletions IsraelHiking.Web/src/translations/he.json
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@
"No": "לא",
"No legend for this map...": "אין מקרא עבור מפה זו...",
"No offline files available, please press the download button below.": "הקבצים הנדרשים לשימוש לא-מקוון חסרים, אנא ליחצו על כפתור ההורדה למטה.",
"No reception? Try out our offline maps subscription! Only 99₪ per year, paid once a year. Use the main menu to purchase the subscription.": "אין קליטה? נסו את המנוי שלנו למפות לא מקוונות! רק 99₪ בשנה, פחות ממחיר של שתי לאפות שווארמה. התשלום הוא פעם בשנה. לחצו על התפריט הראשי כדי לרכוש.",
"No shares, now is the time to start sharing your work!": "לא נמצאו שמירות בענן...",
"No Tags": "אין תגיות",
"No traces, you should really upload some to OSM.": "אין הקלטות, כדאי לך להעלות כמה ל- OSM.",
Expand Down

0 comments on commit 290a8fd

Please sign in to comment.