Where/how to find command table?

Started by Mees Dekker, May 06, 2014, 09:46:41 PM

Previous topic - Next topic

Mees Dekker

In build 154 an brandnew feature was introduced : Spell checker.

I resulted in some new items that should be translated into other languages. Although I did find most new items and translated them into Dutch, I did not succeed to find the 42 missing items in the [command_table] (see listed items below). Where can I find these missing items?

Testing file 'C:\ProgramData\photools.com\IMatch5\resources\imatch5res.xml' for missing language resources for langid 'nl'
[command_table]
   ID_CMD_SPELL_CHECKNOW
   ID_CMD_SPELL_USERDIC_ADD
   ID_CMD_SPELL_SUGGESTION_1
   ID_CMD_SPELL_SUGGESTION_2
   ID_CMD_SPELL_SUGGESTION_3
   ID_CMD_SPELL_SUGGESTION_4
   ID_CMD_SPELL_SUGGESTION_5
   ID_CMD_SPELL_SUGGESTION_6
   ID_CMD_SPELL_SUGGESTION_7
   ID_CMD_SPELL_SUGGESTION_8
   ID_CMD_SPELL_SUGGESTION_9
   ID_CMD_SPELL_SUGGESTION_10
   ID_CMD_SPELL_SUGGESTION_11
   ID_CMD_SPELL_SUGGESTION_12
   ID_CMD_SPELL_SUGGESTION_13
   ID_CMD_SPELL_SUGGESTION_14
   ID_CMD_SPELL_SUGGESTION_15
   ID_CMD_SPELL_SUGGESTION_16
   ID_CMD_SPELL_SUGGESTION_17
   ID_CMD_SPELL_SUGGESTION_18
   ID_CMD_SPELL_SUGGESTION_19
   ID_CMD_SPELL_SUGGESTION_20
   ID_CMD_SPELL_LANG_1
   ID_CMD_SPELL_LANG_2
   ID_CMD_SPELL_LANG_3
   ID_CMD_SPELL_LANG_4
   ID_CMD_SPELL_LANG_5
   ID_CMD_SPELL_LANG_6
   ID_CMD_SPELL_LANG_7
   ID_CMD_SPELL_LANG_8
   ID_CMD_SPELL_LANG_9
   ID_CMD_SPELL_LANG_10
   ID_CMD_SPELL_LANG_11
   ID_CMD_SPELL_LANG_12
   ID_CMD_SPELL_LANG_13
   ID_CMD_SPELL_LANG_14
   ID_CMD_SPELL_LANG_15
   ID_CMD_SPELL_LANG_16
   ID_CMD_SPELL_LANG_17
   ID_CMD_SPELL_LANG_18
   ID_CMD_SPELL_LANG_19
   ID_CMD_SPELL_LANG_20
[42 missing resources]

Mario

I can see them in the XML file you have last commited...??

ID_CMD_SPELL_CHECKNOW is the first, all other resources are directly below it. There are already "it" and "pt" resources.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

Mees Dekker

I am either looking the wrong way or doing something else very stupid. The "find"option of Notepad does not retrun any matches on this.

What file are you exactly referring to? What linenumber in that file?

Mario

Search for ID_CMD_SPELL_CHECKNOW in imatch5res.xml (Line 12949)

(I recommend NotePad++ for editing XML files. It's free and cool).
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

jch2103

John

Mees Dekker

Gotcha. Thanks for the suggestions.

And yes: I did find it after all at the linenumber you suggested.

Actually: I am using Notepad++ for all XML editing. I'm still puzzled why Notepad++ did and does not return any match on this search-item on my system (which is very reliable, W7 pro).

Mario

Maybe accidentally enabled a wrong find option (regexp or something)?

Tip: The built-in Viewer in SVN Tortoise also has find functions.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook