• 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 Programming v
« Previous 1 2 3 4 Next »
Same string ID used two times ?

 
  • 0 Vote(s) - 0 Average
Same string ID used two times ?

TulipVorlax
Offline

Member

Posts: 59
Threads: 8
Joined: Nov 2012
#1
12-29-2013, 03:57 AM (This post was last modified: 12-29-2013, 04:12 AM by TulipVorlax.)
While updating Wings 3D french translation (at last), i've stumbled on this in the file [...]\wings3d_1.5.2_x64\lib\wings-1.5.2\ebin\wings_en.lang

Code:
{wings_shape,
[
  {create_folder,
   [
    {1,"A folder by that name already exists"}
   ]},
  {create_folder_dialog,
   [
    {1,"Choose Folder Name"},
    {2,"Create Folder"}
   ]},
  {do_menu,
   [
    {1,"Duplicate"},
    {2,"Duplicate selected objects"},
    {3,"Delete"},
    {4,"Delete selected objects"},
    {5,"Rename"},
    {6,"Rename selected objects"},
    {7,"Create Folder"},
    {8,"Rename Folder"},
    {9,"Delete Folder"},
    {10,"Delete folder and its contents"},
    {11,"Move to Folder"},
    {12,"Move selected objects to this folder"},
    {13,"Empty Folder"},
    {14,"Remove From Folder"},
    {14,"Rename all selected objects"},
    {15,"Remove Selected From Folders"},
    {15,"Rename objects using Search and Replace"}
   ]},

That last line is using the same ID as the previous one. Is it intentional ? Thanks.

Edit : Oh ! I missed that ID 14 is also used two times. So both 14 and 15 appear twice.
My websites (in french) :
Main • Blog • Shared gallery • 3D Wiki (WIP)

micheus
Offline

Forum's Admin and Support | Bug fixer
Posts: 3,681
Threads: 185
Joined: Jun 2012
#2
12-31-2013, 04:19 PM
(12-29-2013, 03:57 AM)TulipVorlax Wrote: That last line is using the same ID as the previous one. Is it intentional ?
It shouldn't be. I did that changes it has two years. Usually we are advised by the compiler about that - I don't know what happened.

Each function name should use a unique ID for the "strings".

Thanks for report.
TulipVorlax
Offline

Member

Posts: 59
Threads: 8
Joined: Nov 2012
#3
12-31-2013, 07:11 PM
No problem.
When i translate a file i open the english one in the left pane of Notepad++ and the french one in the right pane.
Then i slowly compare each file for any differencies in line number, string ID and all.
Ok, since the main french file has more lines of comment at the start than the english one i began by putting a few blank lines in the english one, but i dont submit the english.
Anyway, this way of doing might not tell me wich already translated strings need updating because the english one changed, but i see what whas removed, added and sometimes i also see when the ID arent the same.
Like in a few cases, some ID was changed to add "_1" at the end but the string stayed the same (and the translation didn't need any uptate).

In fewer words ; i think it's part of my "work" to see things like this. Even if it's late. Lol.
My websites (in french) :
Main • Blog • Shared gallery • 3D Wiki (WIP)

micheus
Offline

Forum's Admin and Support | Bug fixer
Posts: 3,681
Threads: 185
Joined: Jun 2012
#4
01-12-2014, 10:09 PM
I fixed it. I should be applied to the next release of Wings3D.
johncosta
Offline

Junior Member

Posts: 1
Threads: 0
Joined: Jul 2014
#5
07-15-2014, 12:33 PM (This post was last modified: 07-17-2014, 09:59 AM by johncosta.)
sorry i have no idea about that ....

online gambling in Australia
« 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