mirror of
https://github.com/nextcloud/android.git
synced 2024-12-18 15:01:57 +03:00
revert translation changes
Signed-off-by: alperozturk <alper_ozturk@proton.me>
This commit is contained in:
parent
de8d45646f
commit
4385285f68
2 changed files with 11 additions and 1 deletions
|
@ -32,7 +32,16 @@ class UploadNotificationManager(private val context: Context, viewThemeUtils: Vi
|
|||
currentUploadIndex: Int,
|
||||
totalUploadSize: Int
|
||||
) {
|
||||
currentOperationTitle = "$currentUploadIndex / $totalUploadSize - ${uploadFileOperation.fileName}"
|
||||
currentOperationTitle = if (totalUploadSize > 1) {
|
||||
String.format(
|
||||
context.getString(R.string.upload_notification_manager_start_text),
|
||||
currentUploadIndex,
|
||||
totalUploadSize,
|
||||
uploadFileOperation.fileName
|
||||
)
|
||||
} else {
|
||||
uploadFileOperation.fileName
|
||||
}
|
||||
|
||||
val progressText = String.format(
|
||||
context.getString(R.string.upload_notification_manager_upload_in_progress_text),
|
||||
|
|
|
@ -223,6 +223,7 @@
|
|||
<string name="upload_chooser_title">Upload from…</string>
|
||||
<string name="uploader_info_dirname">Folder name</string>
|
||||
|
||||
<string name="upload_notification_manager_start_text">%1$d / %2$d - %3$s</string>
|
||||
<string name="upload_notification_manager_upload_in_progress_text" translatable="false">%1$d%%</string>
|
||||
|
||||
<string name="uploader_upload_in_progress_ticker">Uploading…</string>
|
||||
|
|
Loading…
Reference in a new issue