nextcloud / android

📱 Nextcloud Android app
https://play.google.com/store/apps/details?id=com.nextcloud.client
GNU General Public License v2.0
4.32k stars 1.78k forks source link

l10n: Need context #14073

Closed rakekniven closed 3 days ago

rakekniven commented 4 days ago

Please add context as comment to file

https://github.com/nextcloud/android/blob/0a1336a10f3f72573ae3e284980efe0ebbd33f92/app/src/main/res/values/strings.xml#L519

Reported at Transifex.

rakekniven commented 4 days ago

@ZetaTom You maybe?

ZetaTom commented 3 days ago

This string is used in the new storage location dialogue (#14005). At runtime %1$s is replaced with with either storage_internal_storage (Internal Storage) or storage_external_storage (External Storage). The two values in brackets represent the amount of used storage space (%2$s) and the total amount of available storage space for that location (%3$s).

data_storage_location_new

CafeTango commented 3 days ago

@ZetaTom Thank you for the clarification. However, from a translator point of view, we are unable to translate variables (in this case %1$s, %2$s and %3$s, please see screen shot) and the only items available for translation are the punctuation marks. And punctuation marks, I believe, are universal across languages.

As reference, below shows the string that are to be translated.

Image