Skip to content

Commit

Permalink
added missing localizations
Browse files Browse the repository at this point in the history
  • Loading branch information
or-else committed Jan 25, 2023
1 parent 98ed6f3 commit 2b16050
Show file tree
Hide file tree
Showing 16 changed files with 4,860 additions and 2,231 deletions.
154 changes: 143 additions & 11 deletions Localizations/en.xcloc/Localized Contents/en.xliff

Large diffs are not rendered by default.

1,257 changes: 828 additions & 429 deletions Localizations/en.xcloc/Source Contents/Tinodios/Base.lproj/Main.storyboard

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions Localizations/en.xcloc/contents.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
"developmentRegion" : "en",
"targetLocale" : "en",
"toolInfo" : {
"toolBuildNumber" : "13F17a",
"toolBuildNumber" : "14C18",
"toolID" : "com.apple.dt.xcode",
"toolName" : "Xcode",
"toolVersion" : "13.4"
"toolVersion" : "14.2"
},
"version" : "1.0",
"workspace" : "Tinodios.xcworkspace"
Expand Down
152 changes: 139 additions & 13 deletions Localizations/es.xcloc/Localized Contents/es.xliff

Large diffs are not rendered by default.

1,257 changes: 828 additions & 429 deletions Localizations/es.xcloc/Source Contents/Tinodios/Base.lproj/Main.storyboard

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions Localizations/es.xcloc/contents.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
"developmentRegion" : "en",
"targetLocale" : "es",
"toolInfo" : {
"toolBuildNumber" : "13F17a",
"toolBuildNumber" : "14C18",
"toolID" : "com.apple.dt.xcode",
"toolName" : "Xcode",
"toolVersion" : "13.4"
"toolVersion" : "14.2"
},
"version" : "1.0",
"workspace" : "Tinodios.xcworkspace"
Expand Down
149 changes: 137 additions & 12 deletions Localizations/ru.xcloc/Localized Contents/ru.xliff

Large diffs are not rendered by default.

1,257 changes: 828 additions & 429 deletions Localizations/ru.xcloc/Source Contents/Tinodios/Base.lproj/Main.storyboard

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions Localizations/ru.xcloc/contents.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
"developmentRegion" : "en",
"targetLocale" : "ru",
"toolInfo" : {
"toolBuildNumber" : "13F17a",
"toolBuildNumber" : "14C18",
"toolID" : "com.apple.dt.xcode",
"toolName" : "Xcode",
"toolVersion" : "13.4"
"toolVersion" : "14.2"
},
"version" : "1.0",
"workspace" : "Tinodios.xcworkspace"
Expand Down
171 changes: 148 additions & 23 deletions Localizations/zh-Hans.xcloc/Localized Contents/zh-Hans.xliff

Large diffs are not rendered by default.

1,257 changes: 828 additions & 429 deletions Localizations/zh-Hans.xcloc/Source Contents/Tinodios/Base.lproj/Main.storyboard

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions Localizations/zh-Hans.xcloc/contents.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
"developmentRegion" : "en",
"targetLocale" : "zh-Hans",
"toolInfo" : {
"toolBuildNumber" : "13F17a",
"toolBuildNumber" : "14C18",
"toolID" : "com.apple.dt.xcode",
"toolName" : "Xcode",
"toolVersion" : "13.4"
"toolVersion" : "14.2"
},
"version" : "1.0",
"workspace" : "Tinodios.xcworkspace"
Expand Down
150 changes: 138 additions & 12 deletions Localizations/zh-Hant.xcloc/Localized Contents/zh-Hant.xliff

Large diffs are not rendered by default.

1,257 changes: 828 additions & 429 deletions Localizations/zh-Hant.xcloc/Source Contents/Tinodios/Base.lproj/Main.storyboard

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions Localizations/zh-Hant.xcloc/contents.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
"developmentRegion" : "en",
"targetLocale" : "zh-Hant",
"toolInfo" : {
"toolBuildNumber" : "13F17a",
"toolBuildNumber" : "14C18",
"toolID" : "com.apple.dt.xcode",
"toolName" : "Xcode",
"toolVersion" : "13.4"
"toolVersion" : "14.2"
},
"version" : "1.0",
"workspace" : "Tinodios.xcworkspace"
Expand Down
10 changes: 5 additions & 5 deletions Tinodios/MessageViewController.swift
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// MessageViewController.swift
//
// Copyright © 2019-2022 Tinode LLC. All rights reserved.
// Copyright © 2019-2023 Tinode LLC. All rights reserved.
//

import MobileVLCKit
Expand Down Expand Up @@ -590,15 +590,15 @@ class MessageViewController: UIViewController {
}

@objc func navBarCallTapped(sender: UIMenuController) {
let alert = UIAlertController(title: "Call", message: nil, preferredStyle: .actionSheet)
let alert = UIAlertController(title: NSLocalizedString("Call", comment: "Menu title for selecting type of call"), message: nil, preferredStyle: .actionSheet)
alert.modalPresentationStyle = .popover
alert.addAction(UIAlertAction(title: "Audio-only", style: .default, handler: { audioCall in
alert.addAction(UIAlertAction(title: NSLocalizedString("Audio-only", comment: "Menu item: audio-only call"), style: .default, handler: { audioCall in
self.performSegue(withIdentifier: "Messages2Call", sender: Constants.kAudioOnlyCall)
}))
alert.addAction(UIAlertAction(title: "Video", style: .default, handler: { videoCall in
alert.addAction(UIAlertAction(title: NSLocalizedString("Video", comment: "Menu item: video call"), style: .default, handler: { videoCall in
self.performSegue(withIdentifier: "Messages2Call", sender: Constants.kVideoCall)
}))
alert.addAction(UIAlertAction(title: "Cancel", style: .cancel, handler: nil))
alert.addAction(UIAlertAction(title: NSLocalizedString("Cancel", comment: "Alert action"), style: .cancel, handler: nil))
if let presentation = alert.popoverPresentationController {
presentation.barButtonItem = navBarCallBtn
}
Expand Down

0 comments on commit 2b16050

Please sign in to comment.