Commit 3c52fd5b authored by Elodie Gauthier's avatar Elodie Gauthier

Corrections of strings.

Adding a boolean for message consistency when saving either a respeaking either a translation.
parent 015288c5
...@@ -344,8 +344,8 @@ public class ThumbRespeakActivityLig extends AikumaActivity { ...@@ -344,8 +344,8 @@ public class ThumbRespeakActivityLig extends AikumaActivity {
// Move the wave file from the nosync directory to // Move the wave file from the nosync directory to
// the synced directory and write the metadata // the synced directory and write the metadata
recording.write(); recording.write();
Toast.makeText(ThumbRespeakActivityLig.this, String feedback = translateMode ? getString(R.string.translation_saved_into_the_file) : getString(R.string.respeaking_saved_into_the_file);
getString(R.string.respeaking_saved_into_the_file) + recording.getName(),Toast.LENGTH_LONG).show(); Toast.makeText(ThumbRespeakActivityLig.this,feedback + recording.getName(),Toast.LENGTH_LONG).show();
} catch (IOException e) { } catch (IOException e) {
Toast.makeText(ThumbRespeakActivityLig.this, Toast.makeText(ThumbRespeakActivityLig.this,
getString(R.string.failed_to_write_the_respoken_recording_metadata) + getString(R.string.failed_to_write_the_respoken_recording_metadata) +
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment