Feature #80

localizable menus

Added by J. Templ about 3 years ago. Updated about 3 years ago.

Status:ClosedStart date:10/27/2015
Priority:NormalDue date:
Assignee:J. Templ% Done:

90%

Category:-
Target version:1.7
Forum topic:

Description

The labels for menus and menu items should use Strings resources
(mapping via Dialog.MapString) in order to support localization
for other languages.
A proposal exists in CPC 1.7 rc5.
Reported by Helmut Zinn and Ivan Denisov 2014-10-12.

Refers to CPC 1.7 rc5 change list numbers 69, 70.

Associated revisions

Revision 85a3fc1d
Added by J. Templ about 3 years ago

localizable menus. Refs: #80.
Mostly as proposed by Helmut Zinn and Ivan Denisov in CPC 1.7 rc5.
Menu items with a TAB inside are now supported by Dialog.MapString.
Key 'PageSetup' reused instead of introducing a new key 'Page Setup' in System/Rsrc/Strings.
Key 'HelpContents' renamed to 'Help Contents'.

Signed-off-by: Josef Templ <>

Revision 2cadb43b
Added by J. Templ about 3 years ago

bug fix in ReadStringFile. Refs: #80.
End of string detection uses the termination character 0X
in order to allow for TABs.

Signed-off-by: Josef Templ <>

Revision 7b141945
Added by J. Templ about 3 years ago

Dev menus added. Refs: #80.
as proposed in CPC 1.7 rc6 with the following modifications:
1. key 'Clear Log' was not unique, so I changed it in the menu to 'ClearLog'.
2. The keys starting with 'Ctls' don't belong to Dev but to the CPC package Ctls, so they have been removed.

Signed-off-by: Josef Templ <>

Revision 51cc4aac
Added by J. Templ about 3 years ago

Text menus added. Refs: #80.
as proposed in CPC 1.7 rc6 with the following modifications:
1. String resources with '[tab] ' rewritten to use simple TAB
2. String resources for text dialogs not yet included because they belong to a different issue.

Signed-off-by: Josef Templ <>

Revision e597a17e
Added by J. Templ about 3 years ago

Form and Sql menus added. Refs: #80.
as proposed in CPC 1.7 rc6 with the following modification:
String resources for Form/Sql dialogs not yet included because they belong to a different issue.

Signed-off-by: Josef Templ <>

Revision f4a90095
Added by J. Templ about 3 years ago

keys made unambiguous. Refs: #80.

Signed-off-by: Josef Templ <>

Revision 499789ea
Added by J. Templ about 3 years ago

debug feature added to Dialog. Refs: #80.
With the logXXX flags various inconsistencies in the usage of Strings resources can be logged.
Bug fixed in DevInspector when generating subsystem names for System.
#System:Deleting and #System:Inserting added as proposed in CPC 1.7rc6.
Redundant #Host:HostBitmaps.ExportBitmap removed.

Signed-off-by: Josef Templ <>

Revision 9ba9331c
Added by J. Templ about 3 years ago

fix for qualified names without subsystem in Kernel.SplitName. Refs: #80.
DevInspector adapted to fix in Kernel.SplitName.

Revision deafe6cc
Added by J. Templ about 3 years ago

& prepended to keys of menus and menu items. Refs: #80.
As proposed by Helmut Zinn.
Prepending '&' helps to avoid key conflicts in the Strings resource files.
In addition:
Localization support added to menu COM.
SQL menu slightly reordered, viz. examples moved down to Help section.

Signed-off-by: Josef Templ <>

History

#1 Updated by I. Denisov about 3 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 90

Also available in: Atom PDF