translations: More improvements and comments

This commit is contained in:
Matthew Wild 2021-12-09 22:16:45 +00:00
parent 010b2d07a2
commit 94e69e8e3e
15 changed files with 38 additions and 56 deletions

View file

@ -55,7 +55,7 @@
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="750" verticalHuggingPriority="251" text="very long group name written here" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="az1-E9-Dy7">
<rect key="frame" x="0.0" y="2" width="219" height="19"/>
<rect key="frame" x="0.0" y="2" width="214" height="19"/>
<color key="tintColor" name="tintColor"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" name="tintColor"/>
@ -71,7 +71,7 @@
<nil key="highlightedColor"/>
</label>
<button opaque="NO" userInteractionEnabled="NO" contentMode="scaleToFill" horizontalCompressionResistancePriority="751" verticalCompressionResistancePriority="751" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="detailDisclosure" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Eec-Rr-KiG">
<rect key="frame" x="225" y="1.5" width="20" height="20"/>
<rect key="frame" x="220" y="-0.5" width="25" height="24"/>
<inset key="imageEdgeInsets" minX="4" minY="4" maxX="4" maxY="4"/>
</button>
</subviews>
@ -227,10 +227,10 @@
</objects>
<point key="canvasLocation" x="3513" y="-43"/>
</scene>
<!--Room details-->
<!--Group details-->
<scene sceneID="Z4v-kG-X80">
<objects>
<tableViewController restorationIdentifier="MucChatSettingsViewController" storyboardIdentifier="MucChatSettingsViewController" title="Room details" id="IGA-uE-mHb" customClass="MucChatSettingsViewController" customModule="Snikket" customModuleProvider="target" sceneMemberID="viewController">
<tableViewController restorationIdentifier="MucChatSettingsViewController" storyboardIdentifier="MucChatSettingsViewController" title="Group details" id="IGA-uE-mHb" customClass="MucChatSettingsViewController" customModule="Snikket" customModuleProvider="target" sceneMemberID="viewController">
<tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="static" style="grouped" separatorStyle="none" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="18" sectionFooterHeight="18" id="qNf-EW-iZr">
<rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
@ -245,7 +245,7 @@
<rect key="frame" x="0.0" y="0.0" width="414" height="60"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<label opaque="NO" multipleTouchEnabled="YES" contentMode="left" insetsLayoutMarginsFromSafeArea="NO" text="Room name" textAlignment="natural" lineBreakMode="wordWrap" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="lEG-rf-VV5">
<label opaque="NO" multipleTouchEnabled="YES" contentMode="left" insetsLayoutMarginsFromSafeArea="NO" text="Group name" textAlignment="natural" lineBreakMode="wordWrap" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="lEG-rf-VV5">
<rect key="frame" x="95" y="0.0" width="299" height="60"/>
<autoresizingMask key="autoresizingMask"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>

View file

@ -82,8 +82,8 @@ class SendLocationViewController: UIViewController {
let encryption: ChatEncryption = room.options.encryption ?? (canEncrypt ? (ChatEncryption(rawValue: Settings.messageEncryption.string() ?? "") ?? .none) : .none)
guard encryption == .none || canEncrypt else {
if encryption == .omemo && !canEncrypt {
let alert = UIAlertController(title: NSLocalizedString("Warning", comment: ""), message: NSLocalizedString("This room is not capable of sending encrypted messages. Please change encryption settings to be able to send messages", comment: ""), preferredStyle: .alert);
alert.addAction(UIAlertAction(title: NSLocalizedString("OK", comment: ""), style: .default, handler: nil));
let alert = UIAlertController(title: NSLocalizedString("Encryption Not Supported",comment: "Alert title"), message: NSLocalizedString("You have enabled encryption, but this group does not support encrypted messages. Please change encryption settings to be able to send messages.",comment: ""), preferredStyle: .alert);
alert.addAction(UIAlertAction(title: NSLocalizedString("OK",comment: ""), style: .default, handler: nil));
self.present(alert, animated: true, completion: nil);
}
return;

View file

@ -265,7 +265,7 @@ class ChatsListViewController: UITableViewController {
}
room.registerForTigasePushNotification(false, completionHandler: { (regResult) in
DispatchQueue.main.async {
let alert = UIAlertController(title: NSLocalizedString("Push notifications", comment: ""), message: String.localizedStringWithFormat(NSLocalizedString("You've left there room %@ and push notifications for this room were disabled!\nYou may need to reenable them on other devices.",comment: "Placeholder is the Group Name"), room.name ?? room.roomJid.stringValue), preferredStyle: .actionSheet)
let alert = UIAlertController(title: NSLocalizedString("Push Notifications", comment: "Alert title"), message: String.localizedStringWithFormat(NSLocalizedString("You've left the group %@ and notifications for this group have been disabled.\nYou may need to reenable them on other devices.",comment: "Placeholder is the Group Name"), room.name ?? room.roomJid.stringValue), preferredStyle: .actionSheet)
alert.addAction(UIAlertAction(title: NSLocalizedString("OK", comment: ""), style: .default, handler: nil));
alert.popoverPresentationController?.sourceView = self.view;

View file

@ -28,7 +28,7 @@
/* Class = "UILabel"; text = "When mentioned"; ObjectID = "exK-ZH-jpA"; */
"exK-ZH-jpA.text" = "When mentioned";
/* Class = "UITableViewController"; title = "Room details"; ObjectID = "IGA-uE-mHb"; */
/* Class = "UITableViewController"; title = "Group details"; ObjectID = "IGA-uE-mHb"; */
"IGA-uE-mHb.title" = "Room details";
/* Class = "UITableViewSection"; headerTitle = "Subject"; ObjectID = "iYv-zL-tZT"; */
@ -40,7 +40,7 @@
/* Class = "UILabel"; text = "Label"; ObjectID = "kFB-wJ-yDE"; */
"kFB-wJ-yDE.text" = "Label";
/* Class = "UILabel"; text = "Room name"; ObjectID = "lEG-rf-VV5"; */
/* Class = "UILabel"; text = "Group name"; ObjectID = "lEG-rf-VV5"; */
"lEG-rf-VV5.text" = "Room name";
/* Class = "UILabel"; text = "When the value of this property is false, the queue actively starts operations that are in the queue and ready to execute."; ObjectID = "NK6-IG-GRa"; */

View file

@ -389,8 +389,8 @@
/* No comment provided by engineer. */
"Provided values are not acceptable" = "Provided values are not acceptable";
/* No comment provided by engineer. */
"Push notifications" = "Push notifications";
/* Alert title */
"Push Notifications" = "Push Notifications";
/* No comment provided by engineer. */
"Push notifications are enabled for %@. They need to be disabled before account can be removed and it is not possible to at this time. Please try again later." = "Push notifications are enabled for %@. They need to be disabled before account can be removed and it is not possible to at this time. Please try again later.";
@ -515,9 +515,6 @@
/* No comment provided by engineer. */
"The user will be reported and any calls, messages and status updates from them will be blocked." = "The user will be reported and any calls, messages and status updates from them will be blocked.";
/* No comment provided by engineer. */
"This room is not capable of sending encrypted messages. Please change encryption settings to be able to send messages" = "This room is not capable of sending encrypted messages. Please change encryption settings to be able to send messages";
/* No comment provided by engineer. */
"This will delete all the message history for this chat. Continue?" = "This will delete all the message history for this chat. Continue?";
@ -579,7 +576,7 @@
"You need to connect to your account before you can update your contact list. Do you wish to connect now?" = "You need to connect to your account before you can update your contact list. Do you wish to connect now?";
/* Placeholder is the Group Name */
"You've left there room %@ and push notifications for this room were disabled!\nYou may need to reenable them on other devices." = "You've left there room %@ and push notifications for this room were disabled!\nYou may need to reenable them on other devices.";
"You've left the group %@ and notifications for this group have been disabled.\nYou may need to reenable them on other devices." = "You've left the group %@ and notifications for this group have been disabled.\nYou may need to reenable them on other devices.";
/* No comment provided by engineer. */
"Your Name" = "Your Name";

View file

@ -28,7 +28,7 @@
/* Class = "UILabel"; text = "When mentioned"; ObjectID = "exK-ZH-jpA"; */
"exK-ZH-jpA.text" = "Wenn erwähnt";
/* Class = "UITableViewController"; title = "Room details"; ObjectID = "IGA-uE-mHb"; */
/* Class = "UITableViewController"; title = "Group details"; ObjectID = "IGA-uE-mHb"; */
"IGA-uE-mHb.title" = "Raumdetails";
/* Class = "UITableViewSection"; headerTitle = "Subject"; ObjectID = "iYv-zL-tZT"; */
@ -40,7 +40,7 @@
/* Class = "UILabel"; text = "Label"; ObjectID = "kFB-wJ-yDE"; */
"kFB-wJ-yDE.text" = "Label";
/* Class = "UILabel"; text = "Room name"; ObjectID = "lEG-rf-VV5"; */
/* Class = "UILabel"; text = "Group name"; ObjectID = "lEG-rf-VV5"; */
"lEG-rf-VV5.text" = "Raumname";
/* Class = "UILabel"; text = "When the value of this property is false, the queue actively starts operations that are in the queue and ready to execute."; ObjectID = "NK6-IG-GRa"; */

View file

@ -389,8 +389,8 @@
/* No comment provided by engineer. */
"Provided values are not acceptable" = "Angegebene Werte sind nicht akzeptabel";
/* No comment provided by engineer. */
"Push notifications" = "Push-Nachrichten";
/* Alert title */
"Push Notifications" = "Push Notifications";
/* No comment provided by engineer. */
"Push notifications are enabled for %@. They need to be disabled before account can be removed and it is not possible to at this time. Please try again later." = "Push-Nachrichten sind für %@ aktiviert. Sie müssen deaktiviert werden, bevor das Konto entfernt werden kann und dies ist aktuell nicht möglich. Bitte später noch einmal probieren.";
@ -515,9 +515,6 @@
/* No comment provided by engineer. */
"The user will be reported and any calls, messages and status updates from them will be blocked." = "Benutzer:in wird gemeldet und alle Anrufe, Nachrichten und Statusinformationen werden blockiert.";
/* No comment provided by engineer. */
"This room is not capable of sending encrypted messages. Please change encryption settings to be able to send messages" = "Der Raum unterstützt keine verschlüsselten Nachrichten. Bitte ändere die Verschlüsselungseinstellungen um Nachrichten senden zu können";
/* No comment provided by engineer. */
"This will delete all the message history for this chat. Continue?" = "Diese Aktion wird den kompletten Nachrichtenverlauf für diesen Chat löschen. Fortfahren?";
@ -579,7 +576,7 @@
"You need to connect to your account before you can update your contact list. Do you wish to connect now?" = "Du musst das Konto verbinden bevor die Kontaktliste geändert werden kann. Soll das Konto jetzt verbunden werden?";
/* Placeholder is the Group Name */
"You've left there room %@ and push notifications for this room were disabled!\nYou may need to reenable them on other devices." = "Du hast den Raum %@ verlassen und Push-Benachrichtigungen für diesen Raum wurden deaktiviert!\nAuf anderen Geräten müssen Push-Benachrichtigungen für diesen Raum nun ggfs. eingeschaltet werden.";
"You've left the group %@ and notifications for this group have been disabled.\nYou may need to reenable them on other devices." = "You've left the group %@ and notifications for this group have been disabled.\nYou may need to reenable them on other devices.";
/* No comment provided by engineer. */
"Your Name" = "Dein Name";

View file

@ -28,7 +28,7 @@
/* Class = "UILabel"; text = "When mentioned"; ObjectID = "exK-ZH-jpA"; */
"exK-ZH-jpA.text" = "When mentioned";
/* Class = "UITableViewController"; title = "Room details"; ObjectID = "IGA-uE-mHb"; */
/* Class = "UITableViewController"; title = "Group details"; ObjectID = "IGA-uE-mHb"; */
"IGA-uE-mHb.title" = "Room details";
/* Class = "UITableViewSection"; headerTitle = "Subject"; ObjectID = "iYv-zL-tZT"; */
@ -40,7 +40,7 @@
/* Class = "UILabel"; text = "Label"; ObjectID = "kFB-wJ-yDE"; */
"kFB-wJ-yDE.text" = "Label";
/* Class = "UILabel"; text = "Room name"; ObjectID = "lEG-rf-VV5"; */
/* Class = "UILabel"; text = "Group name"; ObjectID = "lEG-rf-VV5"; */
"lEG-rf-VV5.text" = "Room name";
/* Class = "UILabel"; text = "When the value of this property is false, the queue actively starts operations that are in the queue and ready to execute."; ObjectID = "NK6-IG-GRa"; */

View file

@ -389,8 +389,8 @@
/* No comment provided by engineer. */
"Provided values are not acceptable" = "Provided values are not acceptable";
/* No comment provided by engineer. */
"Push notifications" = "Push notifications";
/* Alert title */
"Push Notifications" = "Push Notifications";
/* No comment provided by engineer. */
"Push notifications are enabled for %@. They need to be disabled before account can be removed and it is not possible to at this time. Please try again later." = "Push notifications are enabled for %@. They need to be disabled before account can be removed and it is not possible to at this time. Please try again later.";
@ -515,9 +515,6 @@
/* No comment provided by engineer. */
"The user will be reported and any calls, messages and status updates from them will be blocked." = "The user will be reported and any calls, messages and status updates from them will be blocked.";
/* No comment provided by engineer. */
"This room is not capable of sending encrypted messages. Please change encryption settings to be able to send messages" = "This room is not capable of sending encrypted messages. Please change encryption settings to be able to send messages";
/* No comment provided by engineer. */
"This will delete all the message history for this chat. Continue?" = "This will delete all the message history for this chat. Continue?";
@ -579,7 +576,7 @@
"You need to connect to your account before you can update your contact list. Do you wish to connect now?" = "You need to connect to your account before you can update your contact list. Do you wish to connect now?";
/* Placeholder is the Group Name */
"You've left there room %@ and push notifications for this room were disabled!\nYou may need to reenable them on other devices." = "You've left there room %@ and push notifications for this room were disabled!\nYou may need to reenable them on other devices.";
"You've left the group %@ and notifications for this group have been disabled.\nYou may need to reenable them on other devices." = "You've left the group %@ and notifications for this group have been disabled.\nYou may need to reenable them on other devices.";
/* No comment provided by engineer. */
"Your Name" = "Your Name";

View file

@ -28,7 +28,7 @@
/* Class = "UILabel"; text = "When mentioned"; ObjectID = "exK-ZH-jpA"; */
"exK-ZH-jpA.text" = "When mentioned";
/* Class = "UITableViewController"; title = "Room details"; ObjectID = "IGA-uE-mHb"; */
/* Class = "UITableViewController"; title = "Group details"; ObjectID = "IGA-uE-mHb"; */
"IGA-uE-mHb.title" = "Room details";
/* Class = "UITableViewSection"; headerTitle = "Subject"; ObjectID = "iYv-zL-tZT"; */
@ -40,7 +40,7 @@
/* Class = "UILabel"; text = "Label"; ObjectID = "kFB-wJ-yDE"; */
"kFB-wJ-yDE.text" = "Label";
/* Class = "UILabel"; text = "Room name"; ObjectID = "lEG-rf-VV5"; */
/* Class = "UILabel"; text = "Group name"; ObjectID = "lEG-rf-VV5"; */
"lEG-rf-VV5.text" = "Room name";
/* Class = "UILabel"; text = "When the value of this property is false, the queue actively starts operations that are in the queue and ready to execute."; ObjectID = "NK6-IG-GRa"; */

View file

@ -389,8 +389,8 @@
/* No comment provided by engineer. */
"Provided values are not acceptable" = "Provided values are not acceptable";
/* No comment provided by engineer. */
"Push notifications" = "Push notifications";
/* Alert title */
"Push Notifications" = "Push Notifications";
/* No comment provided by engineer. */
"Push notifications are enabled for %@. They need to be disabled before account can be removed and it is not possible to at this time. Please try again later." = "Push notifications are enabled for %@. They need to be disabled before account can be removed and it is not possible to at this time. Please try again later.";
@ -515,9 +515,6 @@
/* No comment provided by engineer. */
"The user will be reported and any calls, messages and status updates from them will be blocked." = "The user will be reported and any calls, messages and status updates from them will be blocked.";
/* No comment provided by engineer. */
"This room is not capable of sending encrypted messages. Please change encryption settings to be able to send messages" = "This room is not capable of sending encrypted messages. Please change encryption settings to be able to send messages";
/* No comment provided by engineer. */
"This will delete all the message history for this chat. Continue?" = "This will delete all the message history for this chat. Continue?";
@ -579,7 +576,7 @@
"You need to connect to your account before you can update your contact list. Do you wish to connect now?" = "You need to connect to your account before you can update your contact list. Do you wish to connect now?";
/* Placeholder is the Group Name */
"You've left there room %@ and push notifications for this room were disabled!\nYou may need to reenable them on other devices." = "You've left there room %@ and push notifications for this room were disabled!\nYou may need to reenable them on other devices.";
"You've left the group %@ and notifications for this group have been disabled.\nYou may need to reenable them on other devices." = "You've left the group %@ and notifications for this group have been disabled.\nYou may need to reenable them on other devices.";
/* No comment provided by engineer. */
"Your Name" = "Your Name";

View file

@ -28,7 +28,7 @@
/* Class = "UILabel"; text = "When mentioned"; ObjectID = "exK-ZH-jpA"; */
"exK-ZH-jpA.text" = "Quand mentionné";
/* Class = "UITableViewController"; title = "Room details"; ObjectID = "IGA-uE-mHb"; */
/* Class = "UITableViewController"; title = "Group details"; ObjectID = "IGA-uE-mHb"; */
"IGA-uE-mHb.title" = "Les détails du salon";
/* Class = "UITableViewSection"; headerTitle = "Subject"; ObjectID = "iYv-zL-tZT"; */
@ -40,7 +40,7 @@
/* Class = "UILabel"; text = "Label"; ObjectID = "kFB-wJ-yDE"; */
"kFB-wJ-yDE.text" = "Libellé";
/* Class = "UILabel"; text = "Room name"; ObjectID = "lEG-rf-VV5"; */
/* Class = "UILabel"; text = "Group name"; ObjectID = "lEG-rf-VV5"; */
"lEG-rf-VV5.text" = "Nom du salon";
/* Class = "UILabel"; text = "When the value of this property is false, the queue actively starts operations that are in the queue and ready to execute."; ObjectID = "NK6-IG-GRa"; */

View file

@ -389,8 +389,8 @@
/* No comment provided by engineer. */
"Provided values are not acceptable" = "Les valeurs fournies ne sont pas acceptables";
/* No comment provided by engineer. */
"Push notifications" = "Notifications de push";
/* Alert title */
"Push Notifications" = "Push Notifications";
/* No comment provided by engineer. */
"Push notifications are enabled for %@. They need to be disabled before account can be removed and it is not possible to at this time. Please try again later." = "Push notifications are enabled for %@. They need to be disabled before account can be removed and it is not possible to at this time. Please try again later.";
@ -515,9 +515,6 @@
/* No comment provided by engineer. */
"The user will be reported and any calls, messages and status updates from them will be blocked." = "The user will be reported and any calls, messages and status updates from them will be blocked.";
/* No comment provided by engineer. */
"This room is not capable of sending encrypted messages. Please change encryption settings to be able to send messages" = "This room is not capable of sending encrypted messages. Please change encryption settings to be able to send messages";
/* No comment provided by engineer. */
"This will delete all the message history for this chat. Continue?" = "Vous allez supprimer tout lhistorique des messages de cette discussion. Voulez-vous continuer?";
@ -579,7 +576,7 @@
"You need to connect to your account before you can update your contact list. Do you wish to connect now?" = "You need to connect to your account before you can update your contact list. Do you wish to connect now?";
/* Placeholder is the Group Name */
"You've left there room %@ and push notifications for this room were disabled!\nYou may need to reenable them on other devices." = "You've left there room %@ and push notifications for this room were disabled!\nYou may need to reenable them on other devices.";
"You've left the group %@ and notifications for this group have been disabled.\nYou may need to reenable them on other devices." = "You've left the group %@ and notifications for this group have been disabled.\nYou may need to reenable them on other devices.";
/* No comment provided by engineer. */
"Your Name" = "Votre nom";

View file

@ -28,7 +28,7 @@
/* Class = "UILabel"; text = "When mentioned"; ObjectID = "exK-ZH-jpA"; */
"exK-ZH-jpA.text" = "Vid omnämnande";
/* Class = "UITableViewController"; title = "Room details"; ObjectID = "IGA-uE-mHb"; */
/* Class = "UITableViewController"; title = "Group details"; ObjectID = "IGA-uE-mHb"; */
"IGA-uE-mHb.title" = "Room details";
/* Class = "UITableViewSection"; headerTitle = "Subject"; ObjectID = "iYv-zL-tZT"; */
@ -40,7 +40,7 @@
/* Class = "UILabel"; text = "Label"; ObjectID = "kFB-wJ-yDE"; */
"kFB-wJ-yDE.text" = "Label";
/* Class = "UILabel"; text = "Room name"; ObjectID = "lEG-rf-VV5"; */
/* Class = "UILabel"; text = "Group name"; ObjectID = "lEG-rf-VV5"; */
"lEG-rf-VV5.text" = "Room name";
/* Class = "UILabel"; text = "When the value of this property is false, the queue actively starts operations that are in the queue and ready to execute."; ObjectID = "NK6-IG-GRa"; */

View file

@ -389,8 +389,8 @@
/* No comment provided by engineer. */
"Provided values are not acceptable" = "Oacceptabla värden angivna";
/* No comment provided by engineer. */
"Push notifications" = "Push notifications";
/* Alert title */
"Push Notifications" = "Push Notifications";
/* No comment provided by engineer. */
"Push notifications are enabled for %@. They need to be disabled before account can be removed and it is not possible to at this time. Please try again later." = "Push notifications are enabled for %@. They need to be disabled before account can be removed and it is not possible to at this time. Please try again later.";
@ -515,9 +515,6 @@
/* No comment provided by engineer. */
"The user will be reported and any calls, messages and status updates from them will be blocked." = "Användaren kommer rapporteras och samtal, meddelanden och statusuppdateringar från dem blockeras.";
/* No comment provided by engineer. */
"This room is not capable of sending encrypted messages. Please change encryption settings to be able to send messages" = "Det här rummet kan inte skicka krypterade meddelanden. Vänligen ändra krypteringsinställningar för att skicka meddelanden";
/* No comment provided by engineer. */
"This will delete all the message history for this chat. Continue?" = "Detta raderar all meddelandehistorik för den här chatten. Fortsätta?";
@ -579,7 +576,7 @@
"You need to connect to your account before you can update your contact list. Do you wish to connect now?" = "You need to connect to your account before you can update your contact list. Do you wish to connect now?";
/* Placeholder is the Group Name */
"You've left there room %@ and push notifications for this room were disabled!\nYou may need to reenable them on other devices." = "You've left there room %@ and push notifications for this room were disabled!\nYou may need to reenable them on other devices.";
"You've left the group %@ and notifications for this group have been disabled.\nYou may need to reenable them on other devices." = "You've left the group %@ and notifications for this group have been disabled.\nYou may need to reenable them on other devices.";
/* No comment provided by engineer. */
"Your Name" = "Ditt Namn";