[ticket/12527] Use a proper language string on confirm screen

PHPBB3-12527
This commit is contained in:
Joas Schilling 2014-05-11 13:23:41 +02:00
parent eaa4552412
commit 192bb74e3c
2 changed files with 6 additions and 4 deletions

View file

@ -235,7 +235,7 @@ class acp_language
'action' => $action, 'action' => $action,
'id' => $lang_id, 'id' => $lang_id,
); );
confirm_box(false, $user->lang['CONFIRM_OPERATION'], build_hidden_fields($s_hidden_fields)); confirm_box(false, $user->lang('DELETE_LANGUAGE_CONFIRM', $row['lang_english_name']), build_hidden_fields($s_hidden_fields));
} }
break; break;

View file

@ -38,13 +38,15 @@ $lang = array_merge($lang, array(
'ACP_FILES' => 'Admin language files', 'ACP_FILES' => 'Admin language files',
'ACP_LANGUAGE_PACKS_EXPLAIN' => 'Here you are able to install/remove language packs. The default language pack is marked with an asterisk (*).', 'ACP_LANGUAGE_PACKS_EXPLAIN' => 'Here you are able to install/remove language packs. The default language pack is marked with an asterisk (*).',
'DELETE_LANGUAGE_CONFIRM' => 'Are you sure you wish to delete “%s”?',
'INSTALLED_LANGUAGE_PACKS' => 'Installed language packs', 'INSTALLED_LANGUAGE_PACKS' => 'Installed language packs',
'LANGUAGE_DETAILS_UPDATED' => 'Language details successfully updated.', 'LANGUAGE_DETAILS_UPDATED' => 'Language details successfully updated.',
'LANGUAGE_PACK_ALREADY_INSTALLED' => 'This language pack is already installed.', 'LANGUAGE_PACK_ALREADY_INSTALLED' => 'This language pack is already installed.',
'LANGUAGE_PACK_DELETED' => 'The language pack <strong>%s</strong> has been removed successfully. All users using this language have been reset to the boards default language.', 'LANGUAGE_PACK_DELETED' => 'The language pack “%s” has been removed successfully. All users using this language have been reset to the boards default language.',
'LANGUAGE_PACK_DETAILS' => 'Language pack details', 'LANGUAGE_PACK_DETAILS' => 'Language pack details',
'LANGUAGE_PACK_INSTALLED' => 'The language pack <strong>%s</strong> has been successfully installed.', 'LANGUAGE_PACK_INSTALLED' => 'The language pack “%s” has been successfully installed.',
'LANGUAGE_PACK_CPF_UPDATE' => 'The custom profile fields language strings were copied from the default language. Please change them if necessary.', 'LANGUAGE_PACK_CPF_UPDATE' => 'The custom profile fields language strings were copied from the default language. Please change them if necessary.',
'LANGUAGE_PACK_ISO' => 'ISO', 'LANGUAGE_PACK_ISO' => 'ISO',
'LANGUAGE_PACK_LOCALNAME' => 'Local name', 'LANGUAGE_PACK_LOCALNAME' => 'Local name',