• Website
  • Search
  • Member List
  • Help
  • Old Forum
  • Social Media
    •   @Wings3dOfficial
    •   @Wings3dOfficial
    •   Wings3dOfficial
    •   Wings3dOfficial
  • Register
  • Login
  • Website
  • Search
  • Member List
  • Help
  • Old Forum
  • Register
  • Login
Wings 3D Development Forum Wings 3D Bug Reports v
« Previous 1 … 19 20 21 22 23 … 35 Next »
[fixed] Language resrc problem,Help > How to defined Hotkeys

 
  • 0 Vote(s) - 0 Average
[fixed] Language resrc problem,Help > How to defined Hotkeys

tkbd
Offline

Senior Member

Posts: 451
Threads: 115
Joined: Nov 2012
#1
06-22-2016, 02:41 PM (This post was last modified: 06-24-2016, 01:38 AM by micheus.)
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}]}]
micheus
Offline

Forum's Admin and Support | Bug fixer
Posts: 3,677
Threads: 183
Joined: Jun 2012
#2
06-23-2016, 09:23 PM (This post was last modified: 06-24-2016, 01:37 AM by micheus.)
tkbd, thanks for report it.

The language files for replacement can be download here.
[Image: tw.png] @MicheusVieira [Image: yt.png] @MicheusVieira [Image: da.png] Micheuss [Image: ig.png] micheus4wings3d
* Wings3D Team stands for: Björn and Dan
tkbd
Offline

Senior Member

Posts: 451
Threads: 115
Joined: Nov 2012
#3
06-24-2016, 11:09 AM
Micheus,Thank you for prompt fix!!
I installed and checked these langfiles.

Then,only in the French version(wings_fr.lang) , the order of the macro number was incorrect .
This causes an error in a French version. Please fix it.

Currently French version...
Quote: {def_hotkeys,
[
{1,"Toute commande qui figure dans un menu peut être assignée à une touche de raccourci."},
{4,"Pour assigner une commande à une touche de raccourci :"},
{5,"1. Appuyez sur la touche ~ts ou la touche ~ts."},
{6,"2. Affichez le menu contenant la commande et placez le curseur vis-à-vis d'elle de sorte qu'elle soit surlignée."},
{8,"3. La ligne d'information demande alors d'appuyer sur la touche du clavier à laquelle vous souhaitez lier la commande."},
{9,"Pour effacer un raccourcis, Appuyez sur la touche ~ts ou la touche ~ts ouvrez le menu et placez le curseur de la souris sur la commande. Une fenêtre énumérant toutes les touches déjà assignées à la commande apparaitra afin de vous permettre de choisir quels raccourcis vous souhaitez supprimer. Cochez les cases des raccourcis à effacer et validez."}
]},

Change to...
Quote: {def_hotkeys,
[
{1,"Toute commande qui figure dans un menu peut être assignée à une touche de raccourci."},
{4,"Pour assigner une commande à une touche de raccourci :"},
{6,"1. Appuyez sur la touche ~ts ou la touche ~ts."},
{5,"2. Affichez le menu contenant la commande et placez le curseur vis-à-vis d'elle de sorte qu'elle soit surlignée."},
{8,"3. La ligne d'information demande alors d'appuyer sur la touche du clavier à laquelle vous souhaitez lier la commande."},
{9,"Pour effacer un raccourcis, Appuyez sur la touche ~ts ou la touche ~ts ouvrez le menu et placez le curseur de la souris sur la commande. Une fenêtre énumérant toutes les touches déjà assignées à la commande apparaitra afin de vous permettre de choisir quels raccourcis vous souhaitez supprimer. Cochez les cases des raccourcis à effacer et validez."}
]},

Other Lanuguage data was okay Smile.
micheus
Offline

Forum's Admin and Support | Bug fixer
Posts: 3,677
Threads: 183
Joined: Jun 2012
#4
06-24-2016, 11:13 AM (This post was last modified: 06-24-2016, 11:47 AM by micheus.)
Thanks for checking.
The file is updated!
[Image: tw.png] @MicheusVieira [Image: yt.png] @MicheusVieira [Image: da.png] Micheuss [Image: ig.png] micheus4wings3d
* Wings3D Team stands for: Björn and Dan
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D - Powered by MyBB

Linear Mode
Threaded Mode