forked from JPMoresmau/eclipsefp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
string externalization in GHC plugin
darcs-hash:20080216165615-34f1c-23dbf656e715d4afb0fa6aca03ef2fe2be06095f.gz
- Loading branch information
Leif Frenzel
committed
Feb 16, 2008
1 parent
16820bb
commit 1e5000d
Showing
10 changed files
with
153 additions
and
93 deletions.
There are no files selected for viewing
42 changes: 42 additions & 0 deletions
42
...askell.ghccompiler/src/net/sf/eclipsefp/haskell/ghccompiler/ui/internal/util/UITexts.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
// Copyright (c) 2006-2008 by Leif Frenzel - see http://leiffrenzel.de | ||
// This code is made available under the terms of the Eclipse Public License, | ||
// version 1.0 (EPL). See http://www.eclipse.org/legal/epl-v10.html | ||
package net.sf.eclipsefp.haskell.ghccompiler.ui.internal.util; | ||
|
||
import org.eclipse.osgi.util.NLS; | ||
|
||
/** <p>provides access to the internationalized UI texts.</p> | ||
* | ||
* @author Leif Frenzel | ||
*/ | ||
public final class UITexts extends NLS { | ||
|
||
// message fields | ||
public static String generalTab_extra; | ||
public static String generalTab_extraMsg; | ||
|
||
public static String ghciTab_note; | ||
public static String ghciTab_options; | ||
|
||
public static String ghcPreferencePage_desc; | ||
public static String ghcPreferencePage_general; | ||
public static String ghcPreferencePage_language; | ||
public static String ghcPreferencePage_moreOptimization; | ||
public static String ghcPreferencePage_optimization; | ||
|
||
public static String levelSelectionDialogField_levelInfo; | ||
public static String levelSelectionDialogField_zeroText; | ||
public static String levelSelectionDialogField_zeroTooltip; | ||
|
||
public static String optimizationTab_general; | ||
public static String optimizationTab_individual; | ||
public static String optimizationTab_individualInfo; | ||
|
||
|
||
private static final String BUNDLE_NAME | ||
= UITexts.class.getPackage().getName() + ".uitexts"; //$NON-NLS-1$ | ||
|
||
static { | ||
NLS.initializeMessages( BUNDLE_NAME, UITexts.class ); | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
....ghccompiler/src/net/sf/eclipsefp/haskell/ghccompiler/ui/internal/util/uitexts.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Copyright (c) 2006-2008 by Leif Frenzel - see http://leiffrenzel.de | ||
# This code is made available under the terms of the Eclipse Public License, | ||
# version 1.0 (EPL). See http://www.eclipse.org/legal/epl-v10.html | ||
generalTab_extra = Extra compiler options | ||
generalTab_extraMsg = Pass these options (please be careful, they are not validated ...)\: | ||
|
||
ghciTab_note = If you check this, please make sure that you have configured only options that make sense for GHCi.\nRefer to the GHC manual for more information. | ||
ghciTab_options = Use GHC compiler settings for GHCi | ||
|
||
ghcPreferencePage_desc = GHC compiler settings | ||
ghcPreferencePage_general = General | ||
ghcPreferencePage_language = Language Options | ||
ghcPreferencePage_moreOptimization = More Optimization | ||
ghcPreferencePage_optimization = Optimization | ||
|
||
levelSelectionDialogField_levelInfo = These options specify convenient "packages" of optimization flags. | ||
levelSelectionDialogField_zeroText = Do not specify an optimization level. | ||
levelSelectionDialogField_zeroTooltip = Do not specify an optimization level.\nPass no -O* option. | ||
|
||
optimizationTab_general = General Optimization | ||
optimizationTab_individual = Individual Optimizations | ||
optimizationTab_individualInfo = These are individual optimization settings.\n(more of them are on the next tab). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.