World Wide Navi Help
Restore Strings

Externalized strings by String Externalization can be put back to the original source codes from resource files in
[Right Click On Editors] -> [I18N] -> [Restore Strings], or
[Ctrl + T].

Select the resource key correctly in source codes (not resource files) on editors and do this operation.

Restorable strings are only the strings loaded by the default string-loading functions (wwnaviGetString and others).
If you edit the preferences and change the functions, original source codes cannot be restored.

Resource Key Syntax

Resource key syntax in source codes are follows.

[PO File] (by gettext externalization)
_(N_("Resource key")) 
OK ... _(N_("Character length is %d\n"))
NG ... _(N_("Character length is %d\n")), _(N_("Character length is %d\n"))


[RC File] (by Windows DLL externalization)
wwnaviGetString(Resource key)
OK ... wwnaviGetString(IDS_MSG_WWNAVI1)
NG ... wwnaviGetString(IDS_MSG_WWNAVI1)


[Resx File] (by .NET externalization)
Wwnavi::/.Resource::/.GetString("Resource key")
OK ... Wwnavi::Resource::GetString("wwnavi.Msg.Id1")
NG ... Wwnavi::Resource::GetString("wwnavi.Msg.Id1"), Wwnavi::Resource::GetString("wwnavi.Msg.Id1")


[Properties File] (by Java externalization)
wwnaviBundle.getString("Resource key")
OK ... wwnaviBundle.getString("me.tree.MainPanel.1")
NG ... wwnaviBundle.getString("me.tree.MainPanel.1"), wwnaviBundle.getString("me.tree.MainPanel.1")


*Other resource files are currently not supported.


Go to Index


Copyright (C) 2012 Kokusaika JP, Inc.
All rights reserved. No reproduction or republication without written permission.