You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
staticletcancel=NSLocalizedString("shared.button.cancel", comment:"Shared alert 'Cancel' button. Used anywhere")
21
-
staticletok=NSLocalizedString("shared.button.ok", comment:"Shared alert 'Ok' button. Used anywhere")
22
-
staticletsave=NSLocalizedString("shared.button.save", comment:"Shared alert 'Save' button. Used anywhere")
23
-
staticletcopyToPasteboard=NSLocalizedString("shared.button.copy-to-pasteboard", comment:"Shared alert 'Copy to pasteboard' button. Used anywhere. Used for copy-paste info.")
24
-
staticletcopiedToPasteboardNotification=NSLocalizedString("shared.notification.copied_to_pasteboard", comment:"Shared alert notification: message about item copied to pasteboard.")
25
-
staticletshare=NSLocalizedString("shared.button.share", comment:"Shared alert 'Share' button. Used anywhere for presenting standart iOS 'Share' menu.")
20
+
staticletcancel=NSLocalizedString("Cancel", comment:"Shared alert 'Cancel' button. Used anywhere")
21
+
staticletok=NSLocalizedString("Ok", comment:"Shared alert 'Ok' button. Used anywhere")
22
+
staticletsave=NSLocalizedString("Save", comment:"Shared alert 'Save' button. Used anywhere")
23
+
staticletcopyToPasteboard=NSLocalizedString("Copy to Pasteboard", comment:"Shared alert 'Copy' button. Used anywhere. Used for copy-paste info.")
24
+
staticletcopiedToPasteboardNotification=NSLocalizedString("Copied to Pasteboard", comment:"Shared alert notification: message about item copied to pasteboard.")
25
+
staticletshare=NSLocalizedString("Share", comment:"Shared alert 'Share' button. Used anywhere for presenting standart iOS 'Share' menu.")
staticletconfirmSendMessageFormat=NSLocalizedString("Send %1$@ to %2$@?", comment:"Confirm transfer X tokens to Y message. Note two variables: at runtime %1$@ will be amount (with ADM suffix), and %2$@ will be recipient address. You can use address before amount with this so called 'position tokens'.")
33
-
staticletsend=NSLocalizedString("transfer.alert.send-button", comment:"Confirm transfer and send tokens button")
33
+
staticletsend=NSLocalizedString("Send", comment:"Confirm transfer alert: Send tokens button")
34
34
}
35
35
36
36
@@ -62,13 +62,13 @@ class TransferViewController: FormViewController {
62
62
63
63
varlocalized:String{
64
64
switchself{
65
-
case.balance:returnNSLocalizedString("transfer.rows.balance", comment:"Transfer row: logged user balance.")
66
-
case.amount:returnNSLocalizedString("transfer.rows.amount", comment:"Transfer row: amount of adamant to transfer.")
67
-
case.maxToTransfer:returnNSLocalizedString("transfer.rows.maxToTransfer", comment:"Transfer row: maximum amount to transfer: available account money substracting transfer fee.")
case.balance:returnNSLocalizedString("Balance", comment:"Transfer row: logged user balance.")
66
+
case.amount:returnNSLocalizedString("Amount", comment:"Transfer row: amount of adamant to transfer.")
67
+
case.maxToTransfer:returnNSLocalizedString("Max to transfer", comment:"Transfer row: maximum amount to transfer: available account money substracting transfer fee.")
staticletestimatedFeeFormat=NSLocalizedString("Estimated fee: %f", comment:"Chat input bar: Estimated fee.")
17
17
18
-
staticletmessageIsEmpty=NSLocalizedString("chat.message-is-empty", comment:"Notify user that message cannot be empty")
19
-
staticletmessageTooLong=NSLocalizedString("chat.message-too-long", comment:"Message is too long")
20
-
staticletnotEnoughMoney=NSLocalizedString("chat.not-enough", comment:"You don't have enough money to send a message.")
18
+
staticletmessageIsEmpty=NSLocalizedString("Message is empty", comment:"Notify user that message cannot be empty")
19
+
staticletmessageTooLong=NSLocalizedString("Message is toolong", comment:"Message is too long")
20
+
staticletnotEnoughMoney=NSLocalizedString("You don't have enough money to send a message", comment:"Notify user that he doesn't have money to pay a message fee")
staticletserverErrorFormat=NSLocalizedString("chat.server-error-format", comment:"Remote server error: %@")
22
+
staticletinternalErrorFormat=NSLocalizedString("Internal error: %@. You should report this bug.", comment:"Notify user about bad internal error. Usually this should be reported as a bug.")
23
+
staticletserverErrorFormat=NSLocalizedString("Remote servererror: %@", comment:"Notify user about server error.")
Copy file name to clipboardExpand all lines: Adamant/Stories/Chats/NewChatViewController.swift
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -11,13 +11,13 @@ import UIKit
11
11
// MARK: - Localization
12
12
extensionString.adamantLocalized{
13
13
structnewChat{
14
-
staticletaddressPlaceholder=NSLocalizedString("newChat.address-placeholder", comment:"Recipient address placeholder. Note that address text field always shows U letter, so you can left this line blank.")
14
+
staticletaddressPlaceholder=NSLocalizedString("", comment:"Recipient address placeholder. Note that address text field always shows U letter, so you can left this line blank.")
staticletloggedUserAddressMessage=NSLocalizedString("newChat.logged-user-address-message", comment:"Notify user that he can't start chat with himself")
16
+
staticletspecifyValidAddressMessage=NSLocalizedString("Please specifyvalid recipient address", comment:"Notify user that he entered invalid address")
17
+
staticletloggedUserAddressMessage=NSLocalizedString("You don't need an encrypted anonymous chat to talk to yourself", comment:"Notify user that he can't start chat with himself")
18
18
19
-
staticletaddressNotFoundFormat=NSLocalizedString("newChat.address-not-found-format", comment:"Address %@ not found")
20
-
staticletserverErrorFormat=NSLocalizedString("chat.server-error-format", comment:"Remote server error: %@")
19
+
staticletaddressNotFoundFormat=NSLocalizedString("Address %@ notfound", comment:"Notify user that specified address (%@) not found")
20
+
staticletserverErrorFormat=NSLocalizedString("%@", comment:"Remote server returned an error.")
21
21
22
22
privateinit(){}
23
23
}
@@ -112,7 +112,7 @@ class NewChatViewController: UITableViewController {
0 commit comments