Rename sound files with -fr suffix for French tones
Add country suffix to sound filenames to clarify the tone standard in use. Remove the unsuffixed and North American variants.
This commit is contained in:
@@ -113,7 +113,7 @@ endif
|
||||
|
||||
# Sounds (fallback for systems without telephony events in sound theme)
|
||||
install_data(
|
||||
'sounds/phone-outgoing-calling.oga',
|
||||
'sounds/phone-outgoing-busy.oga',
|
||||
'sounds/phone-outgoing-calling-fr.oga',
|
||||
'sounds/phone-outgoing-busy-fr.oga',
|
||||
install_dir: join_paths(datadir, calls_name, 'sounds'),
|
||||
)
|
||||
|
||||
@@ -104,10 +104,10 @@ playback_event_to_filename (PlaybackEvent event)
|
||||
{
|
||||
switch (event) {
|
||||
case PLAYBACK_CALLING:
|
||||
return CALLS_SOUNDS_DIR "/phone-outgoing-calling.oga";
|
||||
return CALLS_SOUNDS_DIR "/phone-outgoing-calling-fr.oga";
|
||||
|
||||
case PLAYBACK_BUSY:
|
||||
return CALLS_SOUNDS_DIR "/phone-outgoing-busy.oga";
|
||||
return CALLS_SOUNDS_DIR "/phone-outgoing-busy-fr.oga";
|
||||
|
||||
case PLAYBACK_LAST:
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user