Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-client-ios
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-client-ios
Commits
3a52073e
Commit
3a52073e
authored
4 years ago
by
Kateryna Kostiuk
Browse files
Options
Downloads
Patches
Plain Diff
iOS: fix translations
Change-Id: I933d59474e674c652c3d23ccfb10151a2136aed3
parent
48b9c4bb
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Ring/Ring/Features/Conversations/Conversation/ConversationViewController.swift
+4
-6
4 additions, 6 deletions
...nversations/Conversation/ConversationViewController.swift
Ring/Ring/Resources/en.lproj/Localizable.strings
+5
-1
5 additions, 1 deletion
Ring/Ring/Resources/en.lproj/Localizable.strings
with
9 additions
and
7 deletions
Ring/Ring/Features/Conversations/Conversation/ConversationViewController.swift
+
4
−
6
View file @
3a52073e
...
...
@@ -161,16 +161,14 @@ class ConversationViewController: UIViewController,
}
@objc
func
imageTapped
()
{
let
alert
=
UIAlertController
.
init
(
title
:
nil
,
message
:
nil
,
preferredStyle
:
.
alert
)
let
pictureAction
=
UIAlertAction
(
title
:
"Upload photo or movie"
,
style
:
UIAlertAction
.
Style
.
default
)
{[
weak
self
]
_
in
let
pictureAction
=
UIAlertAction
(
title
:
L10n
.
Alerts
.
uploadPhoto
,
style
:
UIAlertAction
.
Style
.
default
)
{[
weak
self
]
_
in
self
?
.
checkPhotoLibraryPermission
()
}
let
recordVideoAction
=
UIAlertAction
(
title
:
"R
ecord
a v
ideo
m
essage
"
,
style
:
UIAlertAction
.
Style
.
default
)
{[
weak
self
]
_
in
let
recordVideoAction
=
UIAlertAction
(
title
:
L10n
.
Alerts
.
r
ecord
V
ideo
M
essage
,
style
:
UIAlertAction
.
Style
.
default
)
{[
weak
self
]
_
in
if
AVCaptureDevice
.
authorizationStatus
(
for
:
AVMediaType
.
audio
)
==
AVAuthorizationStatus
.
authorized
{
if
AVCaptureDevice
.
authorizationStatus
(
for
:
AVMediaType
.
video
)
==
AVAuthorizationStatus
.
authorized
{
self
?
.
viewModel
.
recordVideoFile
()
...
...
@@ -204,7 +202,7 @@ class ConversationViewController: UIViewController,
}
}
let
recordAudioAction
=
UIAlertAction
(
title
:
"Record an a
udio
m
essage
"
,
style
:
UIAlertAction
.
Style
.
default
)
{
[
weak
self
]
_
in
let
recordAudioAction
=
UIAlertAction
(
title
:
L10n
.
Alerts
.
recordA
udio
M
essage
,
style
:
UIAlertAction
.
Style
.
default
)
{
[
weak
self
]
_
in
if
AVCaptureDevice
.
authorizationStatus
(
for
:
AVMediaType
.
audio
)
==
AVAuthorizationStatus
.
authorized
{
self
?
.
viewModel
.
recordAudioFile
()
}
else
{
...
...
@@ -218,7 +216,7 @@ class ConversationViewController: UIViewController,
}
}
let
documentsAction
=
UIAlertAction
(
title
:
"U
pload
f
ile
"
,
style
:
UIAlertAction
.
Style
.
default
)
{
_
in
let
documentsAction
=
UIAlertAction
(
title
:
L10n
.
Alerts
.
u
pload
F
ile
,
style
:
UIAlertAction
.
Style
.
default
)
{
_
in
self
.
importDocument
()
}
...
...
This diff is collapsed.
Click to expand it.
Ring/Ring/Resources/en.lproj/Localizable.strings
+
5
−
1
View file @
3a52073e
...
...
@@ -133,6 +133,10 @@
"alerts.noMediaPermissionsTitle" = "Media permission not granted";
"alerts.noLibraryPermissionsTitle" = "Access to photo library not granted";
"alerts.errorWrongCredentials" = "Cannot connect to provided account manager. Please check your credentials";
"alerts.recordVideoMessage" = "Record a video message";
"alerts.recordAudioMessage" = "Record an audio message";
"alerts.uploadFile" = "Upload file";
"alerts.uploadPhoto" = "Upload photo or movie";
//Actions
"actions.blockAction" = "Block";
...
...
@@ -162,7 +166,7 @@
"accountPage.usernameNotRegistered" = "username: not registered";
"accountPage.credentialsHeader" = "Account Details";
"accountPage.enableProxy" = "Enable Proxy";
"accountPage.blockedContacts" = "Block
List
";
"accountPage.blockedContacts" = "Block
ed contacts
";
"accountPage.unblockContact" = "UNBLOCK";
"accountPage.proxyAddressAlert" = "Provide proxy address";
"accountPage.enableProxy" = "Enable Proxy";
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment