summaryrefslogtreecommitdiff
path: root/src/corelib/gfx_constants.pas
diff options
context:
space:
mode:
authorgraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2008-02-19 10:19:50 +0000
committergraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2008-02-19 10:19:50 +0000
commit840044a99a1fcdc089565ec2566b1c1741d1bfb0 (patch)
treeb69873745f7339870c0f99c6fe98a40bb589366d /src/corelib/gfx_constants.pas
parent1412d579cee890318673beace9f707a50ded65e6 (diff)
downloadfpGUI-840044a99a1fcdc089565ec2566b1c1741d1bfb0.tar.xz
* Fixed the text for some of the German translations. Lazarus compiled with GTK1 doesn't support Unicode text input.
* Localized some of the Font Dialog to see the localization in action and help decide further steps.
Diffstat (limited to 'src/corelib/gfx_constants.pas')
-rw-r--r--src/corelib/gfx_constants.pas15
1 files changed, 12 insertions, 3 deletions
diff --git a/src/corelib/gfx_constants.pas b/src/corelib/gfx_constants.pas
index e723f674..a4d82de8 100644
--- a/src/corelib/gfx_constants.pas
+++ b/src/corelib/gfx_constants.pas
@@ -14,24 +14,33 @@ interface
resourcestring
-{ Define Compiler language symbol (eg: gr for German) to include the correct
+{ Define Compiler language symbol (eg: de for German) to include the correct
language resource file otherwise the Default (English) resource file will
be used. }
-{.$DEFINE gr} // German
+{.$DEFINE de} // German
{.$DEFINE ru} // Russian
{.$DEFINE fr} // French
{.$DEFINE pt} // Portuguese
+{.$DEFINE za} // Afrikaans
-{$IF defined(gr)}
+
+{$IF defined(de)}
{$I lang_german.inc}
+
{$ELSEIF defined(ru)}
{$I lang_russian.inc}
+
{$ELSEIF defined(fr)}
{$I lang_french.inc}
+
{$ELSEIF defined(pt)}
{$I lang_portuguese.inc}
+
+{$ELSEIF defined(za)}
+ {$I lang_afrikaans.inc}
+
{$ELSE}
{$I lang_english.inc}
{$IFEND}