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

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

View File

@ -508,7 +508,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";