revert translation changes

Signed-off-by: alperozturk <alper_ozturk@proton.me>
This commit is contained in:
alperozturk 2024-12-11 16:33:02 +01:00
parent de8d45646f
commit 4385285f68
No known key found for this signature in database
GPG key ID: 4E577DC593B59BDF
2 changed files with 11 additions and 1 deletions

View file

@ -32,7 +32,16 @@ class UploadNotificationManager(private val context: Context, viewThemeUtils: Vi
currentUploadIndex: Int, currentUploadIndex: Int,
totalUploadSize: 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( val progressText = String.format(
context.getString(R.string.upload_notification_manager_upload_in_progress_text), context.getString(R.string.upload_notification_manager_upload_in_progress_text),

View file

@ -223,6 +223,7 @@
<string name="upload_chooser_title">Upload from…</string> <string name="upload_chooser_title">Upload from…</string>
<string name="uploader_info_dirname">Folder name</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="upload_notification_manager_upload_in_progress_text" translatable="false">%1$d%%</string>
<string name="uploader_upload_in_progress_ticker">Uploading…</string> <string name="uploader_upload_in_progress_ticker">Uploading…</string>