Merge pull request #3576 from deltachat/r10s/empty-apps-wording

tweak wording in empty "all apps" and "all files" views
This commit is contained in:
adb 2025-02-03 00:49:01 +01:00 committed by GitHub
commit 089ecc67d1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 8 additions and 1 deletions

View file

@ -121,7 +121,13 @@ public class ProfileDocumentsFragment
noMedia.setVisibility(recyclerView.getAdapter().getItemCount() > 0 ? View.GONE : View.VISIBLE);
if (chatId == DC_CHAT_NO_CHAT) {
noMedia.setText(R.string.tab_all_media_empty_hint);
if (showWebxdc) {
noMedia.setText(R.string.all_apps_empty_hint);
} else if (!showAudio){
noMedia.setText(R.string.all_files_empty_hint);
} else {
noMedia.setText(R.string.tab_all_media_empty_hint);
}
} else if (showAudio) {
noMedia.setText(R.string.tab_audio_empty_hint);
} else if (showWebxdc) {

View file

@ -514,6 +514,7 @@
<string name="tab_audio_empty_hint">Audio files and voice messages shared in this chat will appear here.</string>
<string name="tab_webxdc_empty_hint">Apps shared in this chat will appear here.</string>
<string name="tab_all_media_empty_hint">Media shared in any chat will appear here.</string>
<string name="all_files_empty_hint">Documents and other files shared in any chat will appear here.</string>
<string name="all_apps_empty_hint">Apps received or sent in any chat will appear here.</string>
<string name="media_preview">Media Preview</string>
<!-- option to show images in the gallery with the correct width/height aspect (instead of square); other gallery apps may be a source of inspiration for translation :) -->