Skip to content

Commit

Permalink
Update string.
Browse files Browse the repository at this point in the history
  • Loading branch information
pixlwave committed Jul 27, 2021
1 parent 8b1d6c4 commit 88660d5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions Riot/Assets/en.lproj/Vector.strings
Original file line number Diff line number Diff line change
Expand Up @@ -492,6 +492,7 @@ Tap the + to start adding people.";
"settings_security" = "SECURITY";

"settings_enable_push_notif" = "Notifications on this device";
"settings_device_notifications" = "Device notifications";
"settings_show_decrypted_content" = "Show decrypted content";
"settings_global_settings_info" = "Global notification settings are available on your %@ web client";
"settings_pin_rooms_with_missed_notif" = "Pin rooms with missed notifications";
Expand Down
4 changes: 4 additions & 0 deletions Riot/Generated/Strings.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4114,6 +4114,10 @@ internal enum VectorL10n {
internal static var settingsDeactivateMyAccount: String {
return VectorL10n.tr("Vector", "settings_deactivate_my_account")
}
/// Device notifications
internal static var settingsDeviceNotifications: String {
return VectorL10n.tr("Vector", "settings_device_notifications")
}
/// SESSIONS
internal static var settingsDevices: String {
return VectorL10n.tr("Vector", "settings_devices")
Expand Down
2 changes: 1 addition & 1 deletion Riot/Modules/Settings/SettingsViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -1810,7 +1810,7 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N

cell.textLabel.textColor = ThemeService.shared.theme.textPrimaryColor;

cell.textLabel.text = NSLocalizedStringFromTable(@"settings_enable_push_notif", @"Vector", nil);
cell.textLabel.text = NSLocalizedStringFromTable(@"settings_device_notifications", @"Vector", nil);
cell.detailTextLabel.text = @"";

[cell vc_setAccessoryDisclosureIndicatorWithCurrentTheme];
Expand Down

0 comments on commit 88660d5

Please sign in to comment.