[Translation] Privacy policy URL can now be loaded from strings files

Signed-off-by: Kevin López Brante <kevin@kddlb.cl>
xcode15
Kevin López 2022-07-09 18:40:22 -04:00 committed by Christopher Snowhill
parent 2251650b6e
commit c735c8f387
2 changed files with 3 additions and 1 deletions

View File

@ -531,7 +531,7 @@ static AppController *kAppController = nil;
}
- (IBAction)privacyPolicy:(id)sender {
[[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString:@"https://www.iubenda.com/privacy-policy/59859310"]];
[[NSWorkspace sharedWorkspace] openURL:[NSURL URLWithString:NSLocalizedString(@"PrivacyPolicyURL", @"Privacy policy URL from Iubenda.")]];
}
- (IBAction)feedback:(id)sender {

View File

@ -86,3 +86,5 @@
"dhms" = "%@, %@, %@ and %@";
"hms" = "%@, %@ and %@";
"ms" = "%@ and %@";
"PrivacyPolicyURL" = "https://www.iubenda.com/privacy-policy/59859310";