Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 
Share Thread:
Reddit Facebook Twitter
[fixed] Language resrc problem,Help > How to defined Hotkeys
06-22-2016, 02:41 PM (This post was last modified: 06-24-2016 01:38 AM by micheus.)
Post: #1
[fixed] Language resrc problem,Help > How to defined Hotkeys
In menubar,select Help > How to defined Hotkeys,then Wings3D make crash log
Of cause,it can't read the document.

Crash in a following Language(Probably All OS):
French(fr),German(de),Japanese(jp),Korean(ko),Turkey(tr) Simplefied Chinese(Zh-cn),Traditional Chinese(Zh-tw)

Translators of each language should be update for built-in help document change to newer.
In prevous update(2.0.3 ?), it had been changed the hot key feature.
So,sentence has been changed.


Reason:In the translation strings.Missing of the format replace string "~ts" cause this crash

Reference for Translators:
See wings_**.lang (It is a translation file for Wings core,not plugins's)

Search 'def_hotkeys' keyword in the file,and fix corresponding locations(two resouces).
Quote: {6,"1. Press ~ts or ~ts key."},
{9,"To delete a hotkey, similarly press the~ts or ~ts key and select ...

Change for example (Note: fix by your language, this example's case it written by english)
Quote:Before {6,"2. Press [Insert] key or [\] key."},
After {6,"1. Press ~ts or ~ts key."},

Before {9,"To delete a hotkey, similarly highlight the command in a menu, and press the [Del] or [\\] key....
After {9,"To delete a hotkey, similarly press the~ts or ~ts key and select ...

Reference for Developers:
Japanse version:
Code:
Dump written 2016-6-22_19-30
Version: 2.0.5
Window: geom
Reason: badarg

Short stack trace:
[]

Long stack trace:
[{io_lib,format,
         [[50,46,91,73,110,115,101,114,116,93,12461,12540,12414,12383,12399,
           91,47,93,12461,12540,12434,25276,12375,12390,12367,12384,12373,
           12356,46],
          [[[8984],73,110,115,101,114,116],[[8984],56]]],
         [{file,"io_lib.erl"},{line,168}]},
{wings_help,def_hotkeys,1,[{file,"wings_help.erl"},{line,263}]},
{wings_develop,time_command,2,[{file,"wings_develop.erl"},{line,81}]},
{wings,raw_command,4,[{file,"wings.erl"},{line,638}]},
{wings_wm,handle_event,3,[{file,"wings_wm.erl"},{line,932}]},
{wings_wm,send_event,2,[{file,"wings_wm.erl"},{line,903}]},
{wings_wm,do_dispatch,2,[{file,"wings_wm.erl"},{line,768}]},
{wings_wm,get_and_dispatch,0,[{file,"wings_wm.erl"},{line,660}]}]


German version:

Code:
Dump written 2016-6-22_23-25
Version: 2.0.5
Window: geom
Reason: badarg

Short stack trace:
[]

Long stack trace:
[{io_lib,format,
         ["2. Dr髜ken Sie die [Einfg] oder die [/] Taste.",
          [[[8984],69,105,110,102,103],[[8984],56]]],
         [{file,"io_lib.erl"},{line,168}]},
{wings_help,def_hotkeys,1,[{file,"wings_help.erl"},{line,263}]},
{wings_develop,time_command,2,[{file,"wings_develop.erl"},{line,81}]},
{wings,raw_command,4,[{file,"wings.erl"},{line,638}]},
{wings_wm,handle_event,3,[{file,"wings_wm.erl"},{line,932}]},
{wings_wm,send_event,2,[{file,"wings_wm.erl"},{line,903}]},
{wings_wm,do_dispatch,2,[{file,"wings_wm.erl"},{line,768}]},
{wings_wm,get_and_dispatch,0,[{file,"wings_wm.erl"},{line,660}]}]
Reply


Messages In This Thread
[fixed] Language resrc problem,Help > How to defined Hotkeys - tkbd - 06-22-2016 02:41 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)