mirror of
https://github.com/SimpleMobileTools/Simple-Voice-Recorder.git
synced 2025-02-10 08:40:44 +01:00
show a different placeholder message depending on the system version
This commit is contained in:
parent
3c52f4d8c8
commit
a97731ee86
@ -126,6 +126,8 @@ class PlayerFragment(context: Context, attributeSet: AttributeSet) : MyViewPager
|
||||
|
||||
recordings_placeholder.beVisibleIf(recordings.isEmpty())
|
||||
if (recordings.isEmpty()) {
|
||||
val stringId = if (isQPlus()) R.string.no_recordings_found else R.string.no_recordings_in_folder_found
|
||||
recordings_placeholder.text = context.getString(stringId)
|
||||
resetProgress(null)
|
||||
player?.stop()
|
||||
}
|
||||
|
@ -4,6 +4,7 @@
|
||||
<string name="recording_saved_successfully">Nahrávka bola uložená ako \n\"%s\"</string>
|
||||
<string name="recording">Nahráva sa</string>
|
||||
<string name="no_recordings_found">Nenašli sa žiadne nahrávky\nvytvorené touto aplikáciou</string>
|
||||
<string name="no_recordings_in_folder_found">V zvolenom priečinku sa nenašli\nžiadne nahrávky</string>
|
||||
|
||||
<!-- Confirmation dialog -->
|
||||
<string name="delete_recordings_confirmation">Ste si istý, že chcete odstrániť %s?</string> <!-- Are you sure you want to delete 5 recordings? -->
|
||||
|
@ -4,6 +4,7 @@
|
||||
<string name="recording_saved_successfully">Recording saved successfully as\n\"%s\"</string>
|
||||
<string name="recording">Recording</string>
|
||||
<string name="no_recordings_found">No recordings created by this app\nhave been found</string>
|
||||
<string name="no_recordings_in_folder_found">No recordings have been found\nin the selected folder</string>
|
||||
|
||||
<!-- Confirmation dialog -->
|
||||
<string name="delete_recordings_confirmation">Are you sure you want to delete %s?</string> <!-- Are you sure you want to delete 5 recordings? -->
|
||||
|
Loading…
x
Reference in New Issue
Block a user