rename string id

This commit is contained in:
AndyScherzinger 2018-07-11 17:23:49 +02:00
parent 0b8e40d828
commit 4aecb705d1
No known key found for this signature in database
GPG key ID: 6CADC7E3523C308B
2 changed files with 2 additions and 2 deletions

View file

@ -472,7 +472,7 @@ public class MediaService extends Service implements OnCompletionListener, OnPre
} catch (SecurityException | IOException | IllegalStateException | IllegalArgumentException e) { } catch (SecurityException | IOException | IllegalStateException | IllegalArgumentException e) {
Log_OC.e(TAG, e.getClass().getSimpleName() + " playing " + mAccount.name + mFile.getRemotePath(), e); Log_OC.e(TAG, e.getClass().getSimpleName() + " playing " + mAccount.name + mFile.getRemotePath(), e);
Toast.makeText(this, String.format(getString(R.string.media_err_unexpected), mFile.getFileName()), Toast.makeText(this, String.format(getString(R.string.media_err_playing), mFile.getFileName()),
Toast.LENGTH_LONG).show(); Toast.LENGTH_LONG).show();
processStopRequest(true); processStopRequest(true);
} }

View file

@ -231,7 +231,7 @@
<string name="media_err_timeout">Attempt to play file timed out</string> <string name="media_err_timeout">Attempt to play file timed out</string>
<string name="media_err_invalid_progressive_playback">The media file can not be streamed</string> <string name="media_err_invalid_progressive_playback">The media file can not be streamed</string>
<string name="media_err_unknown">The built-in media player is unable to play the media file</string> <string name="media_err_unknown">The built-in media player is unable to play the media file</string>
<string name="media_err_unexpected">Unexpected error while trying to play %1$s</string> <string name="media_err_playing">Unexpected error while trying to play %1$s</string>
<string name="media_rewind_description">Rewind button</string> <string name="media_rewind_description">Rewind button</string>
<string name="media_play_pause_description">Play or pause button</string> <string name="media_play_pause_description">Play or pause button</string>
<string name="media_forward_description">Fast forward button</string> <string name="media_forward_description">Fast forward button</string>