EXT-8425 ADDITIONAL FIX Fixed broken translation of accelerators which was introduced by fix of this bug in changeset 14331:11122e1fc5cf.
Removed "Key_" prefix from new key strings and from function that finds them, because it broke translation of old accelerator strings. Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/861/ --HG-- branch : product-enginemeow-7.2.2
parent
823588b393
commit
492c189e24
|
|
@ -107,7 +107,7 @@ public:
|
|||
{
|
||||
std::string key_str(keystring);
|
||||
std::string trans_str;
|
||||
return findString(trans_str, "Key_" + key_str) ? trans_str : key_str;
|
||||
return findString(trans_str, key_str) ? trans_str : key_str;
|
||||
}
|
||||
|
||||
// get the default args
|
||||
|
|
|
|||
|
|
@ -2282,8 +2282,8 @@ Expected .wav, .tga, .bmp, .jpg, .jpeg, or .bvh
|
|||
<string name="accel-win-alt">Alt+</string>
|
||||
<string name="accel-win-shift">Shift+</string>
|
||||
|
||||
<string name="Key_Esc">Esc</string>
|
||||
<string name="Key_Home">Home</string>
|
||||
<string name="Esc">Esc</string>
|
||||
<string name="Home">Home</string>
|
||||
|
||||
<!-- Previews -->
|
||||
<string name="FileSaved">File Saved</string>
|
||||
|
|
|
|||
Loading…
Reference in New Issue