Screenshot instructions:
Windows
Mac
Red Hat Linux
Ubuntu
Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
You can subscribe to this list here.
2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(30) |
Jun
(37) |
Jul
(1) |
Aug
(4) |
Sep
(8) |
Oct
(27) |
Nov
(88) |
Dec
(138) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
(117) |
Feb
(33) |
Mar
|
Apr
|
May
|
Jun
(15) |
Jul
|
Aug
(20) |
Sep
(214) |
Oct
(58) |
Nov
|
Dec
(5) |
2006 |
Jan
|
Feb
(23) |
Mar
(249) |
Apr
(168) |
May
(56) |
Jun
(68) |
Jul
(61) |
Aug
(352) |
Sep
(94) |
Oct
(492) |
Nov
(258) |
Dec
(70) |
2007 |
Jan
(152) |
Feb
(183) |
Mar
(97) |
Apr
(92) |
May
|
Jun
(47) |
Jul
(79) |
Aug
(21) |
Sep
(49) |
Oct
(58) |
Nov
(62) |
Dec
(28) |
2008 |
Jan
(26) |
Feb
(34) |
Mar
(11) |
Apr
(9) |
May
(1) |
Jun
|
Jul
(5) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2009 |
Jan
(2) |
Feb
(6) |
Mar
(66) |
Apr
(46) |
May
(4) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2010 |
Jan
|
Feb
|
Mar
(17) |
Apr
(4) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
2011 |
Jan
(87) |
Feb
(16) |
Mar
(6) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(2) |
2012 |
Jan
|
Feb
|
Mar
|
Apr
(10) |
May
(19) |
Jun
(3) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2014 |
Jan
|
Feb
|
Mar
(2) |
Apr
(53) |
May
(28) |
Jun
(45) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(8) |
Oct
|
Nov
|
Dec
|
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
|
|
|
|
|
|
1
|
2
|
3
|
4
|
5
(6) |
6
(2) |
7
|
8
(15) |
9
(13) |
10
|
11
(10) |
12
(6) |
13
(10) |
14
(15) |
15
(7) |
16
(15) |
17
(8) |
18
(4) |
19
(13) |
20
(4) |
21
(9) |
22
|
23
|
24
|
25
(14) |
26
(17) |
27
|
28
|
29
|
30
|
|
|
|
|
|
|
From: <jtcfrost-cvs-admin@li...> - 2006-04-26 13:24:20
|
Update of /cvsroot/jtcfrost/frost-wot/source/frost/util/gui/translation In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15084/source/frost/util/gui/translation Modified Files: FrostResourceBundle.java Log Message: update Index: FrostResourceBundle.java =================================================================== RCS file: /cvsroot/jtcfrost/frost-wot/source/frost/util/gui/translation/FrostResourceBundle.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** FrostResourceBundle.java 26 Apr 2006 10:26:53 -0000 1.2 --- FrostResourceBundle.java 26 Apr 2006 13:24:06 -0000 1.3 *************** *** 76,78 **** --- 76,82 ---- return value; } + + public Collection getKeys() { + return bundle.keySet(); + } } |
From: <jtcfrost-cvs-admin@li...> - 2006-04-26 11:34:25
|
Update of /cvsroot/jtcfrost/frost-wot/source/frost/fileTransfer/download In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24251/source/frost/fileTransfer/download Modified Files: DownloadModelXmlDAO.java Log Message: removed old LangRes classes, some fixes Index: DownloadModelXmlDAO.java =================================================================== RCS file: /cvsroot/jtcfrost/frost-wot/source/frost/fileTransfer/download/DownloadModelXmlDAO.java,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** DownloadModelXmlDAO.java 8 Apr 2006 13:57:05 -0000 1.8 --- DownloadModelXmlDAO.java 26 Apr 2006 11:34:21 -0000 1.9 *************** *** 36,41 **** private static Logger logger = Logger.getLogger(DownloadModelXmlDAO.class.getName()); - private static ResourceBundle langRes = java.util.ResourceBundle.getBundle("res.LangRes"); - private static final String XML_FILENAME = "downloads.xml"; private static final String TMP_FILENAME = "downloads.xml.tmp"; --- 36,39 ---- *************** *** 98,112 **** } ! if (iState < 0) { ! // old format: states are saved in XML as LangRes Strings ! if (state.equals(langRes.getString("Done")) == false) { ! iState = FrostDownloadItem.STATE_WAITING; ! } ! } else { // new format: states are saved in XML as numbers if (iState != FrostDownloadItem.STATE_DONE) { iState = FrostDownloadItem.STATE_WAITING; } ! } boolean isDownloadEnabled = false; --- 96,110 ---- } ! // if (iState < 0) { ! // // old format: states are saved in XML as LangRes Strings ! // if (state.equals(langRes.getString("Done")) == false) { ! // iState = FrostDownloadItem.STATE_WAITING; ! // } ! // } else { // new format: states are saved in XML as numbers if (iState != FrostDownloadItem.STATE_DONE) { iState = FrostDownloadItem.STATE_WAITING; } ! // } boolean isDownloadEnabled = false; |
From: <jtcfrost-cvs-admin@li...> - 2006-04-26 11:34:25
|
Update of /cvsroot/jtcfrost/frost-wot/source/frost/fileTransfer/upload In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24251/source/frost/fileTransfer/upload Modified Files: UploadThread.java UploadModelXmlDAO.java Log Message: removed old LangRes classes, some fixes Index: UploadModelXmlDAO.java =================================================================== RCS file: /cvsroot/jtcfrost/frost-wot/source/frost/fileTransfer/upload/UploadModelXmlDAO.java,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** UploadModelXmlDAO.java 22 Mar 2006 20:15:19 -0000 1.10 --- UploadModelXmlDAO.java 26 Apr 2006 11:34:21 -0000 1.11 *************** *** 38,43 **** private static Logger logger = Logger.getLogger(UploadModelXmlDAO.class.getName()); - private static ResourceBundle langRes = java.util.ResourceBundle.getBundle("res.LangRes"); - private static final String XML_FILENAME = "uploads.xml"; private static final String TMP_FILENAME = "uploads.xml.tmp"; --- 38,41 ---- *************** *** 150,168 **** } ! if (iState < 0) { ! // old format: states are saved in XML as LangRes Strings ! if (state.indexOf("Kb") != -1 || state.equals(langRes.getString("Uploading"))) { ! iState = FrostUploadItem.STATE_REQUESTED; ! } ! } else { // new format: states are saved in XML as numbers ! if ((iState == FrostUploadItem.STATE_PROGRESS) || ! (iState == FrostUploadItem.STATE_UPLOADING)) { iState = FrostUploadItem.STATE_REQUESTED; ! } else if ((iState == FrostUploadItem.STATE_ENCODING) || ! (iState == FrostUploadItem.STATE_ENCODING_REQUESTED)) { iState = FrostUploadItem.STATE_IDLE; } ! } if (key != null && key.startsWith("CHK@") == false) { --- 148,167 ---- } ! // if (iState < 0) { ! // // old format: states are saved in XML as LangRes Strings ! // if (state.indexOf("Kb") != -1 || state.equals(langRes.getString("Uploading"))) { ! // iState = FrostUploadItem.STATE_REQUESTED; ! // } ! // } else { // new format: states are saved in XML as numbers ! if ((iState == FrostUploadItem.STATE_PROGRESS) || (iState == FrostUploadItem.STATE_UPLOADING)) { iState = FrostUploadItem.STATE_REQUESTED; ! } else if ((iState == FrostUploadItem.STATE_ENCODING) || (iState == FrostUploadItem.STATE_ENCODING_REQUESTED)) { ! iState = FrostUploadItem.STATE_IDLE; ! } else { ! // fallback iState = FrostUploadItem.STATE_IDLE; } ! // } if (key != null && key.startsWith("CHK@") == false) { Index: UploadThread.java =================================================================== RCS file: /cvsroot/jtcfrost/frost-wot/source/frost/fileTransfer/upload/UploadThread.java,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** UploadThread.java 14 Apr 2006 15:56:42 -0000 1.21 --- UploadThread.java 26 Apr 2006 11:34:21 -0000 1.22 *************** *** 39,44 **** private LocalIdentity myId; - static java.util.ResourceBundle LangRes = java.util.ResourceBundle.getBundle("res.LangRes")/*#BundleType=List*/; - private static Logger logger = Logger.getLogger(UploadThread.class.getName()); --- 39,42 ---- |
From: <jtcfrost-cvs-admin@li...> - 2006-04-26 11:34:24
|
Update of /cvsroot/jtcfrost/frost-wot/source/frost/fileTransfer In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24251/source/frost/fileTransfer Modified Files: GetRequestsThread.java Log Message: removed old LangRes classes, some fixes Index: GetRequestsThread.java =================================================================== RCS file: /cvsroot/jtcfrost/frost-wot/source/frost/fileTransfer/GetRequestsThread.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** GetRequestsThread.java 9 Apr 2006 10:13:37 -0000 1.7 --- GetRequestsThread.java 26 Apr 2006 11:34:21 -0000 1.8 *************** *** 37,43 **** private FrostIdentities identities; - static java.util.ResourceBundle LangRes = - java.util.ResourceBundle.getBundle("res.LangRes"); - private static Logger logger = Logger.getLogger(GetRequestsThread.class.getName()); --- 37,40 ---- |
From: <jtcfrost-cvs-admin@li...> - 2006-04-26 11:34:24
|
Update of /cvsroot/jtcfrost/frost-wot/source/res In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24251/source/res Removed Files: LangRes.java LangRes_ru.java LangRes_bg.java LangRes_it.java LangRes_fr.java LangRes_nl.java LangRes_ja.java LangRes_es.java LangResMapping.java LangRes_de.java LangRes_en.java CleanUpLangRes.java Log Message: removed old LangRes classes, some fixes --- LangRes.java DELETED --- --- LangRes_bg.java DELETED --- --- LangRes_ru.java DELETED --- --- LangResMapping.java DELETED --- --- LangRes_it.java DELETED --- --- CleanUpLangRes.java DELETED --- --- LangRes_en.java DELETED --- --- LangRes_ja.java DELETED --- --- LangRes_nl.java DELETED --- --- LangRes_de.java DELETED --- --- LangRes_fr.java DELETED --- --- LangRes_es.java DELETED --- |
From: <jtcfrost-cvs-admin@li...> - 2006-04-26 11:33:24
|
Update of /cvsroot/jtcfrost/frost-wot/miscSources In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23430/miscSources Added Files: LangRes_old.zip Log Message: saved old LangRes classes --- NEW FILE: LangRes_old.zip --- (This appears to be a binary file; contents omitted.) |
From: <jtcfrost-cvs-admin@li...> - 2006-04-26 10:27:15
|
Update of /cvsroot/jtcfrost/frost-wot/source/frost In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1074/source/frost Modified Files: Core.java Frost.java Log Message: enhancements Index: Core.java =================================================================== RCS file: /cvsroot/jtcfrost/frost-wot/source/frost/Core.java,v retrieving revision 1.132 retrieving revision 1.133 diff -C2 -d -r1.132 -r1.133 *** Core.java 26 Apr 2006 08:58:33 -0000 1.132 --- Core.java 26 Apr 2006 10:26:53 -0000 1.133 *************** *** 63,68 **** public static SettingsClass frostSettings = new SettingsClass(); ! private static Core instance = new Core(); private static String localeName = null; private static List knownBoards = new ArrayList(); //list of known boards --- 63,69 ---- public static SettingsClass frostSettings = new SettingsClass(); ! private static Core instance = null; private static String localeName = null; + private static String localeFileName = null; private static List knownBoards = new ArrayList(); //list of known boards *************** *** 481,488 **** /** - * * @return pointer to the live core */ public static Core getInstance() { return instance; } --- 482,491 ---- /** * @return pointer to the live core */ public static Core getInstance() { + if( instance == null ) { + instance = new Core(); + } return instance; } *************** *** 783,789 **** } ! public static void setLocale(String localeName) { Core.localeName = localeName; } /** --- 786,795 ---- } ! public static void setLocaleName(String localeName) { Core.localeName = localeName; } + public static void setLocaleFileName(String localeFileName) { + Core.localeFileName = localeFileName; + } /** *************** *** 839,843 **** */ private void initializeLanguage() { ! if (localeName != null) { // use locale specified on command line (overrides config setting) Language.initializeWithName(localeName); --- 845,852 ---- */ private void initializeLanguage() { ! if( localeFileName != null ) { ! File f = new File(localeFileName); ! Language.initializeWithFile(f); ! } else if (localeName != null) { // use locale specified on command line (overrides config setting) Language.initializeWithName(localeName); Index: Frost.java =================================================================== RCS file: /cvsroot/jtcfrost/frost-wot/source/frost/Frost.java,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** Frost.java 26 Apr 2006 08:58:33 -0000 1.13 --- Frost.java 26 Apr 2006 10:26:53 -0000 1.14 *************** *** 92,101 **** count = count + 2; } else if (args[count].equals("-locale")) { ! setLocale(args[count + 1]); //This settings overrides the one in the ini file count = count + 2; } else { showHelp(); } - // TODO: add -localefile xxx to test properties files } } catch (ArrayIndexOutOfBoundsException exception) { --- 92,103 ---- count = count + 2; } else if (args[count].equals("-locale")) { ! Core.setLocaleName(args[count + 1]); //This settings overrides the one in the ini file ! count = count + 2; ! } else if (args[count].equals("-localefile")) { ! Core.setLocaleFileName(args[count + 1]); count = count + 2; } else { showHelp(); } } } catch (ArrayIndexOutOfBoundsException exception) { *************** *** 105,116 **** /** - * This method sets a new locale - * @param string the name of the new locale - */ - private static void setLocale(String newLocaleName) { - Core.setLocale(newLocaleName); - } - - /** * This method shows a help message on the standard output and exits the program. */ --- 107,110 ---- *************** *** 132,135 **** --- 126,133 ---- System.out.println(" (overrides the setting in the preferences)\n"); + System.out.println("-localefile Sets the language file."); + System.out.println(" (allows tests of own language files)"); + System.out.println(" (if set the -locale setting is ignored)\n"); + System.out.println("Example:\n"); System.out.print("java -jar frost.jar "); |
From: <jtcfrost-cvs-admin@li...> - 2006-04-26 10:27:15
|
Update of /cvsroot/jtcfrost/frost-wot/source/frost/util/gui/translation In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1074/source/frost/util/gui/translation Modified Files: FrostResourceBundle.java Language.java Log Message: enhancements Index: Language.java =================================================================== RCS file: /cvsroot/jtcfrost/frost-wot/source/frost/util/gui/translation/Language.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** Language.java 26 Apr 2006 08:58:33 -0000 1.6 --- Language.java 26 Apr 2006 10:26:53 -0000 1.7 *************** *** 25,28 **** --- 25,29 ---- package frost.util.gui.translation; + import java.io.*; import java.text.*; import java.util.*; *************** *** 70,73 **** --- 71,78 ---- } + private Language(File bundleFile) { + ROOT_RESOURCE_BUNDLE = new FrostResourceBundle(bundleFile); + RESOURCE_BUNDLE = ROOT_RESOURCE_BUNDLE; + } /** * Return the unique instance of this class. *************** *** 93,103 **** } ! // public static void initializeWithFile(File bundleFile) { ! // if( !initialized ) { ! // initialized = true; ! // FrostResourceBundle b = new FrostResourceBundle(bundleFile); ! // instance = new Language(ResourceBundle.getBundle(BUNDLE_NAME, locale)); ! // } ! // } // /** --- 98,108 ---- } ! public static void initializeWithFile(File bundleFile) { ! if( !initialized ) { ! initialized = true; ! System.out.println("f="+bundleFile.getPath()); ! instance = new Language(bundleFile); ! } ! } // /** Index: FrostResourceBundle.java =================================================================== RCS file: /cvsroot/jtcfrost/frost-wot/source/frost/util/gui/translation/FrostResourceBundle.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** FrostResourceBundle.java 26 Apr 2006 08:58:33 -0000 1.1 --- FrostResourceBundle.java 26 Apr 2006 10:26:53 -0000 1.2 *************** *** 19,22 **** --- 19,23 ---- package frost.util.gui.translation; + import java.io.*; import java.util.*; *************** *** 34,41 **** private FrostResourceBundle parentBundle = null; - public static void main(String[] args) { - System.out.println(Locale.getDefault().getCountry()); - } - /** * Load the root bundle. --- 35,38 ---- *************** *** 60,69 **** } ! // /** ! // * Load bundle for File, without callback. For tests of new properties files. ! // */ ! // public FrostResourceBundle(File bundleFile) { ! // ! // } public String getString(String key) throws MissingResourceException { --- 57,66 ---- } ! /** ! * Load bundle for File, without callback. For tests of new properties files. ! */ ! public FrostResourceBundle(File bundleFile) { ! bundle = FrostResourceBundleReader.loadBundle(bundleFile); ! } public String getString(String key) throws MissingResourceException { |
From: <jtcfrost-cvs-admin@li...> - 2006-04-26 09:05:50
|
Update of /cvsroot/jtcfrost/frost-wot In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31659 Modified Files: build.xml Log Message: build now includes the i18n files into the jar Index: build.xml =================================================================== RCS file: /cvsroot/jtcfrost/frost-wot/build.xml,v retrieving revision 1.37 retrieving revision 1.38 diff -C2 -d -r1.37 -r1.38 *** build.xml 21 Apr 2006 08:04:57 -0000 1.37 --- build.xml 26 Apr 2006 09:05:47 -0000 1.38 *************** *** 200,203 **** --- 200,206 ---- <include name="**/*.class"/> </fileset> + <fileset dir="${src.dir}"> + <include name="**/*.properties"/> + </fileset> <fileset dir="${res.dir}"> <include name="**"/> |
From: <jtcfrost-cvs-admin@li...> - 2006-04-26 08:58:36
|
Update of /cvsroot/jtcfrost/frost-wot/source/frost/util/gui/translation In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25924/source/frost/util/gui/translation Modified Files: Language.java Added Files: FrostResourceBundle.java FrostResourceBundleReader.java Log Message: fixes and updates Index: Language.java =================================================================== RCS file: /cvsroot/jtcfrost/frost-wot/source/frost/util/gui/translation/Language.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** Language.java 25 Apr 2006 11:22:52 -0000 1.5 --- Language.java 26 Apr 2006 08:58:33 -0000 1.6 *************** *** 31,36 **** import javax.swing.event.*; - import res.*; - /** * @pattern Singleton --- 31,34 ---- *************** *** 40,48 **** private static Logger logger = Logger.getLogger(Language.class.getName()); ! // private static final String BUNDLE_NAME = "messages"; ! private static final String BUNDLE_NAME = "res.LangRes"; ! ! private ResourceBundle RESOURCE_BUNDLE = null; ! private BreakIterator LINE_BREAKER = null; private static boolean initialized = false; --- 38,44 ---- private static Logger logger = Logger.getLogger(Language.class.getName()); ! private FrostResourceBundle RESOURCE_BUNDLE = null; ! private FrostResourceBundle ROOT_RESOURCE_BUNDLE = null; ! // private BreakIterator LINE_BREAKER = null; private static boolean initialized = false; *************** *** 67,74 **** * Prevent instances of this class from being created. */ ! private Language(ResourceBundle resourceBundle) { super(); ! RESOURCE_BUNDLE = resourceBundle; ! LINE_BREAKER = BreakIterator.getLineInstance(RESOURCE_BUNDLE.getLocale()); } --- 63,71 ---- * Prevent instances of this class from being created. */ ! private Language(String localeName) { super(); ! ROOT_RESOURCE_BUNDLE = new FrostResourceBundle(); ! RESOURCE_BUNDLE = new FrostResourceBundle(localeName.toLowerCase(), ROOT_RESOURCE_BUNDLE); ! // LINE_BREAKER = BreakIterator.getLineInstance(RESOURCE_BUNDLE.getLocale()); } *************** *** 86,114 **** */ public static void initializeWithName(String localeName) { - Locale locale; - if( localeName == null ) { - locale = Locale.getDefault(); - } else { - locale = new Locale(localeName); - } - initializeWithLocale(locale); - } - - /** - * If it has already been initialized, this method does nothing. - */ - public static void initializeWithLocale(Locale locale) { if( !initialized ) { initialized = true; ! instance = new Language(ResourceBundle.getBundle(BUNDLE_NAME, locale)); } } ! /** ! * @return ! */ ! public ResourceBundle getResourceBundle() { ! return RESOURCE_BUNDLE; ! } /** --- 83,113 ---- */ public static void initializeWithName(String localeName) { if( !initialized ) { initialized = true; ! ! if( localeName == null ) { ! localeName = Locale.getDefault().getCountry(); ! } ! instance = new Language(localeName.toLowerCase()); } } ! // public static void initializeWithFile(File bundleFile) { ! // if( !initialized ) { ! // initialized = true; ! // FrostResourceBundle b = new FrostResourceBundle(bundleFile); ! // instance = new Language(ResourceBundle.getBundle(BUNDLE_NAME, locale)); ! // } ! // } ! ! // /** ! // * If it has already been initialized, this method does nothing. ! // */ ! // public static void initializeWithLocale(Locale locale) { ! // if( !initialized ) { ! // initialized = true; ! // instance = new Language(locale); ! // } ! // } /** *************** *** 169,180 **** */ public synchronized void changeLanguage(String localeName) { - Locale locale; if( localeName == null ) { ! locale = Locale.getDefault(); ! } else { ! locale = new Locale(localeName); } ! RESOURCE_BUNDLE = ResourceBundle.getBundle(BUNDLE_NAME, locale); ! LINE_BREAKER = BreakIterator.getLineInstance(RESOURCE_BUNDLE.getLocale()); fireLanguageChanged(new LanguageEvent(this)); --- 168,176 ---- */ public synchronized void changeLanguage(String localeName) { if( localeName == null ) { ! localeName = Locale.getDefault().getCountry(); } ! RESOURCE_BUNDLE = new FrostResourceBundle(localeName.toLowerCase(), ROOT_RESOURCE_BUNDLE); ! // LINE_BREAKER = BreakIterator.getLineInstance(RESOURCE_BUNDLE.getLocale()); fireLanguageChanged(new LanguageEvent(this)); *************** *** 188,207 **** // temporary: map old LangRes keys to new keys used in gui ! String key = LangResMapping.getOldForNew(origKey); ! if( key == null ) { ! System.out.println("Key not in mapping: '"+origKey+"'"); ! key = origKey; ! } String s; try { ! s = RESOURCE_BUNDLE.getString(key); } catch(Throwable t) { s = null; ! logger.log(Level.SEVERE,"Exception catched", t); } if( s == null ) { ! logger.severe("No translation found for key '"+key+"', using key."); ! return key; } else { return s; --- 184,203 ---- // temporary: map old LangRes keys to new keys used in gui ! // String key = LangResMapping.getOldForNew(origKey); ! // if( key == null ) { ! // System.out.println("Key not in mapping: '"+origKey+"'"); ! // key = origKey; ! // } String s; try { ! s = RESOURCE_BUNDLE.getString(origKey); } catch(Throwable t) { s = null; ! logger.log(Level.SEVERE, "Exception catched", t); } if( s == null ) { ! logger.severe("No translation found for key '"+origKey+"', using key."); ! return origKey; } else { return s; *************** *** 210,273 **** /////////////////////////////////////////////////////////////////////////////////////7 ! /** ! * Builds a String containing the source String broken into lines ! * of maxLength length, using \n as line breaker. ! */ ! public synchronized String breakLinesText(String source, int maxLength) { ! ! LINE_BREAKER.setText(source); ! int start = LINE_BREAKER.first(); ! int end = LINE_BREAKER.next(); ! int lineLength = 0; ! ! StringBuffer result = new StringBuffer(); ! ! while (end != BreakIterator.DONE) { ! String word = source.substring(start,end); ! if( word.indexOf('\n') > -1 ) { ! // wenn dieses word NICHT mehr passt, dann auf neue zeile, und gleich noch ne neue Zeile wg. \n ! lineLength = 0; // TODO: fix ! } else { ! lineLength = lineLength + word.length(); ! if (lineLength > maxLength) { ! result.append("\n"); ! lineLength = word.length(); ! } ! } ! result.append(word); ! start = end; ! end = LINE_BREAKER.next(); ! } ! return result.toString(); ! } ! ! /** ! * Builds a HTML String containing the source String broken into lines ! * of maxLength length, using 'br' as line breaker. ! */ ! public synchronized String breakLinesHtml(String source, int maxLength) { ! ! LINE_BREAKER.setText(source); ! int start = LINE_BREAKER.first(); ! int end = LINE_BREAKER.next(); ! int lineLength = 0; ! ! StringBuffer result = new StringBuffer(); ! result.append("<html>"); ! ! while (end != BreakIterator.DONE) { ! String word = source.substring(start,end); ! lineLength = lineLength + word.length(); ! if (lineLength > maxLength) { ! result.append("<br>"); ! lineLength = word.length(); ! } ! result.append(word); ! start = end; ! end = LINE_BREAKER.next(); ! } ! result.append("</html>"); ! return result.toString(); ! } public synchronized String formatMessage(String msg, Object[] objs) { --- 206,269 ---- /////////////////////////////////////////////////////////////////////////////////////7 ! // /** ! // * Builds a String containing the source String broken into lines ! // * of maxLength length, using \n as line breaker. ! // */ ! // public synchronized String breakLinesText(String source, int maxLength) { ! // ! // LINE_BREAKER.setText(source); ! // int start = LINE_BREAKER.first(); ! // int end = LINE_BREAKER.next(); ! // int lineLength = 0; ! // ! // StringBuffer result = new StringBuffer(); ! // ! // while (end != BreakIterator.DONE) { ! // String word = source.substring(start,end); ! // if( word.indexOf('\n') > -1 ) { ! // // wenn dieses word NICHT mehr passt, dann auf neue zeile, und gleich noch ne neue Zeile wg. \n ! // lineLength = 0; // TODO: fix ! // } else { ! // lineLength = lineLength + word.length(); ! // if (lineLength > maxLength) { ! // result.append("\n"); ! // lineLength = word.length(); ! // } ! // } ! // result.append(word); ! // start = end; ! // end = LINE_BREAKER.next(); ! // } ! // return result.toString(); ! // } ! // ! // /** ! // * Builds a HTML String containing the source String broken into lines ! // * of maxLength length, using 'br' as line breaker. ! // */ ! // public synchronized String breakLinesHtml(String source, int maxLength) { ! // ! // LINE_BREAKER.setText(source); ! // int start = LINE_BREAKER.first(); ! // int end = LINE_BREAKER.next(); ! // int lineLength = 0; ! // ! // StringBuffer result = new StringBuffer(); ! // result.append("<html>"); ! // ! // while (end != BreakIterator.DONE) { ! // String word = source.substring(start,end); ! // lineLength = lineLength + word.length(); ! // if (lineLength > maxLength) { ! // result.append("<br>"); ! // lineLength = word.length(); ! // } ! // result.append(word); ! // start = end; ! // end = LINE_BREAKER.next(); ! // } ! // result.append("</html>"); ! // return result.toString(); ! // } public synchronized String formatMessage(String msg, Object[] objs) { --- NEW FILE: FrostResourceBundle.java --- /* FrostResourceBundle.java / Frost Copyright (C) 2006 Frost Project <jtcfrost.sourceforge.net> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ package frost.util.gui.translation; import java.util.*; /** * Because the Java PropertyResourceBundle does still not support * UTF-8 properties files, we use our own bundle. */ public class FrostResourceBundle { // private static Logger logger = Logger.getLogger(FrostResourceBundle.class.getName()); private static final String BUNDLE_NAME = "/i18n/langres"; // base name in jar file private Map bundle; private FrostResourceBundle parentBundle = null; public static void main(String[] args) { System.out.println(Locale.getDefault().getCountry()); } /** * Load the root bundle. */ public FrostResourceBundle() { String resource = BUNDLE_NAME+".properties"; bundle = FrostResourceBundleReader.loadBundle(resource); } /** * Load bundle for localeName (de,en,...), and use parent bundle as fallback. */ public FrostResourceBundle(String localeName, FrostResourceBundle parent) { parentBundle = parent; if( localeName.length() == 0 ) { // use parent only bundle = new HashMap(); } else { String resource = BUNDLE_NAME + "_" + localeName + ".properties"; bundle = FrostResourceBundleReader.loadBundle(resource); } } // /** // * Load bundle for File, without callback. For tests of new properties files. // */ // public FrostResourceBundle(File bundleFile) { // // } public String getString(String key) throws MissingResourceException { String value; value = (String)bundle.get(key); if( value == null ) { if( parentBundle != null ) { value = parentBundle.getString(key); } else { throw new MissingResourceException("Key is missing.", "FrostResourceBundle", key); } } return value; } } --- NEW FILE: FrostResourceBundleReader.java --- /* FrostResourceBundleReader.java / Frost Copyright (C) 2006 Frost Project <jtcfrost.sourceforge.net> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ package frost.util.gui.translation; import java.io.*; import java.util.*; import java.util.logging.*; import frost.*; /** * Methods to read in a langres.properties file with UTF-8 encoding. * Aims to provide same load functionality as the Java Properties class. * * Lines can be continuated using a backslash at the very end of line. */ public class FrostResourceBundleReader { private static Logger logger = Logger.getLogger(FrostResourceBundleReader.class.getName()); /** * Loads the properties from a jarResource. Provide resource as '/i18n/langres.properties'. * This class is guaranteed to never return null. */ public static Map loadBundle(String jarResource) { InputStream input = MainFrame.class.getResourceAsStream(jarResource); if( input == null ) { // file not found in jar logger.severe("Resource not found in jar file: "+jarResource); return new HashMap(); } return loadBundle(input, jarResource); } /** * Loads the properties from a file. * This class is guaranteed to never return null. */ public static Map loadBundle(File fileResource) { InputStream input; try { input = new FileInputStream(fileResource); } catch (FileNotFoundException e) { logger.log(Level.SEVERE, "Could not open properties file: "+fileResource, e); return new HashMap(); } return loadBundle(input, fileResource.getPath()); } private static Map loadBundle(InputStream inStream, String resourceName) { Map bundle = new HashMap(); try { BufferedReader rdr = new BufferedReader(new InputStreamReader(inStream, "UTF-8")); String wholeLine = null; while(true) { String line = rdr.readLine(); if( line == null ) { break; // EOF } if( line.startsWith("#") ) { continue; // comment } if( isContinueLine(line) ) { line = line.substring(0, line.length()-1); // remove trailing '\' if( wholeLine == null ) { wholeLine = line; } else { wholeLine += removeLeadingWhitespaces(line); } continue; // read next lines } else if( wholeLine != null ) { // append last continued line wholeLine += removeLeadingWhitespaces(line); } else { wholeLine = line; } line = wholeLine; wholeLine = null; if( line.length() == 0 ) { continue; // empty line } int pos = line.indexOf('='); if( pos < 1 ) { logger.severe("Invalid line in "+resourceName+": "+line); continue; } String key, value; key = line.substring(0, pos).trim(); value = line.substring(pos+1); if( key.length() == 0 ) { logger.severe("Empty key in "+resourceName+": "+line); continue; } value = loadConvert(value); bundle.put(key, value); } } catch(Throwable t) { logger.log(Level.SEVERE, "Error reading resource: "+resourceName, t); return bundle; } return bundle; } /** * Remove all leading whitespaces from a continued line. */ private static String removeLeadingWhitespaces(String str) { int x; for(x=0; x<str.length()-1; x++) { if( Character.isWhitespace(str.charAt(x)) ) { continue; } else { break; } } return str.substring(x); } /** * Returns true if this line is continued on next line (trailing backslash). */ private static boolean isContinueLine(String line) { int backslashCount = 0; int index = line.length() - 1; while ((index >= 0) && (line.charAt(index--) == '\\')) { backslashCount++; } return (backslashCount % 2 == 1); } /** * Converts the strings \n, \r, \t and \f in the string into chars. */ private static String loadConvert(String str) { char aChar; int len = str.length(); StringBuffer result = new StringBuffer(len); // note that uneven backslashes were removed from end of line (continuation), // hence the double ++ should work ;) for (int x=0; x<len; ) { aChar = str.charAt(x++); if (aChar == '\\') { aChar = str.charAt(x++); if (aChar == 't') { aChar = '\t'; } else if (aChar == 'r') { aChar = '\r'; } else if (aChar == 'n') { aChar = '\n'; } else if (aChar == 'f') { aChar = '\f'; } result.append(aChar); // append translated char OR one backslash if it was \\ } else { result.append(aChar); } } return result.toString(); } } |
From: <jtcfrost-cvs-admin@li...> - 2006-04-26 08:58:36
|
Update of /cvsroot/jtcfrost/frost-wot/source/frost/fileTransfer/upload In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25924/source/frost/fileTransfer/upload Modified Files: UploadTableFormat.java Log Message: fixes and updates Index: UploadTableFormat.java =================================================================== RCS file: /cvsroot/jtcfrost/frost-wot/source/frost/fileTransfer/upload/UploadTableFormat.java,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** UploadTableFormat.java 25 Apr 2006 11:22:51 -0000 1.15 --- UploadTableFormat.java 26 Apr 2006 08:58:33 -0000 1.16 *************** *** 263,273 **** setColumnName(7, language.getString("UploadPane.fileTable.key")); ! stateUploadedNever = language.getString("UploadTableFormat.state.never"); ! stateRequested = language.getString("UploadTableFormat.state.requested"); ! stateUploading = language.getString("UploadTableFormat.state.uploading"); ! stateEncodingRequested = language.getString("UploadTableFormat.state.encodeRequested"); ! stateEncoding = language.getString("UploadTableFormat.state.encodingFile") + "..."; ! stateWaiting = language.getString("UploadTableFormat.state.waiting"); ! unknown = language.getString("UploadTableFormat.state.unknown"); refreshColumnNames(); --- 263,273 ---- setColumnName(7, language.getString("UploadPane.fileTable.key")); ! stateUploadedNever = language.getString("UploadPane.fileTable.state.never"); ! stateRequested = language.getString("UploadPane.fileTable.state.requested"); ! stateUploading = language.getString("UploadPane.fileTable.state.uploading"); ! stateEncodingRequested = language.getString("UploadPane.fileTable.state.encodeRequested"); ! stateEncoding = language.getString("UploadPane.fileTable.state.encodingFile") + "..."; ! stateWaiting = language.getString("UploadPane.fileTable.state.waiting"); ! unknown = language.getString("UploadPane.fileTable.state.unknown"); refreshColumnNames(); |
From: <jtcfrost-cvs-admin@li...> - 2006-04-26 08:58:36
|
Update of /cvsroot/jtcfrost/frost-wot/source/frost/gui/preferences In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25924/source/frost/gui/preferences Modified Files: DisplayPanel.java Log Message: fixes and updates Index: DisplayPanel.java =================================================================== RCS file: /cvsroot/jtcfrost/frost-wot/source/frost/gui/preferences/DisplayPanel.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** DisplayPanel.java 25 Apr 2006 11:22:50 -0000 1.7 --- DisplayPanel.java 26 Apr 2006 08:58:33 -0000 1.8 *************** *** 198,202 **** constraints.gridx = 0; constraints.gridy = 0; ! skinChooser = new SkinChooser(language.getResourceBundle()); add(skinChooser, constraints); --- 198,202 ---- constraints.gridx = 0; constraints.gridy = 0; ! skinChooser = new SkinChooser(language); add(skinChooser, constraints); |
From: <jtcfrost-cvs-admin@li...> - 2006-04-26 08:58:36
|
Update of /cvsroot/jtcfrost/frost-wot/source/res In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25924/source/res Modified Files: LangRes.java LangRes_ru.java LangRes_fr.java LangRes_es.java LangResMapping.java Log Message: fixes and updates Index: LangRes.java =================================================================== RCS file: /cvsroot/jtcfrost/frost-wot/source/res/LangRes.java,v retrieving revision 1.115 retrieving revision 1.116 diff -C2 -d -r1.115 -r1.116 *** LangRes.java 21 Apr 2006 06:16:33 -0000 1.115 --- LangRes.java 26 Apr 2006 08:58:32 -0000 1.116 *************** *** 666,672 **** {"Copy extended info", "Copy extended info"}, {"Key not available yet", "Key not available yet"}, ! {"clipboard.File:", "File: "}, //These three strings are a special case. ! {"clipboard.Key:", "Key: "}, //They must have the same length so that the ! {"clipboard.Bytes:", "Bytes: "}, //format of the output is preserved. // AltEdit support --- 666,672 ---- {"Copy extended info", "Copy extended info"}, {"Key not available yet", "Key not available yet"}, ! {"clipboard.File:", "File :"}, //These three strings are a special case. ! {"clipboard.Key:", "Key :"}, //They must have the same length so that the ! {"clipboard.Bytes:", "Bytes:"}, //format of the output is preserved. // AltEdit support Index: LangResMapping.java =================================================================== RCS file: /cvsroot/jtcfrost/frost-wot/source/res/LangResMapping.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** LangResMapping.java 25 Apr 2006 11:22:52 -0000 1.1 --- LangResMapping.java 26 Apr 2006 08:58:32 -0000 1.2 *************** *** 3,10 **** --- 3,16 ---- import java.util.*; + import frost.*; + public class LangResMapping { public static void main(String[] args) { buildMap(); + export(); + } + + public static void show() { LangRes lr = new LangRes(); *************** *** 23,26 **** --- 29,67 ---- } + // export: get newStr, find oldStr in LangRes bundle and save newStr = foundOldStr, + // if no value for oldStr was found use oldStr directly + // ATTN: add oldStr ONLY for original LangRes! For other Languages keep it empty to indicate needed translation! + + public static void export() { + LangRes lr = new LangRes(); + String outFile = "d:\\langres.properties"; + StringBuffer output = new StringBuffer(); + + for(Iterator i=mapping.keySet().iterator(); i.hasNext(); ) { + String newKey = (String)i.next(); + String oldKey = (String)mapping.get(newKey); + + try { + oldKey = lr.getString(oldKey); + } catch (RuntimeException e) { + // System.out.println("Key in mapping, but not in LangRes: '"+k1+"'"); + // continue; // don't add default for missing keys + } + StringBuffer sbTmp = new StringBuffer(); + for(int x=0; x < oldKey.length(); x++) { + char c = oldKey.charAt(x); + if( c == '\n' ) { + sbTmp.append("\\n"); + } else { + sbTmp.append(c); + } + } + System.out.println(newKey+"="+sbTmp.toString()); + output.append(newKey+"="+sbTmp.toString()).append("\n"); + } + + FileAccess.writeFile(output.toString(), outFile, "UTF-8"); + } + private static Map mapping = null; *************** *** 33,37 **** private static void buildMap() { ! mapping = new HashMap(); for(int x=0; x < contents.length; x++) { String oldStr = (String)contents[x][0]; --- 74,78 ---- private static void buildMap() { ! mapping = new TreeMap(); for(int x=0; x < contents.length; x++) { String oldStr = (String)contents[x][0]; *************** *** 711,721 **** {"Key", "UploadPane.fileTable.key"}, ! {"Never", "UploadTableFormat.state.never"}, ! {"Requested", "UploadTableFormat.state.requested"}, ! {"Uploading", "UploadTableFormat.state.uploading"}, ! {"Encode requested", "UploadTableFormat.state.encodeRequested"}, ! {"Encoding file", "UploadTableFormat.state.encodingFile"}, ! {"Waiting", "UploadTableFormat.state.waiting"}, ! {"Unknown", "UploadTableFormat.state.unknown"}, /////////////////////////////////////////////////// --- 752,762 ---- {"Key", "UploadPane.fileTable.key"}, ! {"Never", "UploadPane.fileTable.state.never"}, ! {"Requested", "UploadPane.fileTable.state.requested"}, ! {"Uploading", "UploadPane.fileTable.state.uploading"}, ! {"Encode requested", "UploadPane.fileTable.state.encodeRequested"}, ! {"Encoding file", "UploadPane.fileTable.state.encodingFile"}, ! {"Waiting", "UploadPane.fileTable.state.waiting"}, ! {"Unknown", "UploadPane.fileTable.state.unknown"}, /////////////////////////////////////////////////// Index: LangRes_fr.java =================================================================== RCS file: /cvsroot/jtcfrost/frost-wot/source/res/LangRes_fr.java,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** LangRes_fr.java 21 Apr 2006 06:16:33 -0000 1.15 --- LangRes_fr.java 26 Apr 2006 08:58:32 -0000 1.16 *************** *** 84,88 **** {"Experimental Freenet Browser","Browser Expérimental de Freenet"}, {"Bulgarian","Bulgare"}, - {"clipboard.Bytes:","Octets: "}, {"Hide files from anonymous users","Cacher les fichiers des utilisateurs anonymes"}, {"Hide files from people marked BAD","Cacher les fichiers des utilisateurs BAD"}, --- 84,87 ---- *************** *** 180,184 **** {"Files","Fichiers"}, {"StatusPanel.file","fichier"}, - {"clipboard.File:","Fichier: "}, {"StatusPanel.files","fichiers"}, {"Public board","Board publique"}, --- 179,182 ---- *************** *** 220,224 **** {"Add Board(s)","Joindre Board(s)"}, {"Key not available yet","Clef pas encore disponible"}, ! {"clipboard.Key:","Clef:: "}, {"Core.loadIdentities.ConnectionNotEstablishedTitle","La connection a Freenet a échoué"}, {"Language","Langue"}, --- 218,224 ---- {"Add Board(s)","Joindre Board(s)"}, {"Key not available yet","Clef pas encore disponible"}, ! {"clipboard.Key:", "Clef :"}, ! {"clipboard.File:", "Fichier :"}, ! {"clipboard.Bytes:","Octets :"}, {"Core.loadIdentities.ConnectionNotEstablishedTitle","La connection a Freenet a échoué"}, {"Language","Langue"}, Index: LangRes_es.java =================================================================== RCS file: /cvsroot/jtcfrost/frost-wot/source/res/LangRes_es.java,v retrieving revision 1.70 retrieving revision 1.71 diff -C2 -d -r1.70 -r1.71 *** LangRes_es.java 21 Apr 2006 06:16:33 -0000 1.70 --- LangRes_es.java 26 Apr 2006 08:58:32 -0000 1.71 *************** *** 487,493 **** {"Copy extended info", "Copia información extendida"}, {"Key not available yet", "Clave todavÃa no disponible"}, ! {"clipboard.File:", "Fichero: "}, //These three strings are a special case. ! {"clipboard.Key:", "Clave: "}, //They must have the same length so that the ! {"clipboard.Bytes:", "Bytes: "} //format of the output is preserved. }; --- 487,493 ---- {"Copy extended info", "Copia información extendida"}, {"Key not available yet", "Clave todavÃa no disponible"}, ! {"clipboard.File:", "Fichero:"}, //These three strings are a special case. ! {"clipboard.Key:", "Clave :"}, //They must have the same length so that the ! {"clipboard.Bytes:", "Bytes :"} //format of the output is preserved. }; Index: LangRes_ru.java =================================================================== RCS file: /cvsroot/jtcfrost/frost-wot/source/res/LangRes_ru.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** LangRes_ru.java 21 Apr 2006 06:16:33 -0000 1.3 --- LangRes_ru.java 26 Apr 2006 08:58:32 -0000 1.4 *************** *** 642,648 **** {"Copy extended info", "ÐопиÑоваÑÑ Ð´Ð¾Ð¿Ð¾Ð»Ð½Ð¸ÑелÑнÑÑ Ð¸Ð½ÑоÑмаÑиÑ"}, {"Key not available yet", "ÐлÑÑ ÐµÑÑ Ð½Ðµ доÑÑÑпен"}, ! {"clipboard.File:", "Файл: "}, //These three strings are a special case. ! {"clipboard.Key:", "ÐлÑÑ: "}, //They must have the same length so that the ! {"clipboard.Bytes:", "ÐайÑов: "} //format of the output is preserved. }; --- 642,648 ---- {"Copy extended info", "ÐопиÑоваÑÑ Ð´Ð¾Ð¿Ð¾Ð»Ð½Ð¸ÑелÑнÑÑ Ð¸Ð½ÑоÑмаÑиÑ"}, {"Key not available yet", "ÐлÑÑ ÐµÑÑ Ð½Ðµ доÑÑÑпен"}, ! {"clipboard.File:", "Файл :"}, //These three strings are a special case. ! {"clipboard.Key:", "ÐлÑÑ :"}, //They must have the same length so that the ! {"clipboard.Bytes:", "ÐайÑов:"} //format of the output is preserved. }; |
From: <jtcfrost-cvs-admin@li...> - 2006-04-26 08:58:36
|
Update of /cvsroot/jtcfrost/frost-wot/source/frost In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25924/source/frost Modified Files: Mixed.java Frost.java Startup.java MainFrame.java Core.java FileAccess.java Log Message: fixes and updates Index: Core.java =================================================================== RCS file: /cvsroot/jtcfrost/frost-wot/source/frost/Core.java,v retrieving revision 1.131 retrieving revision 1.132 diff -C2 -d -r1.131 -r1.132 *** Core.java 25 Apr 2006 11:22:51 -0000 1.131 --- Core.java 26 Apr 2006 08:58:33 -0000 1.132 *************** *** 64,68 **** private static Core instance = new Core(); ! private static Locale locale = null; private static List knownBoards = new ArrayList(); //list of known boards --- 64,68 ---- private static Core instance = new Core(); ! private static String localeName = null; private static List knownBoards = new ArrayList(); //list of known boards *************** *** 783,788 **** } ! public static void setLocale(Locale locale) { ! Core.locale = locale; } --- 783,788 ---- } ! public static void setLocale(String localeName) { ! Core.localeName = localeName; } *************** *** 839,845 **** */ private void initializeLanguage() { ! if (locale != null) { // use locale specified on command line (overrides config setting) ! Language.initializeWithLocale(locale); } else { String lang = frostSettings.getValue("locale"); --- 839,845 ---- */ private void initializeLanguage() { ! if (localeName != null) { // use locale specified on command line (overrides config setting) ! Language.initializeWithName(localeName); } else { String lang = frostSettings.getValue("locale"); Index: Frost.java =================================================================== RCS file: /cvsroot/jtcfrost/frost-wot/source/frost/Frost.java,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** Frost.java 5 Apr 2006 10:38:49 -0000 1.12 --- Frost.java 26 Apr 2006 08:58:33 -0000 1.13 *************** *** 97,100 **** --- 97,101 ---- showHelp(); } + // TODO: add -localefile xxx to test properties files } } catch (ArrayIndexOutOfBoundsException exception) { *************** *** 107,114 **** * @param string the name of the new locale */ ! private static void setLocale(String newLocale) { ! Locale locale = new Locale(newLocale); ! Locale.setDefault(locale); ! Core.setLocale(locale); } --- 108,113 ---- * @param string the name of the new locale */ ! private static void setLocale(String newLocaleName) { ! Core.setLocale(newLocaleName); } Index: MainFrame.java =================================================================== RCS file: /cvsroot/jtcfrost/frost-wot/source/frost/MainFrame.java,v retrieving revision 1.104 retrieving revision 1.105 diff -C2 -d -r1.104 -r1.105 *** MainFrame.java 25 Apr 2006 11:22:51 -0000 1.104 --- MainFrame.java 26 Apr 2006 08:58:33 -0000 1.105 *************** *** 634,638 **** languageJapaneseMenuItem.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { ! setLanguageResource("ja"); } }); --- 634,638 ---- languageJapaneseMenuItem.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { ! setLanguageResource("jp"); } }); Index: FileAccess.java =================================================================== RCS file: /cvsroot/jtcfrost/frost-wot/source/frost/FileAccess.java,v retrieving revision 1.85 retrieving revision 1.86 diff -C2 -d -r1.85 -r1.86 *** FileAccess.java 9 Apr 2006 17:06:22 -0000 1.85 --- FileAccess.java 26 Apr 2006 08:58:33 -0000 1.86 *************** *** 419,421 **** --- 419,440 ---- } } + + /** + * Copys a file from the jar file to disk + * @param resource This is the file's name in the jar + * @param file This is the destination file + */ + public static void copyFromResource(String resource, File file) throws IOException { + if (!file.isFile()) { + InputStream input = MainFrame.class.getResourceAsStream(resource); + FileOutputStream output = new FileOutputStream(file); + byte[] data = new byte[4096]; + int bytesRead; + while ((bytesRead = input.read(data)) != -1) { + output.write(data, 0, bytesRead); + } + input.close(); + output.close(); + } + } } Index: Startup.java =================================================================== RCS file: /cvsroot/jtcfrost/frost-wot/source/frost/Startup.java,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -d -r1.29 -r1.30 *** Startup.java 22 Mar 2006 20:15:17 -0000 1.29 --- Startup.java 26 Apr 2006 08:58:33 -0000 1.30 *************** *** 46,50 **** File execfile = new File("exec.bat"); if( !execfile.isFile() ) ! Mixed.copyFromResource("/data/exec.bat", execfile); } catch (IOException e) { ; --- 46,50 ---- File execfile = new File("exec.bat"); if( !execfile.isFile() ) ! FileAccess.copyFromResource("/data/exec.bat", execfile); } catch (IOException e) { ; *************** *** 54,58 **** File tray1file = new File("exec" + fileSeparator + "JSysTray.dll"); if( !tray1file.isFile() ) ! Mixed.copyFromResource("/data/JSysTray.dll", tray1file); } catch (IOException e) { ; --- 54,58 ---- File tray1file = new File("exec" + fileSeparator + "JSysTray.dll"); if( !tray1file.isFile() ) ! FileAccess.copyFromResource("/data/JSysTray.dll", tray1file); } catch (IOException e) { ; Index: Mixed.java =================================================================== RCS file: /cvsroot/jtcfrost/frost-wot/source/frost/Mixed.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** Mixed.java 5 Apr 2006 10:38:49 -0000 1.6 --- Mixed.java 26 Apr 2006 08:58:33 -0000 1.7 *************** *** 19,54 **** package frost; ! import java.io.*; ! import java.util.logging.Logger; - public final class Mixed - { private static Logger logger = Logger.getLogger(Mixed.class.getName()); private static char[] invalidChars = { '/', '\\', '?', '*', '<', '>', '\"', ':', '|', '#' }; - //FIXME: this one is missing the "&" char as opposed to MessageObject() - - /** - * Copys a file from the jar file to disk - * @param resource This is the file's name in the jar - * @param file This is the destination file - */ - public static void copyFromResource(String resource, File file) - throws IOException - { - if (!file.isFile()) - { - InputStream input = MainFrame.class.getResourceAsStream(resource); - FileOutputStream output = new FileOutputStream(file); - byte[] data = new byte[128]; - int bytesRead; - - while ((bytesRead = input.read(data)) != -1) - output.write(data, 0, bytesRead); - - input.close(); - output.close(); - } - } /** --- 19,30 ---- package frost; ! import java.util.logging.*; ! ! public final class Mixed { private static Logger logger = Logger.getLogger(Mixed.class.getName()); + // FIXME: this one is missing the "&" char as opposed to MessageObject() private static char[] invalidChars = { '/', '\\', '?', '*', '<', '>', '\"', ':', '|', '#' }; /** *************** *** 62,65 **** --- 38,42 ---- } } + /** * Makes sure that the string does not contain ]]> - the only *************** *** 69,76 **** */ public static String makeSafeXML(String text) { ! if (text == null) return null; int index; ! while((index = text.indexOf("]]>")) !=-1) ! text = text.substring(0,index) + "___"+text.substring(index+3,text.length()); return text; } --- 46,56 ---- */ public static String makeSafeXML(String text) { ! if (text == null) { ! return null; ! } int index; ! while((index = text.indexOf("]]>")) != -1) { ! text = text.substring(0,index) + "___" + text.substring(index+3,text.length()); ! } return text; } *************** *** 134,140 **** public static boolean containsForeign(String text){ //REDFLAG: implement? ! char[] chars = text.toCharArray(); ! Character c = new Character(chars[0]); ! return false; } --- 114,119 ---- public static boolean containsForeign(String text){ //REDFLAG: implement? ! // char[] chars = text.toCharArray(); ! // Character c = new Character(chars[0]); return false; } |
From: <jtcfrost-cvs-admin@li...> - 2006-04-26 08:58:35
|
Update of /cvsroot/jtcfrost/frost-wot/source/frost/util/gui In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25924/source/frost/util/gui Modified Files: SkinChooser.java Log Message: fixes and updates Index: SkinChooser.java =================================================================== RCS file: /cvsroot/jtcfrost/frost-wot/source/frost/util/gui/SkinChooser.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** SkinChooser.java 19 Apr 2006 06:51:06 -0000 1.4 --- SkinChooser.java 26 Apr 2006 08:58:33 -0000 1.5 *************** *** 31,34 **** --- 31,36 ---- import com.l2fprod.gui.plaf.skin.*; + import frost.util.gui.translation.*; + /** * Swing component to choose among the available Skins *************** *** 80,84 **** private JCheckBox enableSkinsCheckBox = null; ! private ResourceBundle languageBundle = null; private boolean noSkinsFound = true; --- 82,86 ---- private JCheckBox enableSkinsCheckBox = null; ! private Language language = null; private boolean noSkinsFound = true; *************** *** 93,100 **** * @param bundle The resourceBundle to get the messages from */ ! ! public SkinChooser(ResourceBundle bundle) { super(); ! languageBundle = bundle; initialize(); } --- 95,101 ---- * @param bundle The resourceBundle to get the messages from */ ! public SkinChooser(Language bundle) { super(); ! language = bundle; initialize(); } *************** *** 129,133 **** enableSkinsCheckBox = new javax.swing.JCheckBox(); enableSkinsCheckBox.setName("EnableSkinsCheckBox"); ! enableSkinsCheckBox.setText(languageBundle.getString("EnableSkins")); enableSkinsCheckBox.setMargin(new java.awt.Insets(2, 2, 2, 2)); enableSkinsCheckBox.setSelected(true); --- 130,134 ---- enableSkinsCheckBox = new javax.swing.JCheckBox(); enableSkinsCheckBox.setName("EnableSkinsCheckBox"); ! enableSkinsCheckBox.setText(language.getString("EnableSkins")); enableSkinsCheckBox.setMargin(new java.awt.Insets(2, 2, 2, 2)); enableSkinsCheckBox.setSelected(true); *************** *** 254,258 **** Collections.sort(skinsListData); if (skinsListData.isEmpty()) { ! skinsListData.add(languageBundle.getString("NoSkinsFound")); noSkinsFound = true; getSkinsList().setEnabled(false); --- 255,259 ---- Collections.sort(skinsListData); if (skinsListData.isEmpty()) { ! skinsListData.add(language.getString("NoSkinsFound")); noSkinsFound = true; getSkinsList().setEnabled(false); *************** *** 392,396 **** availableSkinsLabel = new JLabel(); availableSkinsLabel.setName("AvailableSkinsLabel"); ! availableSkinsLabel.setText(languageBundle.getString("AvailableSkins")); availableSkinsLabel.setMaximumSize(new Dimension(200, 30)); availableSkinsLabel.setHorizontalTextPosition(SwingConstants.CENTER); --- 393,397 ---- availableSkinsLabel = new JLabel(); availableSkinsLabel.setName("AvailableSkinsLabel"); ! availableSkinsLabel.setText(language.getString("AvailableSkins")); availableSkinsLabel.setMaximumSize(new Dimension(200, 30)); availableSkinsLabel.setHorizontalTextPosition(SwingConstants.CENTER); *************** *** 410,414 **** previewButton = new JButton(); previewButton.setName("PreviewButton"); ! previewButton.setText(languageBundle.getString("Preview")); previewButton.setEnabled(false); } --- 411,415 ---- previewButton = new JButton(); previewButton.setName("PreviewButton"); ! previewButton.setText(language.getString("Preview")); previewButton.setEnabled(false); } *************** *** 424,428 **** refreshButton = new JButton(); refreshButton.setName("RefreshButton"); ! refreshButton.setText(languageBundle.getString("RefreshList")); } return refreshButton; --- 425,429 ---- refreshButton = new JButton(); refreshButton.setName("RefreshButton"); ! refreshButton.setText(language.getString("RefreshList")); } return refreshButton; |
From: <jtcfrost-cvs-admin@li...> - 2006-04-26 08:57:31
|
Update of /cvsroot/jtcfrost/frost-wot/source/i18n In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25139/source/i18n Added Files: langres_es.properties langres_fr.properties langres_ru.properties langres_nl.properties langres_bg.properties langres_it.properties langres_en.properties langres_jp.properties langres_de.properties langres.properties Log Message: added new langres properties --- NEW FILE: langres_es.properties --- (This appears to be a binary file; contents omitted.) --- NEW FILE: langres_jp.properties --- (This appears to be a binary file; contents omitted.) --- NEW FILE: langres_en.properties --- # english is the fallback language, so we use langres.properties # Don't delete this dummy file! --- NEW FILE: langres.properties --- AboutBox.label.openSourceProject=Open Source Project (GPL license) AboutBox.label.version=Version AboutBox.text.development=Development: AboutBox.text.miscCodeContributions=Misc code contributions: AboutBox.text.splashScreenLogo=Splash Screen Logo: AboutBox.text.systemTrayExecutables=System Tray Executables: AboutBox.text.translationSupport=Translation Support: AboutBox.text.windowsInstaller=Windows Installer: AboutBox.title=About AltEdit.errorDialog.couldNotCreateMessageFile=Could not create message file for alternate editor AltEdit.errorDialog.couldNotStartEditorUsingCommand=Could not start alternate editor using command AltEdit.errorDialog.invalidReturnedMessageFile=The message file returned by the alternate editor is invalid. AltEdit.errorDialog.missingPlaceholder=Configured alternate editor line must contain a '%f' as placeholder for the filename. AltEdit.errorDialog.noAlternateEditorConfigured=No alternate editor configured. AltEdit.errorDialogs.title=Error AltEdit.markerLine.subject=*--- Subject line (changeable) ---* AltEdit.markerLine.text=*--- Enter your text after this line ---* AltEdit.textFileMessage.1=>>> This is a Frost alternate editor message file. <<< AltEdit.textFileMessage.2=>>> You can edit the subject and add text at the end of the file. <<< AltEdit.textFileMessage.3=>>> Don't change or delete the marker lines! <<< Board.boardState.invalid=(INVALID, no public key, but private!) Board.boardState.publicBoard=public board Board.boardState.readAccess=read access Board.boardState.writeAccess=write access BoardInfoFrame.button.close=Close BoardInfoFrame.button.update=Update BoardInfoFrame.button.updateAllBoards=Update all boards BoardInfoFrame.button.updateSelectedBoard=Update Selected Board BoardInfoFrame.label.boards=Boards BoardInfoFrame.label.files=Files BoardInfoFrame.label.messages=Messages BoardInfoFrame.table.board=Board BoardInfoFrame.table.files=Files BoardInfoFrame.table.messages=Messages BoardInfoFrame.table.messagesToday=Messages Today BoardInfoFrame.table.state=State BoardInfoFrame.title=Board information window BoardSettings.button.generateNewKeypair=Generate new keypair BoardSettings.generateKeyPairErrorDialog.title=Warning BoardSettings.label.description=Description: BoardSettings.label.enableAutomaticBoardUpdate=Enable automatic board update BoardSettings.label.hideBadMessages=Hide messages flagged BAD BoardSettings.label.hideCheckMessages=Hide messages flagged CHECK BoardSettings.label.hideObserveMessages=Hide messages flagged OBSERVE BoardSettings.label.hideUnsignedMessages=Hide unsigned messages BoardSettings.label.maximumMessageDisplay=Maximum message display (days) BoardSettings.label.no=No BoardSettings.label.overrideDefaultSettings=Override default settings BoardSettings.label.privateKey=Private key BoardSettings.label.publicBoard=Public board BoardSettings.label.publicKey=Public key BoardSettings.label.secureBoard=Secure board BoardSettings.label.setTo=Set to BoardSettings.label.useDefault=Use default BoardSettings.label.yes=Yes BoardSettings.looseKeysWarningDialog.body=If you set this board as public, you will lose its keys. Are you sure you want to do that? BoardSettings.looseKeysWarningDialog.title=Set Board as Public? BoardSettings.text.keyNotAvailable=Not available BoardSettings.title.boardSettings=Settings for board BoardSettings.title.folderSettings=Settings for all boards in folder BoardTree.duplicateNewBoardNameError.body=You already have a board with name ''{0}''!\nPlease choose a new name. BoardTree.duplicateNewBoardNameError.title=Duplicate board name BoardTree.newFolderDialog.body=Please enter a name for the new folder BoardTree.newFolderDialog.defaultName=newFolder BoardTree.newFolderDialog.title=New Folder Name BoardTree.overWriteBoardConfirmation.body=You already have a board with name ''{0}''!\nDo you really want to overwrite it?\n(This will not delete messages) BoardTree.overWriteBoardConfirmation.title=Overwrite existing board BoardTree.popupmenu.Board=Board BoardTree.popupmenu.Folder=Folder BoardTree.popupmenu.addNewBoard=Add new board BoardTree.popupmenu.addNewFolder=Add new folder BoardTree.popupmenu.board=board BoardTree.popupmenu.configureSelectedBoard=Configure selected board BoardTree.popupmenu.configureSelectedFolder=Configure selected folder BoardTree.popupmenu.cut=Cut BoardTree.popupmenu.folder=folder BoardTree.popupmenu.markAllMessagesRead=Mark ALL messages read BoardTree.popupmenu.paste=Paste BoardTree.popupmenu.refresh=Refresh BoardTree.popupmenu.remove=Remove BoardTree.popupmenu.renameFolder=Rename folder BoardTree.popupmenu.sortFolder=Sort folder BoardTree.removeBoardConfirmation.body=Do you really want to delete board ''{0}'' ? BoardTree.removeBoardConfirmation.title=Remove board ''{0}'' BoardTree.removeFolderConfirmation.body=Do you really want to delete folder ''{0}'' ?\nNOTE: Removing it will also remove all boards/folders inside this folder!!! BoardTree.removeFolderConfirmation.title=Remove folder ''{0}'' BoardsChooser.title=Choose boards Common.browse=Browse Common.cancel=Cancel Common.copy=Copy Common.copyToClipBoard=Copy to clipboard Common.copyToClipBoard.copyExtendedInfo=Copy extended info Common.copyToClipBoard.copyKeysOnly=Copy keys only Common.copyToClipBoard.copyKeysWithFilenames=Copy keys with filenames Common.copyToClipBoard.extendedInfo.bytes=Bytes: Common.copyToClipBoard.extendedInfo.file=File : Common.copyToClipBoard.extendedInfo.key=Key : Common.copyToClipBoard.extendedInfo.keyNotAvailableYet=Key not available yet Common.cut=Cut Common.exit=Exit Common.ok=Ok Common.paste=Paste Core.init.NodeNotRunningBody=Make sure your node is running and that you have configured Freenet correctly.\nNevertheless, to allow you to read messages, Frost will startup now.\nPlease note that automatic board updates were disabled (Menu 'News')!\nDon't get confused by some error messages ;)\n Core.init.NodeNotRunningTitle=Error - could not establish a connection to freenet node. Core.init.TestnetWarningBody=Your freenet node runs in TESTNET mode, no anonymity is provided! Core.init.TestnetWarningTitle=Freenet node in TESTNET mode Core.init.UnsupportedFreenetVersionBody=Freenet version is not supported (must be 5 or 7) Core.init.UnsupportedFreenetVersionTitle=Freenet version is not supported Core.loadIdentities.ChooseName=Choose an identity name, it doesn't have to be unique\n Core.loadIdentities.ConnectionNotEstablishedBody=Frost could not establish a connection to your freenet node(s).\nFor first setup of Frost and creating your identity a connection is needed,\nlater you can run Frost without a connection.\nPlease ensure that you are online and freenet is running, then restart Frost. Core.loadIdentities.ConnectionNotEstablishedTitle=Connect to Freenet node failed Core.loadIdentities.InvalidNameBody=Your name must not contain a '@'! Core.loadIdentities.InvalidNameTitle=Invalid identity name DialogWithDetails.button.less=Less DialogWithDetails.button.more=More DownloadPane.fileTable.age=Age DownloadPane.fileTable.blocks=Blocks DownloadPane.fileTable.enabled=Enabled DownloadPane.fileTable.filename=Filename DownloadPane.fileTable.from=From DownloadPane.fileTable.key=Key DownloadPane.fileTable.popupmenu.enableDownloads=Enable downloads DownloadPane.fileTable.popupmenu.enableDownloads.disableAllDownloads=Disable all downloads DownloadPane.fileTable.popupmenu.enableDownloads.disableSelectedDownloads=Disable selected downloads DownloadPane.fileTable.popupmenu.enableDownloads.enableAllDownloads=Enable all downloads DownloadPane.fileTable.popupmenu.enableDownloads.enableSelectedDownloads=Enable selected downloads DownloadPane.fileTable.popupmenu.enableDownloads.invertEnabledStateForAllDownloads=Invert enabled state for all downloads DownloadPane.fileTable.popupmenu.enableDownloads.invertEnabledStateForSelectedDownloads=Invert enabled state for selected downloads DownloadPane.fileTable.popupmenu.remove=Remove DownloadPane.fileTable.popupmenu.remove.removeAllDownloads=Remove all downloads DownloadPane.fileTable.popupmenu.remove.removeFinishedDownloads=Remove finished downloads DownloadPane.fileTable.popupmenu.remove.removeSelectedDownloads=Remove selected downloads DownloadPane.fileTable.popupmenu.restartSelectedDownloads=Restart selected downloads DownloadPane.fileTable.size=Size DownloadPane.fileTable.source=Source DownloadPane.fileTable.state=State DownloadPane.fileTable.states.anonymous=Anonymous DownloadPane.fileTable.states.decodingSegment=Decoding segment DownloadPane.fileTable.states.done=Done DownloadPane.fileTable.states.failed=Failed DownloadPane.fileTable.states.offline=Offline DownloadPane.fileTable.states.requested=Requested DownloadPane.fileTable.states.requesting=Requesting DownloadPane.fileTable.states.trying=Trying DownloadPane.fileTable.states.unknown=Unknown DownloadPane.fileTable.states.waiting=Waiting DownloadPane.fileTable.tries=Tries DownloadPane.invalidKeyDialog.body=Invalid key. Key must begin with one of DownloadPane.invalidKeyDialog.title=Invalid key DownloadPane.toolbar.tooltip.activateDownloading=Activate downloading DownloadPane.toolbar.tooltip.pauseDownloading=Pause downloading DownloadPane.toolbar.waiting=Waiting FirstStartupDialog.freenetVersion.label=Please choose the version of Freenet you want to use FirstStartupDialog.identity.createNew=Create new identity FirstStartupDialog.identity.import=Import existing identities.xml file FirstStartupDialog.identity.label=You can create a new identity or import an existing identities.xml file FirstStartupDialog.title=Frost first startup Frost.lockFileFound=This indicates that another Frost instance is already running in this directory.\nRunning Frost concurrently will cause data loss.\nIf you are REALLY SURE that Frost is not already running, delete the lockfile:\n KnownBoardsFrame.button.addBoards=Add Board(s) KnownBoardsFrame.button.addBoardsToFolder=Add Board(s) to folder KnownBoardsFrame.button.close=Close KnownBoardsFrame.button.removeBoard=Remove board KnownBoardsFrame.label.filter=Filter KnownBoardsFrame.label.lookup=Lookup KnownBoardsFrame.table.boardName=Boardname KnownBoardsFrame.table.description=Description KnownBoardsFrame.table.privateKey=Private key KnownBoardsFrame.table.publicKey=Public key KnownBoardsFrame.title=List of known boards MainFrame.menu.file=File MainFrame.menu.help=Help MainFrame.menu.help.aboutFrost=About MainFrame.menu.help.help=Help MainFrame.menu.help.showMemoryMonitor=Show memory monitor MainFrame.menu.language=Language MainFrame.menu.language.bulgarian=Bulgarian MainFrame.menu.language.default=Default MainFrame.menu.language.dutch=Dutch MainFrame.menu.language.english=English MainFrame.menu.language.french=French MainFrame.menu.language.german=German MainFrame.menu.language.italian=Italian MainFrame.menu.language.japanese=Japanese MainFrame.menu.language.russian=Russian MainFrame.menu.language.spanish=Spanish MainFrame.menu.news=News MainFrame.menu.news.automaticBoardUpdate=Automatic board update MainFrame.menu.news.configureBoard=Configure selected board MainFrame.menu.news.displayBoardInformationWindow=Display board information window MainFrame.menu.news.displayKnownBoards=Display known boards MainFrame.menu.news.searchMessages=Search messages MainFrame.menu.options=Options MainFrame.menu.options.preferences=Preferences MainFrame.runningUploadsWarning.body=Some messages are still being uploaded.\nDo you want to exit anyway? MainFrame.runningUploadsWarning.title=Uploads underway MainFrame.statusBar.TOFDO=TOFDO MainFrame.statusBar.TOFUP=TOFUP MainFrame.statusBar.downloading=Downloading: MainFrame.statusBar.file=file MainFrame.statusBar.files=files MainFrame.statusBar.selectedBoard=Selected board MainFrame.statusBar.uploading=Uploading: MainFrame.tabbedPane.downloads=Downloads MainFrame.tabbedPane.news=News MainFrame.tabbedPane.search=Search MainFrame.tabbedPane.uploads=Uploads MainFrame.toolbar.tooltip.boardInformationWindow=Board Information Window MainFrame.toolbar.tooltip.configureBoard=Configure board MainFrame.toolbar.tooltip.cutBoard=Cut board MainFrame.toolbar.tooltip.displayListOfKnownBoards=Display list of known boards MainFrame.toolbar.tooltip.minimizeToSystemTray=Minimize to System Tray MainFrame.toolbar.tooltip.newBoard=New board MainFrame.toolbar.tooltip.newFolder=New folder MainFrame.toolbar.tooltip.pasteBoard=Paste board MainFrame.toolbar.tooltip.removeBoard=Remove board MainFrame.toolbar.tooltip.renameFolder=Rename folder MainFrame.toolbar.tooltip.searchMessages=Search messages MessageFrame.attachBoard.sendPrivateKeyConfirmationDialog.body=You have the private key to board ''{0}''. Are you sure you want it attached?\nIf you choose NO, only the public key will be attached. MessageFrame.attachBoard.sendPrivateKeyConfirmationDialog.title=Include private board key? MessageFrame.attachmentTables.popupmenu.remove=Remove MessageFrame.board=Board MessageFrame.boardAttachmentTable.boardname=Boardname MessageFrame.boardAttachmentTable.description=Description MessageFrame.boardAttachmentTable.privateKey=Private key MessageFrame.boardAttachmentTable.publicKey=Public key MessageFrame.createMessage.title=Create message MessageFrame.defaultSubjectWarning.text=Do you want to enter a subject? MessageFrame.defaultSubjectWarning.title=No subject specified! MessageFrame.encryptErrorNoRecipient.body=Can't encrypt the message, no recipient choosed! MessageFrame.encryptErrorNoRecipient.title=Encrypt error MessageFrame.fileAttachmentTable.filename=Filename MessageFrame.fileAttachmentTable.size=Size MessageFrame.fileChooser.title=Choose file(s) / directory(s) to attach MessageFrame.from=From MessageFrame.noSenderError.text=You must enter a sender name! MessageFrame.noSenderError.title=No 'From' specified! MessageFrame.noSubjectError.text=You must enter a subject! MessageFrame.noSubjectError.title=No subject specified! MessageFrame.subject=Subject MessageFrame.toolbar.encryptFor=Encrypt for MessageFrame.toolbar.indexedAttachments=Indexed attachments MessageFrame.toolbar.sign=Sign MessageFrame.toolbar.tooltip.addBoardAttachments=Add Board(s) MessageFrame.toolbar.tooltip.addFileAttachments=Add attachment(s) MessageFrame.toolbar.tooltip.cancelMessage=Cancel MessageFrame.toolbar.tooltip.indexedAttachments=Should file attachments be added to upload table? MessageFrame.toolbar.tooltip.sendMessage=Send message MessagePane.boardAttachmentTable.accessRights=Access rights MessagePane.boardAttachmentTable.boardName=Board name MessagePane.boardAttachmentTable.description=Description MessagePane.boardAttachmentTable.popupmenu.addBoards=Add Board(s) MessagePane.boardAttachmentTable.popupmenu.addBoardsToFolder=Add Board(s) to folder MessagePane.boardAttachmentTable.popupmenu.addBoardsToKnownBoards=Add board(s) to list of known boards MessagePane.defaultText.noBoardSelected=Select a board to view its content. MessagePane.defaultText.noMessageSelected=Select a message to view its content. MessagePane.defaultText.welcomeMessage=Please read this!\n\nTo use Frost, you first need to select a topic from the board information window. You can open this window with the i-button above. You can send messages and files to people using the same board. It will probably take some time until the first boards show up (press the update button). MessagePane.fileAttachmentTable.filename=Filename MessagePane.fileAttachmentTable.key=Key MessagePane.fileAttachmentTable.popupmenu.downloadAttachments=Download attachment(s) MessagePane.fileAttachmentTable.popupmenu.downloadSelectedAttachment=Download selected attachment MessagePane.fileAttachmentTable.size=Size MessagePane.messageTable.date=Date MessagePane.messageTable.from=From MessagePane.messageTable.index=Index MessagePane.messageTable.popupmenu.deleteMessage=Delete message MessagePane.messageTable.popupmenu.markAllMessagesRead=Mark ALL messages read MessagePane.messageTable.popupmenu.markMessageUnread=Mark message unread MessagePane.messageTable.popupmenu.setToBad=block user (sets to BAD) MessagePane.messageTable.popupmenu.setToCheck=set to neutral (CHECK) MessagePane.messageTable.popupmenu.setToGood=help user (sets to GOOD) MessagePane.messageTable.popupmenu.setToObserve=observe user (OBSERVE) MessagePane.messageTable.popupmenu.undeleteMessage=Undelete message MessagePane.messageTable.sig=Sig MessagePane.messageTable.subject=Subject MessagePane.messageText.popupmenu.copy=Copy MessagePane.messageText.popupmenu.saveMessageToDisk=Save message to disk MessagePane.messageText.saveDialog.title=Save message to disk MessagePane.toolbar.tooltip.newMessage=New message MessagePane.toolbar.tooltip.nextUnreadMessage=Next unread message MessagePane.toolbar.tooltip.reply=Reply MessagePane.toolbar.tooltip.saveMessage=Save message MessagePane.toolbar.tooltip.setToBad=Do not trust MessagePane.toolbar.tooltip.setToCheck=Set to CHECK MessagePane.toolbar.tooltip.setToGood=Trust MessagePane.toolbar.tooltip.setToObserve=Set to OBSERVE MessagePane.toolbar.tooltip.update=Update MessageUploadFailedDialog.body=Frost was not able to upload your message. MessageUploadFailedDialog.option.discardMessage=Discard message MessageUploadFailedDialog.option.retry=Retry MessageUploadFailedDialog.option.retryOnNextStartup=Retry on next startup MessageUploadFailedDialog.title=Upload of message failed MessageWindow.board=Board MessageWindow.date=Date MessageWindow.from=From MessageWindow.subject=Subject NewBoardDialog.add=Add Board NewBoardDialog.description=Description (Optional). Do not put private information here: NewBoardDialog.details=Please enter the details of the new board: NewBoardDialog.name=Name: NewBoardDialog.title=Add a new board Options.common.hours=hours Options.common.minutes=minutes Options.common.off=Off Options.common.on=On Options.display=Display Options.display.availableSkins=Available Skins Options.display.choose=Choose Options.display.enableAntialiasingForMessageBody=Enable antialiasing for Message Body Options.display.enableMultilineSelectionsInMessageTable=Enable multiline selections in message table Options.display.enableSkins=Enable Skins Options.display.fileList=File List Options.display.fontChooser.bold=Bold Options.display.fontChooser.boldItalic=Bold Italic Options.display.fontChooser.italic=Italic Options.display.fontChooser.plain=Plain Options.display.fontChooser.sample=Sample Options.display.fontChooser.title=Choose a Font Options.display.fonts=Fonts Options.display.messageBody=Message Body Options.display.messageList=Message List Options.display.noSkinsFound=No skins found! Options.display.preview=Preview Options.display.refreshList=Refresh List Options.display.showTooltipWithBoardDescriptionInBoardTree=Show tooltip with board description in board tree Options.display.youCanGetMoreSkinsAt=You can get more skins at Options.downloads=Downloads Options.downloads.decodeEachSegmentImmediately=Decode each segment immediately after its download Options.downloads.disableDownloads=Disable downloads Options.downloads.downloadDirectory=Download directory Options.downloads.enableRequestingOfFailedDownloadFiles=Enable requesting of failed download files Options.downloads.filechooser.title=Select download directory Options.downloads.maximumNumberOfRetries=Maximum number of retries Options.downloads.numberOfSimultaneousDownloads=Number of simultaneous downloads Options.downloads.numberOfSplitfileThreads=Number of splitfile threads Options.downloads.removeFinishedDownloadsEvery5Minutes=Remove finished downloads every 5 minutes Options.downloads.requestFileAfterThisCountOfRetries=Request file after this count of retries Options.downloads.restartFailedDownloads=Restart failed downloads Options.downloads.tryToDownloadAllSegments=Try to download all segments, even if one fails Options.downloads.waittimeAfterEachTry=Waittime after each try Options.expiration=Expiration Options.expiration.archiveExpiredMessages=Archive expired messages Options.expiration.archiveFolder=Archive folder Options.expiration.deleteExpiredMessages=Delete expired messages from keypool Options.expiration.fileChooser.title.selectArchiveDirectory=Select archive directory Options.expiration.keepExpiredMessages=Keep expired messages in keypool Options.expiration.numberOfDaysBeforeMessageExpires=Number of days before a message expires Options.miscellaneous=Miscellaneous Options.miscellaneous.allow2ByteCharacters=Allow 2 byte characters Options.miscellaneous.automaticSavingInterval=Automatic saving interval Options.miscellaneous.cleanTheKeypool=Clean the keypool Options.miscellaneous.disableSplashscreen=Disable splashscreen Options.miscellaneous.enableLogging=Enable logging Options.miscellaneous.keyfileDownloadHtl=Keyfile download HTL Options.miscellaneous.keyfileUploadHtl=Keyfile upload HTL Options.miscellaneous.listOfFcpNodes=Comma-separated list of nodes you have FCP access to Options.miscellaneous.listOfFcpNodesExplanation=(nodeA:portA, nodeB:portB, ...) Options.miscellaneous.logFileSizeLimit=Log files size limit (in KB) Options.miscellaneous.logLevel.high=High Options.miscellaneous.logLevel.low=Low Options.miscellaneous.logLevel.medium=Medium Options.miscellaneous.logLevel.veryHigh=Very high Options.miscellaneous.logLevel.veryLow=Very low Options.miscellaneous.loggingLevel=Logging level Options.miscellaneous.showSysTrayIcon=Show SysTray icon Options.miscellaneous.useEditorForWritingMessages=Use editor for writing messages Options.news=News Options.news.1.messageBase=Message base Options.news.1.messageDownloadHtl=Message download HTL Options.news.1.messageUploadHtl=Message upload HTL Options.news.1.numberOfDaysToDisplay=Number of days to display Options.news.1.numberOfDaysToDownloadBackwards=Number of days to download backwards Options.news.1.signature=Signature Options.news.2.blockMessagesWithBody=Block messages with body containing (separate by ';' ) Options.news.2.blockMessagesWithSubject=Block messages with subject containing (separate by ';' ) Options.news.2.blockMessagesWithTheseBoards=Block messages with these attached boards (separate by ';' ) Options.news.2.doSpamDetection=Do spam detection Options.news.2.dontAddBoardsFromTrustStates=Don't add boards to known boards list from users with trust states Options.news.2.hideMessagesWithTrustStates=Hide messages with trust states Options.news.2.sampleInterval=Sample interval Options.news.2.thresholdOfBlockedMessages=Threshold of blocked messages Options.news.2.trustState.bad=Bad Options.news.2.trustState.check=Check Options.news.2.trustState.none=None (unsigned) Options.news.2.trustState.observe=Observe Options.news.3.automaticBoardUpdate=Automatic board update Options.news.3.automaticUpdateOptions=Automatic update options Options.news.3.backgroundColorIfUpdatingBoardIsNotSelected=Background color if updating board is not selected Options.news.3.backgroundColorIfUpdatingBoardIsSelected=Background color if updating board is selected Options.news.3.choose=Choose Options.news.3.color=Color Options.news.3.colorChooserDialog.title.chooseUpdatingColorOfSelectedBoards=Choose updating color of SELECTED boards Options.news.3.colorChooserDialog.title.chooseUpdatingColorOfUnselectedBoards=Choose updating color of NON-SELECTED boards Options.news.3.minimumUpdateInterval=Minimum update interval of a board Options.news.3.numberOfConcurrentlyUpdatingBoards=Number of concurrently updating boards Options.news.3.receiveDuplicateMessages=Receive duplicate messages Options.news.3.showBoardUpdateVisualization=Show board update visualization Options.news.3.showDeletedMessages=Show deleted messages Options.news.3.silentlyRetryFailedMessages=Silently retry failed messages Options.search=Search Options.search.archiveExtension=Archive Extension Options.search.audioExtension=Audio Extension Options.search.documentExtension=Document Extension Options.search.executableExtension=Executable Extension Options.search.hideFilesFromAnonymousUsers=Hide files from anonymous users Options.search.hideFilesFromPeopleMarkedBad=Hide files from people marked BAD Options.search.imageExtension=Image Extension Options.search.maximumSearchResults=Maximum search results Options.search.videoExtension=Video Extension Options.title=Options Options.uploads=Uploads Options.uploads.automaticIndexing=Automatic Indexing Options.uploads.disableUploads=Disable uploads Options.uploads.helpSpreadFilesFromPeopleMarkedGood=Help spread files from people marked GOOD Options.uploads.maximumNumberOfRetries=Maximum number of retries Options.uploads.numberOfSimultaneousUploads=Number of simultaneous uploads Options.uploads.numberOfSplitfileThreads=Number of splitfile threads Options.uploads.numberOfSplitfileThreadsExplanation=(bigger is faster but uses more cpu) Options.uploads.restartFailedUploads=Restart failed uploads Options.uploads.shareDownloads=Share Downloads Options.uploads.signSharedFiles=Sign shared files Options.uploads.uploadBatchSize=Upload batch size Options.uploads.uploadBatchSizeExplanation=bigger is faster but smaller is spam resistant Options.uploads.uploadHtl=Upload HTL Options.uploads.uploadHtlExplanation=(bigger is slower but more reliable) Options.uploads.waittimeAfterEachTry=Waittime after each try Saver.AutoTask.message=Frost found an error while saving a resource and it will close itself. Saver.AutoTask.title=Problem found. SearchMessages.archive=Archive SearchMessages.archive.searchInKeypoolAndArchive=Search in keypool and archive SearchMessages.archive.searchOnlyInArchive=Search only in archive SearchMessages.archive.searchOnlyInKeypool=Search only in keypool SearchMessages.attachments=Attachments SearchMessages.attachments.messageMustContainBoardAttachments=Message must contain board attachments SearchMessages.attachments.messageMustContainFileAttachments=Message must contain file attachments SearchMessages.boards=Boards SearchMessages.boards.chooseBoards=Choose boards SearchMessages.boards.searchFollowingBoards=Search following boards SearchMessages.boards.searchInDisplayedBoards=Search in displayed boards SearchMessages.button.close=Close SearchMessages.button.help=Help SearchMessages.button.openMessage=Open message SearchMessages.button.search=Search SearchMessages.button.stopSearch=Stop search SearchMessages.date=Date SearchMessages.date.searchAllDates=Search all dates SearchMessages.date.searchBetweenDates=Search between dates SearchMessages.date.searchInMessagesThatWouldBeDisplayed=Search in messages that would be displayed SearchMessages.date.searchNumberOfDaysBackward=Search number of days backward SearchMessages.date.to=to SearchMessages.errorDialog.stopSearchBeforeClose=Please stop the search before closing the window. SearchMessages.errorDialogs.invalidStartOrEndDate=Invalid start date or end date specified. SearchMessages.errorDialogs.noBoardsChosed=No boards to search into were chosed. SearchMessages.errorDialogs.noBoardsToChoose=There are no boards that could be choosed. SearchMessages.errorDialogs.noTrustStateSelected=No trust state is selected. SearchMessages.errorDialogs.startDateIsAfterEndDate=Start date is after end date. SearchMessages.errorDialogs.title=Error SearchMessages.label.results=Results SearchMessages.label.searchResult=Search result SearchMessages.resultTable.board=Board SearchMessages.resultTable.date=Date SearchMessages.resultTable.from=From SearchMessages.resultTable.index=Index SearchMessages.resultTable.sig=Sig SearchMessages.resultTable.subject=Subject SearchMessages.search=Search SearchMessages.search.content=Content SearchMessages.search.searchPrivateMessagesOnly=Search private messages only SearchMessages.search.sender=Sender SearchMessages.search.subject=Subject SearchMessages.title=Search messages SearchMessages.trustState=Trust state SearchMessages.trustState.bad=Bad SearchMessages.trustState.check=Check SearchMessages.trustState.good=Good SearchMessages.trustState.none=None (unsigned) SearchMessages.trustState.observe=Observe SearchMessages.trustState.searchAllMessages=Search all messages, no matter which trust state is set SearchMessages.trustState.searchInMessagesThatWouldBeDisplayed=Search in messages that would be displayed SearchMessages.trustState.searchOnlyInMessagesWithFollowingTrustState=Search only in messages with following trust state SearchMessages.trustState.tampered=Tampered SearchPane.fileTypes.allFiles=All files SearchPane.fileTypes.archives=Archives SearchPane.fileTypes.audio=Audio SearchPane.fileTypes.documents=Documents SearchPane.fileTypes.executables=Executables SearchPane.fileTypes.images=Images SearchPane.fileTypes.video=Video SearchPane.resultTable.age=Age SearchPane.resultTable.board=Board SearchPane.resultTable.filename=Filename SearchPane.resultTable.from=From SearchPane.resultTable.popupmenu.downloadAllKeys=Download all keys SearchPane.resultTable.popupmenu.downloadSelectedKeys=Download selected keys SearchPane.resultTable.popupmenu.setToBad=block user (sets to BAD) SearchPane.resultTable.popupmenu.setToGood=help user (sets to GOOD) SearchPane.resultTable.size=Size SearchPane.resultTable.states.anonymous=Anonymous SearchPane.resultTable.states.downloaded=Downloaded SearchPane.resultTable.states.downloading=Downloading SearchPane.resultTable.states.offline=Offline SearchPane.resultTable.states.uploading=Uploading SearchPane.toolbar.results=Results SearchPane.toolbar.searchAllBoards=all boards SearchPane.toolbar.tooltip.downloadSelectedKeys=Download selected keys SearchPane.toolbar.tooltip.search=Search Splashscreen.message.1=Initializing Mainframe Splashscreen.message.2=Hypercube fluctuating! Splashscreen.message.3=Sending IP address to the NSA Splashscreen.message.4=Wasting more time Splashscreen.message.5=Reaching ridiculous speed... TargetFolderChooser.title=Choose a target folder UploadPane.fileTable.destination=Destination UploadPane.fileTable.enabled=Enabled UploadPane.fileTable.filename=Filename UploadPane.fileTable.key=Key UploadPane.fileTable.lastUpload=Last upload UploadPane.fileTable.path=Path UploadPane.fileTable.popupmenu.changeDestinationBoard=Change destination board UploadPane.fileTable.popupmenu.prefixInputLabel=Please enter the prefix you want to use for your files. UploadPane.fileTable.popupmenu.remove=Remove UploadPane.fileTable.popupmenu.remove.removeAllFiles=Remove all files UploadPane.fileTable.popupmenu.remove.removeSelectedFiles=Remove selected files UploadPane.fileTable.popupmenu.restoreDefaultFilenamesForAllFiles=Restore default filenames for all files UploadPane.fileTable.popupmenu.restoreDefaultFilenamesForSelectedFiles=Restore default filenames for selected files UploadPane.fileTable.popupmenu.setPrefixForAllFiles=Set prefix for all files UploadPane.fileTable.popupmenu.setPrefixForSelectedFiles=Set prefix for selected files UploadPane.fileTable.popupmenu.startEncodingOfSelectedFiles=Start encoding of selected files UploadPane.fileTable.popupmenu.uploadAllFiles=Upload all files UploadPane.fileTable.popupmenu.uploadSelectedFiles=Upload selected files UploadPane.fileTable.size=Size UploadPane.fileTable.state.encodeRequested=Encode requested UploadPane.fileTable.state.encodingFile=Encoding file UploadPane.fileTable.state.never=Never UploadPane.fileTable.state.requested=Requested UploadPane.fileTable.state.unknown=Unknown UploadPane.fileTable.state.uploading=Uploading UploadPane.fileTable.state.waiting=Waiting UploadPane.fileTable.tries=Tries UploadPane.filechooser.title=Select files you want to upload to board ''{0}'' UploadPane.toolbar.tooltip.browse=Browse --- NEW FILE: langres_de.properties --- (This appears to be a binary file; contents omitted.) --- NEW FILE: langres_nl.properties --- AboutBox.title=Info BoardInfoFrame.table.board=Forum BoardInfoFrame.table.files=Bestanden BoardInfoFrame.table.messages=Berichten BoardInfoFrame.table.state=Status BoardSettings.button.generateNewKeypair=Genereer nieuw sleutelpaar BoardSettings.label.no=Nee BoardSettings.label.publicBoard=Publiek forum BoardSettings.label.secureBoard=Beveiligd forum BoardSettings.label.yes=Ja BoardSettings.text.keyNotAvailable=Niet beschikbaar BoardTree.popupmenu.Board=Forum BoardTree.popupmenu.configureSelectedBoard=Stel selecteerde forum in BoardTree.popupmenu.renameFolder=Naam folder wijzigen Common.cancel=Annuleren Common.exit=Afsluiten DownloadPane.fileTable.age=Leeftijd DownloadPane.fileTable.filename=Bestandsnaam DownloadPane.fileTable.from=Van DownloadPane.fileTable.key=Sleutel DownloadPane.fileTable.popupmenu.remove.removeAllDownloads=Verwijder alle downloads DownloadPane.fileTable.popupmenu.remove.removeSelectedDownloads=Verwijder geselecteerde downloads DownloadPane.fileTable.size=Grootte DownloadPane.fileTable.source=Bron DownloadPane.fileTable.state=Status DownloadPane.fileTable.states.done=Klaar DownloadPane.fileTable.states.failed=Mislukt DownloadPane.fileTable.states.trying=Proberen DownloadPane.fileTable.states.waiting=Wachten DownloadPane.invalidKeyDialog.title=Invalid key DownloadPane.toolbar.tooltip.activateDownloading=Activeer downloaden DownloadPane.toolbar.waiting=Wachten KnownBoardsFrame.button.removeBoard=Verwijder forum MainFrame.menu.file=Bestand MainFrame.menu.help=Help MainFrame.menu.help.aboutFrost=Info MainFrame.menu.help.help=Help MainFrame.menu.news=Nieuws MainFrame.menu.news.automaticBoardUpdate=Berichten automatisch ophalen MainFrame.menu.news.configureBoard=Stel selecteerde forum in MainFrame.menu.news.displayBoardInformationWindow=Toon forum informatievenster MainFrame.menu.options=Opties MainFrame.menu.options.preferences=Voorkeuren MainFrame.tabbedPane.downloads=Downloads MainFrame.tabbedPane.news=Nieuws MainFrame.tabbedPane.search=Zoeken MainFrame.tabbedPane.uploads=Uploads MainFrame.toolbar.tooltip.configureBoard=Forum instellen MainFrame.toolbar.tooltip.cutBoard=Forum knippen MainFrame.toolbar.tooltip.newBoard=Nieuw forum MainFrame.toolbar.tooltip.pasteBoard=Forum plakken MainFrame.toolbar.tooltip.removeBoard=Verwijder forum MainFrame.toolbar.tooltip.renameFolder=Naam folder wijzigen MessageFrame.board=Forum MessageFrame.createMessage.title=Maak bericht aan MessageFrame.defaultSubjectWarning.text=Wilt u een onderwerp invoeren? MessageFrame.defaultSubjectWarning.title=Geen onderwerp ingevoerd! MessageFrame.fileAttachmentTable.filename=Bestandsnaam MessageFrame.fileAttachmentTable.size=Grootte MessageFrame.fileChooser.title=Kies toe te voegen bestand(en) / map(pen) MessageFrame.from=Van MessageFrame.noSubjectError.title=Geen onderwerp ingevoerd! MessageFrame.subject=Onderwerp MessageFrame.toolbar.tooltip.addFileAttachments=Voeg bijlage(n) toe MessageFrame.toolbar.tooltip.cancelMessage=Annuleren MessageFrame.toolbar.tooltip.sendMessage=Verstuur bericht MessagePane.defaultText.noMessageSelected=Selecteer een bericht om de inhoud hiervan te zien. MessagePane.fileAttachmentTable.filename=Bestandsnaam MessagePane.fileAttachmentTable.key=Sleutel MessagePane.fileAttachmentTable.popupmenu.downloadAttachments=Dowload bijlage(n) MessagePane.fileAttachmentTable.size=Grootte MessagePane.messageTable.date=Datum MessagePane.messageTable.from=Van MessagePane.messageTable.index=Index MessagePane.messageTable.subject=Onderwerp MessagePane.messageText.popupmenu.saveMessageToDisk=Bewaar bericht op schijf MessagePane.messageText.saveDialog.title=Bewaar bericht op schijf MessagePane.toolbar.tooltip.newMessage=Nieuw bericht MessagePane.toolbar.tooltip.reply=Beantwoorden MessagePane.toolbar.tooltip.saveMessage=Bericht opslaan MessagePane.toolbar.tooltip.update=Vernieuwen MessageUploadFailedDialog.option.retry=Opnieuw proberen MessageUploadFailedDialog.title=Het uploaden van uw bericht is mislukt. MessageWindow.board=Forum MessageWindow.date=Datum MessageWindow.from=Van MessageWindow.subject=Onderwerp Options.common.off=Off Options.common.on=On Options.display=Display Options.display.availableSkins=Available Skins Options.display.enableSkins=Enable Skins Options.display.noSkinsFound=No Skins Found Options.display.preview=Preview Options.display.refreshList=Refresh List Options.display.youCanGetMoreSkinsAt=You can get more skins at Options.downloads=Downloads Options.miscellaneous=Divers Options.miscellaneous.allow2ByteCharacters=Sta 2 byte characters toe Options.news=Nieuws Options.news.3.automaticBoardUpdate=Berichten automatisch ophalen Options.search=Zoeken Options.title=Opties Options.uploads=Uploads SearchMessages.button.help=Help SearchMessages.button.search=Zoeken SearchMessages.date=Datum SearchMessages.resultTable.board=Forum SearchMessages.resultTable.date=Datum SearchMessages.resultTable.from=Van SearchMessages.resultTable.index=Index SearchMessages.resultTable.subject=Onderwerp SearchMessages.search=Zoeken SearchMessages.search.subject=Onderwerp SearchPane.resultTable.age=Leeftijd SearchPane.resultTable.board=Forum SearchPane.resultTable.filename=Bestandsnaam SearchPane.resultTable.from=Van SearchPane.resultTable.popupmenu.downloadAllKeys=Download alle sleutels SearchPane.resultTable.popupmenu.downloadSelectedKeys=Download geselecteerde sleutels SearchPane.resultTable.size=Grootte SearchPane.toolbar.tooltip.downloadSelectedKeys=Download geselecteerde sleutels SearchPane.toolbar.tooltip.search=Zoeken UploadPane.fileTable.destination=Bestemming UploadPane.fileTable.filename=Bestandsnaam UploadPane.fileTable.key=Sleutel UploadPane.fileTable.lastUpload=Laatste upload UploadPane.fileTable.path=Pad UploadPane.fileTable.popupmenu.prefixInputLabel=Geef a.u.b. het voorvoegsel dat U wilt gebruiken voor deze bestanden. UploadPane.fileTable.popupmenu.remove.removeAllFiles=Verwijder alle bestanden UploadPane.fileTable.popupmenu.remove.removeSelectedFiles=Verwijder geselecteerde bestanden UploadPane.fileTable.popupmenu.restoreDefaultFilenamesForAllFiles=Herstel standaard bestandsnaam voor alle bestanden UploadPane.fileTable.popupmenu.restoreDefaultFilenamesForSelectedFiles=Herstel standaard bestandsnaam voor geselecteerde bestanden UploadPane.fileTable.popupmenu.setPrefixForAllFiles=Stel voorvoegsel voor alle bestanden in UploadPane.fileTable.popupmenu.setPrefixForSelectedFiles=Stel voorvoegsel voor geselecteerde bestanden in UploadPane.fileTable.size=Grootte UploadPane.fileTable.state.never=Nooit UploadPane.fileTable.state.uploading=Uploaden UploadPane.fileTable.state.waiting=Wachten --- NEW FILE: langres_it.properties --- AboutBox.title=Informazioni BoardInfoFrame.button.updateSelectedBoard=Aggiorna la board selezionata BoardInfoFrame.table.board=Board BoardInfoFrame.table.files=Files BoardInfoFrame.table.messages=Messaggi BoardInfoFrame.table.state=Status BoardSettings.button.generateNewKeypair=Genera nuove chiavi BoardSettings.label.hideBadMessages=Nascondi BAD BoardSettings.label.hideCheckMessages=Nascondi CHECK BoardSettings.label.no=No BoardSettings.label.publicBoard=Board pubblica BoardSettings.label.secureBoard=Board sicura BoardSettings.label.yes=Sì BoardSettings.text.keyNotAvailable=N/A: non disponibile BoardTree.popupmenu.Board=Board BoardTree.popupmenu.configureSelectedBoard=Configura board selezionata BoardTree.popupmenu.renameFolder=Rinomina cartella Common.cancel=Annulla Common.exit=Esci DownloadPane.fileTable.age=Data DownloadPane.fileTable.filename=Nome file DownloadPane.fileTable.from=Da DownloadPane.fileTable.key=URI DownloadPane.fileTable.popupmenu.remove.removeAllDownloads=Elimina tutti i downloads DownloadPane.fileTable.popupmenu.remove.removeSelectedDownloads=Elimina i downloads selezionati DownloadPane.fileTable.size=Dimensione DownloadPane.fileTable.source=Board DownloadPane.fileTable.state=Status DownloadPane.fileTable.states.done=Finito DownloadPane.fileTable.states.failed=Fallito DownloadPane.fileTable.states.requested=Richiesto DownloadPane.fileTable.states.trying=Provo DownloadPane.fileTable.states.unknown=Sconosciuto DownloadPane.fileTable.states.waiting=Attesa DownloadPane.invalidKeyDialog.title=Chiave non valida DownloadPane.toolbar.tooltip.activateDownloading=Attiva downloads DownloadPane.toolbar.waiting=Attesa KnownBoardsFrame.button.addBoards=Add Board(s) KnownBoardsFrame.button.removeBoard=Elimina board MainFrame.menu.file=File MainFrame.menu.help=Aiuto MainFrame.menu.help.aboutFrost=Informazioni MainFrame.menu.help.help=Aiuto MainFrame.menu.news=News MainFrame.menu.news.automaticBoardUpdate=Autoaggiornamento board MainFrame.menu.news.configureBoard=Configura board selezionata MainFrame.menu.news.displayBoardInformationWindow=Visualizza finestra informazioni board MainFrame.menu.options=Opzioni MainFrame.menu.options.preferences=Preferenze MainFrame.tabbedPane.downloads=Downloads MainFrame.tabbedPane.news=News MainFrame.tabbedPane.search=Cerca MainFrame.tabbedPane.uploads=Uploads MainFrame.toolbar.tooltip.boardInformationWindow=Finestra informazioni board MainFrame.toolbar.tooltip.configureBoard=Configura board MainFrame.toolbar.tooltip.cutBoard=Taglia board MainFrame.toolbar.tooltip.minimizeToSystemTray=Minimizza nella System Tray MainFrame.toolbar.tooltip.newBoard=Nuova board MainFrame.toolbar.tooltip.pasteBoard=Incolla board MainFrame.toolbar.tooltip.removeBoard=Elimina board MainFrame.toolbar.tooltip.renameFolder=Rinomina cartella MessageFrame.board=Board MessageFrame.createMessage.title=Scrivi messaggio MessageFrame.defaultSubjectWarning.text=Vuoi inserire l'oggetto? MessageFrame.defaultSubjectWarning.title=Oggetto mancante! MessageFrame.fileAttachmentTable.filename=Nome file MessageFrame.fileAttachmentTable.size=Dimensione MessageFrame.fileChooser.title=Scegli il file o la cartella da allegare MessageFrame.from=Da MessageFrame.noSubjectError.title=Oggetto mancante! MessageFrame.subject=Oggetto MessageFrame.toolbar.tooltip.addBoardAttachments=Add Board(s) MessageFrame.toolbar.tooltip.addFileAttachments=Aggiungi allegato/i MessageFrame.toolbar.tooltip.cancelMessage=Annulla MessageFrame.toolbar.tooltip.sendMessage=Invia messaggio MessagePane.boardAttachmentTable.popupmenu.addBoards=Add Board(s) MessagePane.defaultText.noMessageSelected=Seleziona un messaggio per visualizzare il contenuto. MessagePane.defaultText.welcomeMessage=Per favore leggi!\n\nPer usare Frost, devi prima selezionare un soggetto dalla finestra informazioni board. Puoi aprire questa finestra tramite il tasto 'I' sopra. Puoi inviare messaggi e files a persone usando la stessa board. Probabilmente ci vorrà un po' di tempo prima di vedere i messaggi (premi il tasto aggiorna). MessagePane.fileAttachmentTable.filename=Nome file MessagePane.fileAttachmentTable.key=URI MessagePane.fileAttachmentTable.popupmenu.downloadAttachments=Download allegato/i MessagePane.fileAttachmentTable.size=Dimensione MessagePane.messageTable.date=Data MessagePane.messageTable.from=Da MessagePane.messageTable.index=ID MessagePane.messageTable.subject=Oggetto MessagePane.messageText.popupmenu.saveMessageToDisk=Salva il messaggio MessagePane.messageText.saveDialog.title=Salva il messaggio MessagePane.toolbar.tooltip.newMessage=Nuovo messaggio MessagePane.toolbar.tooltip.reply=Rispondi MessagePane.toolbar.tooltip.saveMessage=Salva messaggio MessagePane.toolbar.tooltip.setToBad=Non fidarti MessagePane.toolbar.tooltip.setToGood=Fidati MessagePane.toolbar.tooltip.update=Aggiorna MessageUploadFailedDialog.option.retry=Riprova MessageUploadFailedDialog.title=L'upload del messaggio è fallito. MessageWindow.board=Board MessageWindow.date=Data MessageWindow.from=Da MessageWindow.subject=Oggetto Options.display=Display Options.display.availableSkins=Available Skins Options.display.enableSkins=Enable Skins Options.display.noSkinsFound=No Skins Found Options.display.preview=Preview Options.display.refreshList=Refresh List Options.display.youCanGetMoreSkinsAt=You can get more skins at Options.downloads=Downloads Options.downloads.disableDownloads=Disabilita downloads Options.miscellaneous=Altro Options.miscellaneous.allow2ByteCharacters=Permetti caratteri lunghi 2 byte Options.miscellaneous.cleanTheKeypool=Tieni pulita la keypool Options.news=News Options.news.1.signature=Firma Options.news.2.doSpamDetection=Abilita rilevamento spam Options.news.2.thresholdOfBlockedMessages=Sensibilità filtro messaggi Options.news.3.automaticBoardUpdate=Autoaggiornamento board Options.news.3.automaticUpdateOptions=Opzioni aggiornamento automatico Options.search=Cerca Options.title=Opzioni Options.uploads=Uploads Options.uploads.disableUploads=Disabilita uploads SearchMessages.button.help=Aiuto SearchMessages.button.search=Cerca SearchMessages.date=Data SearchMessages.resultTable.board=Board SearchMessages.resultTable.date=Data SearchMessages.resultTable.from=Da SearchMessages.resultTable.index=ID SearchMessages.resultTable.subject=Oggetto SearchMessages.search=Cerca SearchMessages.search.subject=Oggetto SearchPane.resultTable.age=Data SearchPane.resultTable.board=Board SearchPane.resultTable.filename=Nome file SearchPane.resultTable.from=Da SearchPane.resultTable.popupmenu.downloadAllKeys=Download tutti i files SearchPane.resultTable.popupmenu.downloadSelectedKeys=Download files selezionati SearchPane.resultTable.size=Dimensione SearchPane.toolbar.tooltip.downloadSelectedKeys=Download files selezionati SearchPane.toolbar.tooltip.search=Cerca UploadPane.fileTable.destination=Board UploadPane.fileTable.filename=Nome file UploadPane.fileTable.key=URI UploadPane.fileTable.lastUpload=Ultimo upload UploadPane.fileTable.path=Path UploadPane.fileTable.popupmenu.changeDestinationBoard=Cambia board di destinazione UploadPane.fileTable.popupmenu.prefixInputLabel=Prego inserisci il prefisso da dare ai tuoi files. UploadPane.fileTable.popupmenu.remove.removeAllFiles=Elimina tutti i files UploadPane.fileTable.popupmenu.remove.removeSelectedFiles=Elimina i files selezionati UploadPane.fileTable.popupmenu.restoreDefaultFilenamesForAllFiles=Ripristina nome originale di tutti i files UploadPane.fileTable.popupmenu.restoreDefaultFilenamesForSelectedFiles=Ripristina nome originale dei files selezionati UploadPane.fileTable.popupmenu.setPrefixForAllFiles=Imposta prefisso per tutti i files UploadPane.fileTable.popupmenu.setPrefixForSelectedFiles=Imposta prefisso per i files selezionati UploadPane.fileTable.size=Dimensione UploadPane.fileTable.state.never=Mai UploadPane.fileTable.state.requested=Richiesto UploadPane.fileTable.state.unknown=Sconosciuto UploadPane.fileTable.state.uploading=Uploading UploadPane.fileTable.state.waiting=Attesa --- NEW FILE: langres_fr.properties --- AboutBox.label.openSourceProject=Projet Open Source (license GPL) AboutBox.label.version=Version AboutBox.text.development=Developpement: AboutBox.text.miscCodeContributions=Contributions diverses au code: AboutBox.text.splashScreenLogo=Splash Screen Logo: AboutBox.text.systemTrayExecutables=System Tray Executables: AboutBox.text.translationSupport=Système de traduction: AboutBox.text.windowsInstaller=Installeur Windows : AboutBox.title=A propos BoardInfoFrame.button.close=Fermer BoardInfoFrame.button.update=Rafraîchir BoardInfoFrame.button.updateAllBoards=Rafraîchir tous les forums BoardInfoFrame.button.updateSelectedBoard=Rafraîchir les boards sélectionnées BoardInfoFrame.label.boards=Boards BoardInfoFrame.label.files=Fichiers BoardInfoFrame.label.messages=Messages BoardInfoFrame.table.board=Board BoardInfoFrame.table.files=Fichiers BoardInfoFrame.table.messages=Messages BoardInfoFrame.table.messagesToday=Messages d'Aujourd'hui BoardInfoFrame.table.state=Ãtat BoardInfoFrame.title=Fenêtre d'information sur la board BoardSettings.button.generateNewKeypair=Générer une nouvelle paire de clefs BoardSettings.generateKeyPairErrorDialog.title=Avertissement BoardSettings.label.description=Description: BoardSettings.label.enableAutomaticBoardUpdate=Activer le rafraichissement automatique des forums BoardSettings.label.hideBadMessages=Cacher les messages marqué BAD BoardSettings.label.hideCheckMessages=Cacher les messages marqué CHECK BoardSettings.label.hideUnsignedMessages=Cacher les messages non signés BoardSettings.label.maximumMessageDisplay=Affichage maximum des messages (En jours) BoardSettings.label.no=Non BoardSettings.label.overrideDefaultSettings=Modifier les paramètres par défaut BoardSettings.label.privateKey=Clef privée BoardSettings.label.publicBoard=Board publique BoardSettings.label.publicKey=Clef publique BoardSettings.label.secureBoard=Board sécurisé BoardSettings.label.setTo=Mettre BoardSettings.label.useDefault=Utiliser la valeur par défaut BoardSettings.label.yes=Oui BoardSettings.looseKeysWarningDialog.body=Si vous placez cette Board en public, vous perdrez ses clefs. Ãtes-vous sûr de vouloir faire cela ? BoardSettings.looseKeysWarningDialog.title=Placer cette Board en public ? BoardSettings.text.keyNotAvailable=Indisponible BoardSettings.title.boardSettings=Options de la board BoardTree.newFolderDialog.body=Veuillez écrire un nom pour le nouveau répertoire BoardTree.newFolderDialog.defaultName=Nouveau repertoire BoardTree.newFolderDialog.title=Nouveau nom de repertoire BoardTree.popupmenu.Board=Board BoardTree.popupmenu.Folder=Répertoire BoardTree.popupmenu.addNewBoard=Ajouter une board BoardTree.popupmenu.addNewFolder=Ajouter un repertoire BoardTree.popupmenu.board=board BoardTree.popupmenu.configureSelectedBoard=Configurer la board sélectionnée BoardTree.popupmenu.cut=Couper BoardTree.popupmenu.folder=répertoire BoardTree.popupmenu.markAllMessagesRead=Marquer TOUS LES messages lus BoardTree.popupmenu.paste=Coller BoardTree.popupmenu.refresh=Rafraîchir BoardTree.popupmenu.remove=supprimer BoardTree.popupmenu.renameFolder=Renommer répertoire BoardTree.popupmenu.sortFolder=Classer les répertoires Common.browse=Parcourir Common.cancel=Annuler Common.copy=Copier Common.copyToClipBoard=Copier dans le presse papier Common.copyToClipBoard.copyExtendedInfo=Copier les informations Common.copyToClipBoard.copyKeysOnly=Clef CHK Common.copyToClipBoard.copyKeysWithFilenames=Clef CHK + nom du fichier Common.copyToClipBoard.extendedInfo.bytes=Octets : Common.copyToClipBoard.extendedInfo.file=Fichier : Common.copyToClipBoard.extendedInfo.key=Clef : Common.copyToClipBoard.extendedInfo.keyNotAvailableYet=Clef pas encore disponible Common.cut=Couper Common.exit=Quitter Common.paste=Coller Core.init.NodeNotRunningBody=Assurez-vous que votre noeud fonctionne et que vous avez configuré freenet correctement. Core.init.NodeNotRunningTitle=Erreur - impossible d'établir une liaison avec le noeud Freenet. Core.loadIdentities.ChooseName=Choisissez un pseudo, il ne doit pas être obligatoirement unique Core.loadIdentities.ConnectionNotEstablishedBody=Frost n'a pas pu établir une connexion avec le noeud freenet.\nCette connexion est nécessaire pour l'installation de Frost et la création de votre pseudo,\nensuite vous pourez lire les messages sans connexion. Veuillez vous assurer que vous êtes connecté puis relancez Frost. Core.loadIdentities.ConnectionNotEstablishedTitle=La connection a Freenet a échoué Core.loadIdentities.InvalidNameBody=Votre pseudo ne doit pas contenir le caractère '@' ! Core.loadIdentities.InvalidNameTitle=Pseudo invalide DialogWithDetails.button.less=Moins DialogWithDetails.button.more=Plus DownloadPane.fileTable.age=Age DownloadPane.fileTable.blocks=Blocks DownloadPane.fileTable.enabled=Activé DownloadPane.fileTable.filename=Nom du fichier DownloadPane.fileTable.from=Auteur DownloadPane.fileTable.key=Clef DownloadPane.fileTable.popupmenu.enableDownloads=Activer téléchargements DownloadPane.fileTable.popupmenu.enableDownloads.disableAllDownloads=Stopper tous les téléchargements DownloadPane.fileTable.popupmenu.enableDownloads.disableSelectedDownloads=Stopper les téléchargements sélectionnés DownloadPane.fileTable.popupmenu.enableDownloads.enableAllDownloads=Activer tous les téléchargements DownloadPane.fileTable.popupmenu.enableDownloads.enableSelectedDownloads=Activer tous les téléchargements sélectionnés DownloadPane.fileTable.popupmenu.enableDownloads.invertEnabledStateForAllDownloads=Inversez l'état d'activation pour tous les téléchargements DownloadPane.fileTable.popupmenu.enableDownloads.invertEnabledStateForSelectedDownloads=Inversez l'état d'activation pour les téléchargements sélectionnés DownloadPane.fileTable.popupmenu.remove=supprimer DownloadPane.fileTable.popupmenu.remove.removeAllDownloads=Effacer tous les téléchargements DownloadPane.fileTable.popupmenu.remove.removeFinishedDownloads=Supprimer les téléchargements finis DownloadPane.fileTable.popupmenu.remove.removeSelectedDownloads=Effacer les téléchargements sélectionnés DownloadPane.fileTable.popupmenu.restartSelectedDownloads=Relancer les téléchargements selectionnés DownloadPane.fileTable.size=Taille DownloadPane.fileTable.source=Source DownloadPane.fileTable.state=Ãtat DownloadPane.fileTable.states.anonymous=Anonyme DownloadPane.fileTable.states.decodingSegment=Décodage du segment DownloadPane.fileTable.states.done=Terminé DownloadPane.fileTable.states.failed=Echoué DownloadPane.fileTable.states.offline=En différé DownloadPane.fileTable.states.requested=Demandé DownloadPane.fileTable.states.requesting=Demande DownloadPane.fileTable.states.trying=Essai en cours DownloadPane.fileTable.states.unknown=Inconnu DownloadPane.fileTable.states.waiting=En attente DownloadPane.fileTable.tries=Essais DownloadPane.toolbar.tooltip.activateDownloading=Activer le téléchargement DownloadPane.toolbar.tooltip.pauseDownloading=Téléchargement en pause DownloadPane.toolbar.waiting=En attente Frost.lockFileFound=Il semble que Frost soit déja démarré dans ce répertoire.\nDémarrer plusieurs Frost à partir du même répertoire cause des pertes de données.\nSi vous êtes VRAIMENT CERTAIN que Frost ne tourne pas déja, vous pouvez supprimer le fichier verrou :\n KnownBoardsFrame.button.addBoards=Joindre Board(s) KnownBoardsFrame.button.close=Fermer KnownBoardsFrame.button.removeBoard=Supprimer board KnownBoardsFrame.label.lookup=Consulter KnownBoardsFrame.table.boardName=Nom de la Board KnownBoardsFrame.table.description=Description KnownBoardsFrame.table.privateKey=Clef privée KnownBoardsFrame.table.publicKey=Clef publique KnownBoardsFrame.title=Liste des boards connus MainFrame.menu.file=Fichier MainFrame.menu.help=Aide MainFrame.menu.help.aboutFrost=A propos MainFrame.menu.help.help=Aide MainFrame.menu.language=Langue MainFrame.menu.language.bulgarian=Bulgare MainFrame.menu.language.default=Défaut MainFrame.menu.language.dutch=Hollandais MainFrame.menu.language.english=Anglais MainFrame.menu.language.french=Francais MainFrame.menu.language.german=Allemand MainFrame.menu.language.italian=Italien MainFrame.menu.language.japanese=Japonais MainFrame.menu.language.spanish=Espagnol MainFrame.menu.news=Forums MainFrame.menu.news.automaticBoardUpdate=Rafraîchir automatiquement les boards MainFrame.menu.news.configureBoard=Configurer la board sélectionnée MainFrame.menu.news.displayBoardInformationWindow=Afficher la fenetre d'infos des boards MainFrame.menu.news.displayKnownBoards=Afficher les boards connues MainFrame.menu.options=Options MainFrame.menu.options.preferences=Préférences MainFrame.runningUploadsWarning.body=Quelques messages sont toujours en envois. Voulez-vous vraiment quitter ? MainFrame.runningUploadsWarning.title=Insertions en cours MainFrame.statusBar.TOFDO=TOFDO MainFrame.statusBar.TOFUP=TOFUP MainFrame.statusBar.downloading=Téléchargement: MainFrame.statusBar.file=fichier MainFrame.statusBar.files=fichiers MainFrame.statusBar.selectedBoard=Board selectionnée MainFrame.statusBar.uploading=Insertion: MainFrame.tabbedPane.downloads=Téléchargements MainFrame.tabbedPane.news=Forums MainFrame.tabbedPane.search=Recherche MainFrame.tabbedPane.uploads=Insertions MainFrame.toolbar.tooltip.boardInformationWindow=Fenêtre d'information sur la board MainFrame.toolbar.tooltip.configureBoard=Configurer cette board MainFrame.toolbar.tooltip.cutBoard=Couper board MainFrame.toolbar.tooltip.displayListOfKnownBoards=Afficher la liste des boards connues MainFrame.toolbar.tooltip.minimizeToSystemTray=Réduire dans le System Tray MainFrame.toolbar.tooltip.newBoard=Nouvelle board MainFrame.toolbar.tooltip.newFolder=Nouveau repertoire MainFrame.toolbar.tooltip.pasteBoard=Coller board MainFrame.toolbar.tooltip.removeBoard=Supprimer board MainFrame.toolbar.tooltip.renameFolder=Renommer répertoire MessageFrame.attachBoard.sendPrivateKeyConfirmationDialog.title=Inclure la clef privée ? MessageFrame.attachmentTables.popupmenu.remove=supprimer MessageFrame.board=Board MessageFrame.boardAttachmentTable.description=Description MessageFrame.boardAttachmentTable.privateKey=Clef privée MessageFrame.boardAttachmentTable.publicKey=Clef publique MessageFrame.createMessage.title=Nouveau message MessageFrame.defaultSubjectWarning.text=Voulez-vous entrer un sujet ? MessageFrame.defaultSubjectWarning.title=Aucun sujet spécifié! MessageFrame.fileAttachmentTable.filename=Nom du fichier MessageFrame.fileAttachmentTable.size=Taille MessageFrame.fileChooser.title=Sélectionnez le(s) fichier(s) / dossier(s) à joindre MessageFrame.from=Auteur MessageFrame.noSenderError.text=Vous devez écrire un nom d'expéditeur ! MessageFrame.noSenderError.title=Aucun 'From' n'est indiqué ! MessageFrame.noSubjectError.text=Un sujet est indispensable ! MessageFrame.noSubjectError.title=Aucun sujet spécifié! MessageFrame.subject=Sujet MessageFrame.toolbar.indexedAttachments=Indexage des fichiers/board attachés MessageFrame.toolbar.sign=Signer MessageFrame.toolbar.tooltip.addBoardAttachments=Joindre Board(s) MessageFrame.toolbar.tooltip.addFileAttachments=Joindre MessageFrame.toolbar.tooltip.cancelMessage=Annuler MessageFrame.toolbar.tooltip.indexedAttachments=Les fichiers attachés doivent-ils être insérés ? MessageFrame.toolbar.tooltip.sendMessage=Envoyer le message MessagePane.boardAttachmentTable.accessRights=Access rights MessagePane.boardAttachmentTable.boardName=Nom de la board MessagePane.boardAttachmentTable.description=Description MessagePane.boardAttachmentTable.popupmenu.addBoards=Joindre Board(s) MessagePane.defaultText.noBoardSelected=Choisissez une board pour voir son contenu MessagePane.defaultText.noMessageSelected=Sélectionnez un message pour voir son contenu. MessagePane.defaultText.welcomeMessage=Veuillez lire ceci ! Pour utiliser Frost, vous devez d'abord sélectionner un sujet dans la fenêtre d'inforamtion des boards. Vous pouvez ouvrir cette fenêtre en cliquant sur le bouton 'i'.Vous pouvez envoyer des messages et des fichiers aux personnes qui utilisent la même board. Cela va sans doute prendre du temps avant que les premières boards n'apparaissent (cliquez sur le bouton 'mise à jour'). MessagePane.fileAttachmentTable.filename=Nom du fichier MessagePane.fileAttachmentTable.key=Clef MessagePane.fileAttachmentTable.popupmenu.downloadAttachments=Télécharger la(les) pièce(s) jointe(s) MessagePane.fileAttachmentTable.popupmenu.downloadSelectedAttachment=Télécharger la(les) pièce(s) jointe(s) sélectionnée(s) MessagePane.fileAttachmentTable.size=Taille MessagePane.messageTable.date=Date MessagePane.messageTable.from=Auteur MessagePane.messageTable.index=Index MessagePane.messageTable.popupmenu.deleteMessage=Supprimer message MessagePane.messageTable.popupmenu.markAllMessagesRead=Marquer TOUS LES messages lus MessagePane.messageTable.popupmenu.markMessageUnread=Marquer ce message non-lu MessagePane.messageTable.popupmenu.setToBad=Bloquer l'utilisateur (noter BAD) MessagePane.messageTable.popupmenu.setToCheck=Mettre à neutre (CHECK) MessagePane.messageTable.popupmenu.setToGood=Aider l'utilisateur (noter GOOD) MessagePane.messageTable.popupmenu.undeleteMessage=Récupérer le message MessagePane.messageTable.sig=Sig MessagePane.messageTable.subject=Sujet MessagePane.messageText.popupmenu.copy=Copier MessagePane.messageText.popupmenu.saveMessageToDisk=Enregistrer ce message sur le disque... MessagePane.messageText.saveDialog.title=Enregistrer ce message sur le disque... MessagePane.toolbar.tooltip.newMessage=Nouveau message MessagePane.toolbar.tooltip.reply=Répondre MessagePane.toolbar.tooltip.saveMessage=Sauvegarder le message MessagePane.toolbar.tooltip.setToBad=Ne pas faire confiance MessagePane.toolbar.tooltip.setToCheck=Mettre à CHECK MessagePane.toolbar.tooltip.setToGood=Faire confiance MessagePane.toolbar.tooltip.update=Mettre à jour MessageUploadFailedDialog.body=Frost n'a pas pu envoyer ce message. MessageUploadFailedDialog.option.discardMessage=Ignorer message MessageUploadFailedDialog.option.retry=Nouvelle tentative MessageUploadFailedDialog.option.retryOnNextStartup=Nouvelle tentative au prochain demarrage MessageUploadFailedDialog.title=Echec de l'insertion du message MessageWindow.board=Board MessageWindow.date=Date MessageWindow.from=Auteur MessageWindow.subject=Sujet NewBoardDialog.add=Ajouter Board NewBoardDialog.description=Description (Facultative). Ne mettez pas d'information privée ici : NewBoardDialog.details=Veuillez entrer les détails de la nouvelle board: NewBoardDialog.name=Nom: NewBoardDialog.title=Ajouter une nouvelle board Options.common.hours=heures Options.common.minutes=minutes Options.common.off=Off Options.common.on=On Options.display=Afficher Options.display.availableSkins=Skins Disponibles Options.display.choose=Choisir Options.display.enableAntialiasingForMessageBody=Activer l'anticrénelage pour le corps des messages Options.display.enableSkins=Activer les Skins Options.display.fileList=Liste des fichiers Options.display.fontChooser.bold=Gras Options.display.fontChooser.boldItalic=Gras Italique Options.display.fontChooser.italic=Italique Options.display.fontChooser.plain=Plein Options.display.fontChooser.sample=Exemple Options.display.fontChooser.title=Choisir une police Options.display.fonts=Polices Options.display.messageBody=Corps de message Options.display.messageList=Liste des Messages Options.display.noSkinsFound=Aucun Skin trouvée Options.display.preview=Aperçu Options.display.refreshList=Rafraîchir Liste Options.display.youCanGetMoreSkinsAt=Vous pouvez obtenir plus de skins à Options.downloads=Téléchargements Options.downloads.decodeEachSegmentImmediately=Décoder chaque segment juste après son téléchargement Options.downloads.disableDownloads=Désactiver les téléchargements Options.downloads.downloadDirectory=Répertoire de téléchargement Options.downloads.enableRequestingOfFailedDownloadFiles=Demander les fichiers dont le téléchargement a échoué Options.downloads.filechooser.title=Choisir le repertoire de téléchargement Options.downloads.maximumNumberOfRetries=Nombre maximum de tentatives Options.downloads.numberOfSimultaneousDownloads=Nombre de téléchargements simultanés Options.downloads.numberOfSplitfileThreads=Nombre de threads consacrés au splitfile Options.downloads.removeFinishedDownloadsEvery5Minutes=Supprimer les téléchargements finis toutes les 5 minutes Options.downloads.requestFileAfterThisCountOfRetries=Demander les fichiers après x essais Options.downloads.restartFailedDownloads=Relancer les téléchargements loupés Options.downloads.tryToDownloadAllSegments=Essayez de télécharger tous les segments, même si un échoue Options.downloads.waittimeAfterEachTry=Temps d'attente après chaque essai Options.miscellaneous=Divers Options.miscellaneous.allow2ByteCharacters=Autoriser les caracteres de 2 octets Options.miscellaneous.automaticSavingInterval=Intervale d'enregistrement automatique Options.miscellaneous.cleanTheKeypool=Nettoyer les anciennes clefs Options.miscellaneous.disableSplashscreen=Désactiver le splashscreen Options.miscellaneous.enableLogging=Activer la journalisation Options.miscellaneous.keyfileDownloadHtl=HTL de Téléchargement. Options.miscellaneous.keyfileUploadHtl=HTL d'insertion Options.miscellaneous.listOfFcpNodes=Liste des noeuds (séparés par des virgules) auxquels vous avez accès Options.miscellaneous.listOfFcpNodesExplanation=(noeudA:portA, noeudB:portB, ...) Options.miscellaneous.logFileSizeLimit=Limiter la taille du fichier journal (en KB) Options.miscellaneous.logLevel.high=Haut Options.miscellaneous.logLevel.low=Bas Options.miscellaneous.logLevel.medium=Moyen Options.miscellaneous.logLevel.veryHigh=Très haut Options.miscellaneous.logLevel.veryLow=Très bas Options.miscellaneous.loggingLevel=Niveau de journalisation Options.miscellaneous.showSysTrayIcon=Voir l'icone SysTray Options.miscellaneous.useEditorForWritingMessages=Utiliser un éditeur de texte pour écrire les messages Options.news=Forums Options.news.1.messageBase=Base de message Options.news.1.messageDownloadHtl=HTL de Téléchargement des messages Options.news.1.messageUploadHtl=HTL d'insertion des messages Options.news.1.numberOfDaysToDisplay=Nombre de jours d'affichage Options.news.1.numberOfDaysToDownloadBackwards=Nombre de jours à récupérer dans le passé Options.news.1.signature=Signature Options.news.2.blockMessagesWithBody=Bloquer les messages contenants (separate by ';' ) Options.news.2.blockMessagesWithSubject=Bloquer les messages ayant pour sujet (separate by ';' ) Options.news.2.blockMessagesWithTheseBoards=Bloquer les messages ayant ces boards en piece jointe(separate by ';' ) Options.news.2.doSpamDetection=Detecter le Spam Options.news.2.sampleInterval=Toutes les Options.news.2.thresholdOfBlockedMessages=Seuil des messages bloqués Options.news.3.automaticBoardUpdate=Rafraîchir automatiquement les boards Options.news.3.automaticUpdateOptions=Appliquer automatiquement les options Options.news.3.backgroundColorIfUpdatingBoardIsNotSelected=Couleur de fond si la board mise à jour n'est pas sélectionnée Options.news.3.backgroundColorIfUpdatingBoardIsSelected=Couleur de fond si la board mise à jour est sélectionnée Options.news.3.choose=Choisir Options.news.3.color=Couleur Options.news.3.colorChooserDialog.title.chooseUpdatingColorOfSelectedBoards=Choisir la couleur utilisé pendant le rafraichissement des boards sélectionnées Options.news.3.colorChooserDialog.title.chooseUpdatingColorOfUnselectedBoards=Choisir la couleur utilisé pendant le rafraichissement des boards non-sélectionnées Options.news.3.minimumUpdateInterval=Intervalle minimum de mise à jour d'une board Options.news.3.numberOfConcurrentlyUpdatingBoards=forums mis à jour simultanement Options.news.3.showBoardUpdateVisualization=Visualiser la mise à jour de la board Options.news.3.showDeletedMessages=Voir les messages supprimés Options.news.3.silentlyRetryFailedMessages=Relancer les messages loupés sans PopUp Options.search=Recherche Options.search.archiveExtension=Extension fichiers archive Options.search.audioExtension=Extension fichiers audio Options.search.documentExtension=Extension de documents Options.search.executableExtension=Extension fichers exécutables Options.search.hideFilesFromAnonymousUsers=Cacher les fichiers des utilisateurs anonymes Options.search.hideFilesFromPeopleMarkedBad=Cacher les fichiers des utilisateurs BAD Options.search.imageExtension=Extension fichiers images Options.search.maximumSearchResults=Résultats maximum de recherche Options.search.videoExtension=Extension fichiers vidéo Options.title=Options Options.uploads=Insertions Options.uploads.automaticIndexing=Indexage Automatique Options.uploads.disableUploads=Désactiver les envois Options.uploads.helpSpreadFilesFromPeopleMarkedGood=Aider les personnes notés GOOD Options.uploads.maximumNumberOfRetries=Nombre maximum de tentatives Options.uploads.numberOfSimultaneousUploads=Nombre d'insertions simultanées Options.uploads.numberOfSplitfileThreads=Nombre de threads consacrés au splitfile Options.uploads.numberOfSplitfileThreadsExplanation=(plus grand est plus rapide mais utilise plus de CPU) Options.uploads.restartFailedUploads=Relancer les envois loupés Options.uploads.shareDownloads=Partager les fichiers téléchargés Options.uploads.signSharedFiles=Signer les fichiers partagés Options.uploads.uploadBatchSize=Taille du batch d'insertion Options.uploads.uploadBatchSizeExplanation=Une valeur élevée est plus rapide mais une valeur faible résiste au spam Options.uploads.uploadHtl=HTL d'insertion Options.uploads.uploadHtlExplanation=(un HTL élevé est plus lent mais plus fiable) Options.uploads.waittimeAfterEachTry=Temps d'attente après chaque essai Saver.AutoTask.message=Frost a détecté une erreur et s'est fermé automatiquement. Saver.AutoTask.title=Problème découvert. SearchMessages.button.help=Aide SearchMessages.button.search=Recherche SearchMessages.date=Date SearchMessages.label.results=Resultats SearchMessages.resultTable.board=Board SearchMessages.resultTable.date=Date SearchMessages.resultTable.from=Auteur SearchMessages.resultTable.index=Index SearchMessages.resultTable.sig=Sig SearchMessages.resultTable.subject=Sujet SearchMessages.search=Recherche SearchMessages.search.subject=Sujet SearchPane.fileTypes.allFiles=Tous les fichiers SearchPane.fileTypes.archives=Archives SearchPane.fileTypes.audio=Audio SearchPane.fileTypes.documents=Documents SearchPane.fileTypes.executables=Exécutables SearchPane.fileTypes.images=Images SearchPane.fileTypes.video=Vidéo SearchPane.resultTable.age=Age SearchPane.resultTable.board=Board SearchPane.resultTable.filename=Nom du fichier SearchPane.resultTable.from=Auteur SearchPane.resultTable.popupmenu.downloadAllKeys=Télécharger toutes les clefs SearchPane.resultTable.popupmenu.downloadSelectedKeys=Télécharger les clefs sélectionnées SearchPane.resultTable.popupmenu.setToBad=Bloquer l'utilisateur (noter BAD) SearchPane.resultTable.popupmenu.setToGood=Aider l'utilisateur (noter GOOD) SearchPane.resultTable.size=Taille SearchPane.resultTable.states.anonymous=Anonyme SearchPane.resultTable.states.downloaded=Téléchargé SearchPane.resultTable.states.downloading=Téléchargement SearchPane.resultTable.states.offline=En différé SearchPane.resultTable.states.uploading=Insertion SearchPane.toolbar.results=Resultats SearchPane.toolbar.searchAllBoards=Toutes les boards SearchPane.toolbar.tooltip.downloadSelectedKeys=Télécharger les clefs sélectionnées SearchPane.toolbar.tooltip.search=Recherche Splashscreen.message.1=Initialisation du super-calculateur Splashscreen.message.2=Fluctuation de l'hypercube ! Splashscreen.message.3=Envoie l'adresse IP à la DST ;-) Splashscreen.message.4=Pure perte de temps Splashscreen.message.5=Message inutile... UploadPane.fileTable.destination=Destination UploadPane.fileTable.enabled=Activé UploadPane.fileTable.filename=Nom du fichier UploadPane.fileTable.key=Clef UploadPane.fileTable.lastUpload=Dernier envoi UploadPane.fileTable.path=Chemin UploadPane.fileTable.popupmenu.changeDestinationBoard=Changer la board de destination UploadPane.fileTable.popupmenu.prefixInputLabel=Veuillez entrer le préfixe que vous voulez utiliser pour vos fichiers. UploadPane.fileTable.popupmenu.remove=supprimer UploadPane.fileTable.popupmenu.remove.removeAllFiles=Effacer tous les fichiers UploadPane.fileTable.popupmenu.remove.removeSelectedFiles=Effacer les fichiers sélectionnés UploadPane.fileTable.popupmenu.restoreDefaultFilenamesForAllFiles=Restaurer les noms de fichiers par défaut de tous les fichiers UploadPane.fileTable.popupmenu.restoreDefaultFilenamesForSelectedFiles=Restaurer les noms de fichiers par défaut des fichiers sélectionnés UploadPane.fileTable.popupmenu.setPrefixForAllFiles=Définir le préfixe de tous les fichiers UploadPane.fileTable.popupmenu.setPrefixForSelectedFiles=Définir le préfixe des fichiers sélectionnés UploadPane.fileTable.popupmenu.startEncodingOfSelectedFiles=Commencer l'encodage des fichiers sélectionnés UploadPane.fileTable.popupmenu.uploadAllFiles=Insérer tous les fichiers UploadPane.fileTable.popupmenu.uploadSelectedFiles=Insérer les fichiers selectionnés UploadPane.fileTable.size=Taille UploadPane.fileTable.state.encodeRequested=Encodage nécessaire UploadPane.fileTable.state.encodingFile=Fichier en cours d'encodage UploadPane.fileTable.state.never=Jamais UploadPane.fileTable.state.requested=Demandé UploadPane.fileTable.state.unknown=Inconnu UploadPane.fileTable.state.uploading=Envoi en cours UploadPane.fileTable.state.waiting=En attente UploadPane.fileTable.tries=Essais UploadPane.toolbar.tooltip.browse=Parcourir --- NEW FILE: langres_bg.properties --- (This appears to be a binary file; contents omitted.) --- NEW FILE: langres_ru.properties --- (This appears to be a binary file; contents omitted.) |
From: <jtcfrost-cvs-admin@li...> - 2006-04-26 08:54:52
|
Update of /cvsroot/jtcfrost/frost-wot/source/i18n In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23158/source/i18n Log Message: Directory /cvsroot/jtcfrost/frost-wot/source/i18n added to the repository |
From: <jtcfrost-cvs-admin@li...> - 2006-04-25 11:23:04
|
Update of /cvsroot/jtcfrost/frost-wot/source/frost/util/gui/translation In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19033/source/frost/util/gui/translation Modified Files: Language.java Log Message: phu, completed stage 1 of converting the translateable strings into a properties resourcebundle. The whole gui uses new identifiers now, but the new identifiers are currently mapped to the old LangRes classes. Stage 2 will be to convert the langres classes into properties file to keep the already translated strings... Index: Language.java =================================================================== RCS file: /cvsroot/jtcfrost/frost-wot/source/frost/util/gui/translation/Language.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** Language.java 20 Apr 2006 19:45:46 -0000 1.4 --- Language.java 25 Apr 2006 11:22:52 -0000 1.5 *************** *** 25,32 **** package frost.util.gui.translation; import java.util.*; import java.util.logging.*; ! import javax.swing.event.EventListenerList; /** --- 25,35 ---- package frost.util.gui.translation; + import java.text.*; import java.util.*; import java.util.logging.*; ! import javax.swing.event.*; ! ! import res.*; /** *************** *** 37,43 **** private static Logger logger = Logger.getLogger(Language.class.getName()); ! private ResourceBundle resourceBundle; private static boolean initialized = false; /** --- 40,56 ---- private static Logger logger = Logger.getLogger(Language.class.getName()); ! // private static final String BUNDLE_NAME = "messages"; ! private static final String BUNDLE_NAME = "res.LangRes"; ! ! private ResourceBundle RESOURCE_BUNDLE = null; ! private BreakIterator LINE_BREAKER = null; private static boolean initialized = false; + + private final MessageFormat formatter = new MessageFormat(""); + + private final Object[] objectLen1 = new Object[1]; + private final Object[] objectLen2 = new Object[2]; + private final Object[] objectLen3 = new Object[3]; /** *************** *** 56,60 **** private Language(ResourceBundle resourceBundle) { super(); ! this.resourceBundle = resourceBundle; } --- 69,74 ---- private Language(ResourceBundle resourceBundle) { super(); ! RESOURCE_BUNDLE = resourceBundle; ! LINE_BREAKER = BreakIterator.getLineInstance(RESOURCE_BUNDLE.getLocale()); } *************** *** 69,98 **** /** - * This method initializes the Language with the given ResourceBundle. * If it has already been initialized, this method does nothing. - * @param bundle */ ! private static void initialize(ResourceBundle bundle) { ! if (!initialized) { ! initialized = true; ! instance = new Language(bundle); } } /** * If it has already been initialized, this method does nothing. - * @param bundleBaseName - */ - public static void initialize(String bundleBaseName) { - initialize(bundleBaseName, Locale.getDefault()); - } - - /** - * If it has already been initialized, this method does nothing. - * @param bundleBaseName - * @param locale */ ! public static void initialize(String bundleBaseName, Locale locale) { ! initialize(ResourceBundle.getBundle(bundleBaseName, locale)); } --- 83,106 ---- /** * If it has already been initialized, this method does nothing. */ ! public static void initializeWithName(String localeName) { ! Locale locale; ! if( localeName == null ) { ! locale = Locale.getDefault(); ! } else { ! locale = new Locale(localeName); } + initializeWithLocale(locale); } /** * If it has already been initialized, this method does nothing. */ ! public static void initializeWithLocale(Locale locale) { ! if( !initialized ) { ! initialized = true; ! instance = new Language(ResourceBundle.getBundle(BUNDLE_NAME, locale)); ! } } *************** *** 101,105 **** */ public ResourceBundle getResourceBundle() { ! return resourceBundle; } --- 109,113 ---- */ public ResourceBundle getResourceBundle() { ! return RESOURCE_BUNDLE; } *************** *** 160,165 **** * @param resourceBundle */ ! public void setLanguageResource(ResourceBundle resourceBundle) { ! this.resourceBundle = resourceBundle; fireLanguageChanged(new LanguageEvent(this)); } --- 168,181 ---- * @param resourceBundle */ ! public synchronized void changeLanguage(String localeName) { ! Locale locale; ! if( localeName == null ) { ! locale = Locale.getDefault(); ! } else { ! locale = new Locale(localeName); ! } ! RESOURCE_BUNDLE = ResourceBundle.getBundle(BUNDLE_NAME, locale); ! LINE_BREAKER = BreakIterator.getLineInstance(RESOURCE_BUNDLE.getLocale()); ! fireLanguageChanged(new LanguageEvent(this)); } *************** *** 169,176 **** * @return */ ! public String getString(String key) { String s; try { ! s = resourceBundle.getString(key); } catch(Throwable t) { s = null; --- 185,200 ---- * @return */ ! public String getString(String origKey) { ! ! // temporary: map old LangRes keys to new keys used in gui ! String key = LangResMapping.getOldForNew(origKey); ! if( key == null ) { ! System.out.println("Key not in mapping: '"+origKey+"'"); ! key = origKey; ! } ! String s; try { ! s = RESOURCE_BUNDLE.getString(key); } catch(Throwable t) { s = null; *************** *** 185,187 **** --- 209,299 ---- } + /////////////////////////////////////////////////////////////////////////////////////7 + /** + * Builds a String containing the source String broken into lines + * of maxLength length, using \n as line breaker. + */ + public synchronized String breakLinesText(String source, int maxLength) { + + LINE_BREAKER.setText(source); + int start = LINE_BREAKER.first(); + int end = LINE_BREAKER.next(); + int lineLength = 0; + + StringBuffer result = new StringBuffer(); + + while (end != BreakIterator.DONE) { + String word = source.substring(start,end); + if( word.indexOf('\n') > -1 ) { + // wenn dieses word NICHT mehr passt, dann auf neue zeile, und gleich noch ne neue Zeile wg. \n + lineLength = 0; // TODO: fix + } else { + lineLength = lineLength + word.length(); + if (lineLength > maxLength) { + result.append("\n"); + lineLength = word.length(); + } + } + result.append(word); + start = end; + end = LINE_BREAKER.next(); + } + return result.toString(); + } + + /** + * Builds a HTML String containing the source String broken into lines + * of maxLength length, using 'br' as line breaker. + */ + public synchronized String breakLinesHtml(String source, int maxLength) { + + LINE_BREAKER.setText(source); + int start = LINE_BREAKER.first(); + int end = LINE_BREAKER.next(); + int lineLength = 0; + + StringBuffer result = new StringBuffer(); + result.append("<html>"); + + while (end != BreakIterator.DONE) { + String word = source.substring(start,end); + lineLength = lineLength + word.length(); + if (lineLength > maxLength) { + result.append("<br>"); + lineLength = word.length(); + } + result.append(word); + start = end; + end = LINE_BREAKER.next(); + } + result.append("</html>"); + return result.toString(); + } + + public synchronized String formatMessage(String msg, Object[] objs) { + try { + String pattern = getString(msg); + formatter.applyPattern(pattern); + String output = formatter.format(objs); + return output; + } catch(IllegalArgumentException ex) { + return '!' + msg + '!'; + } + } + + public synchronized String formatMessage(String msg, Object obj1) { + objectLen1[0] = obj1; + return formatMessage(msg, objectLen1); + } + public synchronized String formatMessage(String msg, Object obj1, Object obj2) { + objectLen2[0] = obj1; + objectLen2[1] = obj2; + return formatMessage(msg, objectLen2); + } + public synchronized String formatMessage(String msg, Object obj1, Object obj2, Object obj3) { + objectLen3[0] = obj1; + objectLen3[1] = obj2; + objectLen3[2] = obj3; + return formatMessage(msg, objectLen3); + } } |
From: <jtcfrost-cvs-admin@li...> - 2006-04-25 11:23:04
|
Update of /cvsroot/jtcfrost/frost-wot/source/frost/boards In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19033/source/frost/boards Modified Files: BoardSettingsFrame.java BoardInfoFrame.java BoardsManager.java TofTree.java Log Message: phu, completed stage 1 of converting the translateable strings into a properties resourcebundle. The whole gui uses new identifiers now, but the new identifiers are currently mapped to the old LangRes classes. Stage 2 will be to convert the langres classes into properties file to keep the already translated strings... Index: BoardInfoFrame.java =================================================================== RCS file: /cvsroot/jtcfrost/frost-wot/source/frost/boards/BoardInfoFrame.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** BoardInfoFrame.java 22 Mar 2006 20:15:21 -0000 1.4 --- BoardInfoFrame.java 25 Apr 2006 11:22:52 -0000 1.5 *************** *** 129,142 **** private void refreshLanguage() { ! setTitle(language.getString("BoardInfoFrame.Board information window")); ! updateButton.setText(language.getString("BoardInfoFrame.Update")); ! updateSelectedBoardButton.setText(language.getString("BoardInfoFrame.UpdateSelectedBoardButton")); ! updateAllBoardsButton.setText(language.getString("BoardInfoFrame.Update all boards")); ! Bclose.setText(language.getString("BoardInfoFrame.Close")); ! MIupdate.setText(language.getString("BoardInfoFrame.Update")); ! MIupdateSelectedBoard.setText(language.getString("BoardInfoFrame.UpdateSelectedBoardButton")); ! MIupdateAllBoards.setText(language.getString("BoardInfoFrame.Update all boards")); } --- 129,142 ---- private void refreshLanguage() { ! setTitle(language.getString("BoardInfoFrame.title")); ! updateButton.setText(language.getString("BoardInfoFrame.button.update")); ! updateSelectedBoardButton.setText(language.getString("BoardInfoFrame.button.updateSelectedBoard")); ! updateAllBoardsButton.setText(language.getString("BoardInfoFrame.button.updateAllBoards")); ! Bclose.setText(language.getString("BoardInfoFrame.button.close")); ! MIupdate.setText(language.getString("BoardInfoFrame.button.update")); ! MIupdateSelectedBoard.setText(language.getString("BoardInfoFrame.button.updateSelectedBoard")); ! MIupdateAllBoards.setText(language.getString("BoardInfoFrame.button.updateAllBoards")); } *************** *** 332,340 **** public void run() { boardTableModel.addRow(finalRow); ! summaryLabel.setText(language.getString("BoardInfoFrame.Boards") +" :"+ finalBoardCount +" "+ ! language.getString("BoardInfoFrame.Messages") +" : "+ finalMessageCount +" "+ ! language.getString("BoardInfoFrame.Files") + " :"+ finalFileCount); }}); --- 332,340 ---- public void run() { boardTableModel.addRow(finalRow); ! summaryLabel.setText(language.getString("BoardInfoFrame.label.boards") +" :"+ finalBoardCount +" "+ ! language.getString("BoardInfoFrame.label.messages") +" : "+ finalMessageCount +" "+ ! language.getString("BoardInfoFrame.label.files") + " :"+ finalFileCount); }}); *************** *** 476,482 **** } - /** - * - */ protected void closeDialog() { tofTree.getRunningBoardUpdateThreads().removeBoardUpdateThreadListener(this); --- 476,479 ---- *************** *** 596,602 **** } - /** - * - */ private class BoardInfoTableCellRenderer extends DefaultTableCellRenderer { --- 593,596 ---- *************** *** 655,671 **** } - /** - * @return - */ public static boolean isDialogShowing() { return isShowing; } - /** - * @param val - */ public static void setDialogShowing(boolean val) { isShowing = val; } - } --- 649,658 ---- Index: BoardSettingsFrame.java =================================================================== RCS file: /cvsroot/jtcfrost/frost-wot/source/frost/boards/BoardSettingsFrame.java,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** BoardSettingsFrame.java 19 Apr 2006 18:27:44 -0000 1.15 --- BoardSettingsFrame.java 25 Apr 2006 11:22:52 -0000 1.16 *************** *** 161,165 **** } catch (Throwable ex) { JOptionPane.showMessageDialog(parentFrame, ex.toString(), // message ! language.getString("Warning"), JOptionPane.WARNING_MESSAGE); } } --- 161,165 ---- } catch (Throwable ex) { JOptionPane.showMessageDialog(parentFrame, ex.toString(), // message ! language.getString("BoardSettings.generateKeyPairErrorDialog.title"), JOptionPane.WARNING_MESSAGE); } } *************** *** 523,527 **** privateKeyTextField.setText(privateKey); } else { ! privateKeyTextField.setText(language.getString("Not available")); } --- 523,527 ---- privateKeyTextField.setText(privateKey); } else { ! privateKeyTextField.setText(language.getString("BoardSettings.text.keyNotAvailable")); } *************** *** 529,533 **** publicKeyTextField.setText(publicKey); } else { ! publicKeyTextField.setText(language.getString("Not available")); } --- 529,533 ---- publicKeyTextField.setText(publicKey); } else { ! publicKeyTextField.setText(language.getString("BoardSettings.text.keyNotAvailable")); } *************** *** 557,562 **** int result = JOptionPane.showConfirmDialog( this, ! language.getString("BoardSettingsFrame.confirmBody"), ! language.getString("BoardSettingsFrame.confirmTitle"), JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE); --- 557,562 ---- int result = JOptionPane.showConfirmDialog( this, ! language.getString("BoardSettings.looseKeysWarningDialog.body"), ! language.getString("BoardSettings.looseKeysWarningDialog.title"), JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE); *************** *** 748,788 **** private void refreshLanguage() { if( board.isFolder() ) { ! setTitle(language.getString("Settings for all boards in folder") + " '" + board.getName() + "'"); } else { ! setTitle(language.getString("Settings for board") + " '" + board.getName() + "'"); } ! publicBoardRadioButton.setText(language.getString("Public board")); ! secureBoardRadioButton.setText(language.getString("Secure board")); ! okButton.setText(language.getString("OK")); ! cancelButton.setText(language.getString("Cancel")); ! generateKeyButton.setText(language.getString("Generate new keypair")); ! overrideSettingsCheckBox.setText(language.getString("Override default settings")); ! maxMsg_default.setText(language.getString("Use default")); ! maxMsg_set.setText(language.getString("Set to") + ":"); ! signedOnly_default.setText(language.getString("Use default")); ! signedOnly_true.setText(language.getString("Yes")); ! signedOnly_false.setText(language.getString("No")); ! hideBad_default.setText(language.getString("Use default")); ! hideBad_true.setText(language.getString("Yes")); ! hideBad_false.setText(language.getString("No")); ! hideCheck_default.setText(language.getString("Use default")); ! hideCheck_true.setText(language.getString("Yes")); ! hideCheck_false.setText(language.getString("No")); ! hideObserve_default.setText(language.getString("Use default")); ! hideObserve_true.setText(language.getString("Yes")); ! hideObserve_false.setText(language.getString("No")); ! autoUpdateEnabled.setText(language.getString("Enable automatic board update")); ! publicKeyLabel.setText(language.getString("Public key") + " :"); ! privateKeyLabel.setText(language.getString("Private key") + " :"); ! messageDisplayDaysLabel.setText(language.getString("Maximum message display (days)")); ! hideUnsignedMessagesLabel.setText(language.getString("Hide unsigned messages")); ! hideBadMessagesLabel.setText(language.getString("Hide messages flagged BAD")); ! hideCheckMessagesLabel.setText(language.getString("Hide messages flagged CHECK")); ! hideObserveMessagesLabel.setText(language.getString("Hide messages flagged OBSERVE")); ! descriptionLabel.setText(language.getString("BoardSettingsFrame.description")); } --- 748,791 ---- private void refreshLanguage() { if( board.isFolder() ) { ! setTitle(language.getString("BoardSettings.title.folderSettings") + " '" + board.getName() + "'"); } else { ! setTitle(language.getString("BoardSettings.title.boardSettings") + " '" + board.getName() + "'"); } ! publicBoardRadioButton.setText(language.getString("BoardSettings.label.publicBoard")); ! secureBoardRadioButton.setText(language.getString("BoardSettings.label.secureBoard")); ! okButton.setText(language.getString("Common.ok")); ! cancelButton.setText(language.getString("Common.cancel")); ! generateKeyButton.setText(language.getString("BoardSettings.button.generateNewKeypair")); ! overrideSettingsCheckBox.setText(language.getString("BoardSettings.label.overrideDefaultSettings")); ! String useDefault = language.getString("BoardSettings.label.useDefault"); ! String yes = language.getString("BoardSettings.label.yes"); ! String no = language.getString("BoardSettings.label.no"); ! maxMsg_default.setText(useDefault); ! maxMsg_set.setText(language.getString("BoardSettings.label.setTo") + ":"); ! signedOnly_default.setText(useDefault); ! signedOnly_true.setText(yes); ! signedOnly_false.setText(no); ! hideBad_default.setText(useDefault); ! hideBad_true.setText(yes); ! hideBad_false.setText(no); ! hideCheck_default.setText(useDefault); ! hideCheck_true.setText(yes); ! hideCheck_false.setText(no); ! hideObserve_default.setText(useDefault); ! hideObserve_true.setText(yes); ! hideObserve_false.setText(no); ! autoUpdateEnabled.setText(language.getString("BoardSettings.label.enableAutomaticBoardUpdate")); ! publicKeyLabel.setText(language.getString("BoardSettings.label.publicKey") + " :"); ! privateKeyLabel.setText(language.getString("BoardSettings.label.privateKey") + " :"); ! messageDisplayDaysLabel.setText(language.getString("BoardSettings.label.maximumMessageDisplay")); ! hideUnsignedMessagesLabel.setText(language.getString("BoardSettings.label.hideUnsignedMessages")); ! hideBadMessagesLabel.setText(language.getString("BoardSettings.label.hideBadMessages")); ! hideCheckMessagesLabel.setText(language.getString("BoardSettings.label.hideCheckMessages")); ! hideObserveMessagesLabel.setText(language.getString("BoardSettings.label.hideObserveMessages")); ! descriptionLabel.setText(language.getString("BoardSettings.label.description")); } Index: BoardsManager.java =================================================================== RCS file: /cvsroot/jtcfrost/frost-wot/source/frost/boards/BoardsManager.java,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** BoardsManager.java 11 Apr 2006 18:56:49 -0000 1.8 --- BoardsManager.java 25 Apr 2006 11:22:52 -0000 1.9 *************** *** 50,54 **** mainFrame.addButton(getTofTree().getCutBoardButton(), 2, 0, false); mainFrame.addButton(getTofTree().getPasteBoardButton(), 2, 1, false); ! mainFrame.addMenuItem(getTofTree().getConfigBoardMenuItem(), "News", 1, 1, true); } --- 50,54 ---- mainFrame.addButton(getTofTree().getCutBoardButton(), 2, 0, false); mainFrame.addButton(getTofTree().getPasteBoardButton(), 2, 1, false); ! mainFrame.addMenuItem(getTofTree().getConfigBoardMenuItem(), "MainFrame.menu.news", 1, 1, true); } Index: TofTree.java =================================================================== RCS file: /cvsroot/jtcfrost/frost-wot/source/frost/boards/TofTree.java,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** TofTree.java 19 Apr 2006 06:51:07 -0000 1.17 --- TofTree.java 25 Apr 2006 11:22:52 -0000 1.18 *************** *** 178,189 **** private void refreshLanguage() { ! addBoardItem.setText(language.getString("Add new board")); ! addFolderItem.setText(language.getString("Add new folder")); ! configureBoardItem.setText(language.getString("Configure selected board")); ! configureFolderItem.setText(language.getString("Configure selected folder")); ! cancelItem.setText(language.getString("Cancel")); ! sortFolderItem.setText(language.getString("Sort folder")); ! markAllReadItem.setText(language.getString("Mark ALL messages read")); ! renameFolderItem.setText(language.getString("Rename folder")); } --- 178,189 ---- private void refreshLanguage() { ! addBoardItem.setText(language.getString("BoardTree.popupmenu.addNewBoard")); ! addFolderItem.setText(language.getString("BoardTree.popupmenu.addNewFolder")); ! configureBoardItem.setText(language.getString("BoardTree.popupmenu.configureSelectedBoard")); ! configureFolderItem.setText(language.getString("BoardTree.popupmenu.configureSelectedFolder")); ! cancelItem.setText(language.getString("Common.cancel")); ! sortFolderItem.setText(language.getString("BoardTree.popupmenu.sortFolder")); ! markAllReadItem.setText(language.getString("BoardTree.popupmenu.markAllMessagesRead")); ! renameFolderItem.setText(language.getString("BoardTree.popupmenu.renameFolder")); } *************** *** 214,228 **** String folderOrBoard1 = ((selectedTreeNode.isFolder()) ! ? language.getString("Folder") ! : language.getString("Board")); String folderOrBoard2 = ((selectedTreeNode.isFolder()) ! ? language.getString("folder") ! : language.getString("board")); descriptionItem.setText(folderOrBoard1 + " : " + selectedTreeNode.getName()); ! refreshItem.setText(language.getString("Refresh") + " " + folderOrBoard2); ! removeNodeItem.setText(language.getString("Remove") + " " + folderOrBoard2); ! cutNodeItem.setText(language.getString("Cut") + " " + folderOrBoard2); add(descriptionItem); --- 214,229 ---- String folderOrBoard1 = ((selectedTreeNode.isFolder()) ! ? language.getString("BoardTree.popupmenu.Folder") ! : language.getString("BoardTree.popupmenu.Board")); String folderOrBoard2 = ((selectedTreeNode.isFolder()) ! ? language.getString("BoardTree.popupmenu.folder") ! : language.getString("BoardTree.popupmenu.board")); descriptionItem.setText(folderOrBoard1 + " : " + selectedTreeNode.getName()); ! ! refreshItem.setText(language.getString("BoardTree.popupmenu.refresh") + " " + folderOrBoard2); ! removeNodeItem.setText(language.getString("BoardTree.popupmenu.remove") + " " + folderOrBoard2); ! cutNodeItem.setText(language.getString("BoardTree.popupmenu.cut") + " " + folderOrBoard2); add(descriptionItem); *************** *** 252,259 **** String folderOrBoard3 = ((clipboard.isFolder()) ! ? language.getString("folder") ! : language.getString("board")); pasteNodeItem.setText( ! language.getString("Paste") + " " + folderOrBoard3 --- 253,260 ---- String folderOrBoard3 = ((clipboard.isFolder()) ! ? language.getString("BoardTree.popupmenu.folder") ! : language.getString("BoardTree.popupmenu.board")); pasteNodeItem.setText( ! language.getString("BoardTree.popupmenu.paste") + " " + folderOrBoard3 *************** *** 644,655 **** } - /** - * - */ private void refreshLanguage() { ! cutBoardButton.setToolTipText(language.getString("Cut board")); ! pasteBoardButton.setToolTipText(language.getString("Paste board")); ! configBoardButton.setToolTipText(language.getString("Configure board")); ! configBoardMenuItem.setText(language.getString("Configure selected board")); } --- 645,653 ---- } private void refreshLanguage() { ! cutBoardButton.setToolTipText(language.getString("MainFrame.toolbar.tooltip.cutBoard")); ! pasteBoardButton.setToolTipText(language.getString("MainFrame.toolbar.tooltip.pasteBoard")); ! configBoardButton.setToolTipText(language.getString("MainFrame.toolbar.tooltip.configureBoard")); ! configBoardMenuItem.setText(language.getString("BoardTree.popupmenu.configureSelectedBoard")); } *************** *** 771,779 **** JOptionPane.showMessageDialog( parent, ! language.getString("You already have a board with name") ! + " '" ! + boardName ! + "'!\n" ! + language.getString("Please choose a new name")); } else { Board newBoard = new Board(boardName, boardDescription); --- 769,775 ---- JOptionPane.showMessageDialog( parent, ! language.formatMessage("BoardTree.duplicateNewBoardNameError.body", boardName), ! language.getString("BoardTree.duplicateNewBoardNameError.title"), ! JOptionPane.ERROR_MESSAGE); } else { Board newBoard = new Board(boardName, boardDescription); *************** *** 783,787 **** isDone = true; //added } - } } --- 779,782 ---- *************** *** 800,813 **** JOptionPane.showConfirmDialog( getTopLevelAncestor(), ! language.getString("You already have a board with name") ! + " '" ! + bname ! + "'!\n" ! + language.getString("Do you really want to overwrite it?") ! + "" ! + "\n(" ! + language.getString("This will not delete messages") ! + ")", ! language.getString("Warning"), JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE); --- 795,800 ---- JOptionPane.showConfirmDialog( getTopLevelAncestor(), ! language.formatMessage("BoardTree.overWriteBoardConfirmation.body", bname), ! language.getString("BoardTree.overWriteBoardConfirmation.title"), JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE); *************** *** 844,853 **** JOptionPane.showInputDialog( parent, ! language.getString("Please enter a name for the new folder") + ":", ! language.getString("New Folder Name"), JOptionPane.QUESTION_MESSAGE, null, null, ! language.getString("newfolder")); nodeName = ((nodeNameOb == null) ? null : nodeNameOb.toString()); --- 831,840 ---- JOptionPane.showInputDialog( parent, ! language.getString("BoardTree.newFolderDialog.body") + ":", ! language.getString("BoardTree.newFolderDialog.title"), JOptionPane.QUESTION_MESSAGE, null, null, ! language.getString("BoardTree.newFolderDialog.defaultName")); nodeName = ((nodeNameOb == null) ? null : nodeNameOb.toString()); *************** *** 867,886 **** public void removeNode(Board node) { String txt; if (node.isFolder()) { ! txt = ! "Do you really want to delete folder '" ! + node.getName() ! + "' ???" ! + "\nNOTE: Removing it will also remove all boards/folders inside this folder!!!"; } else { ! txt = "Do you really want to delete board '" + node.getName() + "' ???"; } - int answer = - JOptionPane.showConfirmDialog( - this, - txt, - "Delete '" + node.getName() + "'?", - JOptionPane.YES_NO_OPTION); if (answer == JOptionPane.NO_OPTION) { return; --- 854,872 ---- public void removeNode(Board node) { String txt; + int answer; if (node.isFolder()) { ! answer = JOptionPane.showConfirmDialog( ! this, ! language.formatMessage("BoardTree.removeFolderConfirmation.body", node.getName()), ! language.formatMessage("BoardTree.removeFolderConfirmation.title", node.getName()), ! JOptionPane.YES_NO_OPTION); } else { ! answer = JOptionPane.showConfirmDialog( ! this, ! language.formatMessage("BoardTree.removeBoardConfirmation.body", node.getName()), ! language.formatMessage("BoardTree.removeBoardConfirmation.title", node.getName()), ! JOptionPane.YES_NO_OPTION); } if (answer == JOptionPane.NO_OPTION) { return; *************** *** 901,906 **** + "or you have to live with the consequences ;) )\n\n" + "You can also delete the directory by yourself after shutdown of Frost."; ! answer = ! JOptionPane.showConfirmDialog( this, txt, --- 887,891 ---- + "or you have to live with the consequences ;) )\n\n" + "You can also delete the directory by yourself after shutdown of Frost."; ! answer = JOptionPane.showConfirmDialog( this, txt, *************** *** 1011,1024 **** } - /** - * @return - */ public RunningBoardUpdateThreads getRunningBoardUpdateThreads() { return runningBoardUpdateThreads; } - /** - * - */ private void selectionChanged() { Board node = (Board) getLastSelectedPathComponent(); --- 996,1003 ---- *************** *** 1152,1154 **** } } ! } \ No newline at end of file --- 1131,1133 ---- } } ! } |
From: <jtcfrost-cvs-admin@li...> - 2006-04-25 11:23:04
|
Update of /cvsroot/jtcfrost/frost-wot/source/frost/gui/model In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19033/source/frost/gui/model Modified Files: SearchMessagesTableModel.java MessageTableModel.java AttachedFilesTableModel.java BoardInfoTableModel.java AttachedBoardTableModel.java KnownBoardsTableModel.java Log Message: phu, completed stage 1 of converting the translateable strings into a properties resourcebundle. The whole gui uses new identifiers now, but the new identifiers are currently mapped to the old LangRes classes. Stage 2 will be to convert the langres classes into properties file to keep the already translated strings... Index: BoardInfoTableModel.java =================================================================== RCS file: /cvsroot/jtcfrost/frost-wot/source/frost/gui/model/BoardInfoTableModel.java,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** BoardInfoTableModel.java 22 Mar 2006 20:15:19 -0000 1.14 --- BoardInfoTableModel.java 25 Apr 2006 11:22:51 -0000 1.15 *************** *** 36,42 **** }; - /** - * - */ public BoardInfoTableModel() { super(); --- 36,39 ---- *************** *** 45,57 **** } - /** - * - */ private void refreshLanguage() { ! columnNames[0] = language.getString("Board"); ! columnNames[1] = language.getString("State"); ! columnNames[2] = language.getString("Messages"); ! columnNames[3] = language.getString("Messages Today"); ! columnNames[4] = language.getString("Files"); fireTableStructureChanged(); --- 42,51 ---- } private void refreshLanguage() { ! columnNames[0] = language.getString("BoardInfoFrame.table.board"); ! columnNames[1] = language.getString("BoardInfoFrame.table.state"); ! columnNames[2] = language.getString("BoardInfoFrame.table.messages"); ! columnNames[3] = language.getString("BoardInfoFrame.table.messagesToday"); ! columnNames[4] = language.getString("BoardInfoFrame.table.files"); fireTableStructureChanged(); Index: MessageTableModel.java =================================================================== RCS file: /cvsroot/jtcfrost/frost-wot/source/frost/gui/model/MessageTableModel.java,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** MessageTableModel.java 22 Mar 2006 20:15:19 -0000 1.14 --- MessageTableModel.java 25 Apr 2006 11:22:51 -0000 1.15 *************** *** 36,42 **** }; - /** - * - */ public MessageTableModel() { super(); --- 36,39 ---- *************** *** 88,100 **** } - /** - * - */ private void refreshLanguage() { ! columnNames[0] = language.getString("Index"); ! columnNames[1] = language.getString("From"); ! columnNames[2] = language.getString("Subject"); ! columnNames[3] = language.getString("Sig"); ! columnNames[4] = language.getString("Date"); fireTableStructureChanged(); --- 85,94 ---- } private void refreshLanguage() { ! columnNames[0] = language.getString("MessagePane.messageTable.index"); ! columnNames[1] = language.getString("MessagePane.messageTable.from"); ! columnNames[2] = language.getString("MessagePane.messageTable.subject"); ! columnNames[3] = language.getString("MessagePane.messageTable.sig"); ! columnNames[4] = language.getString("MessagePane.messageTable.date"); fireTableStructureChanged(); Index: KnownBoardsTableModel.java =================================================================== RCS file: /cvsroot/jtcfrost/frost-wot/source/frost/gui/model/KnownBoardsTableModel.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** KnownBoardsTableModel.java 22 Mar 2006 20:15:19 -0000 1.6 --- KnownBoardsTableModel.java 25 Apr 2006 11:22:51 -0000 1.7 *************** *** 34,40 **** }; - /** - * - */ public KnownBoardsTableModel() { super(); --- 34,37 ---- *************** *** 43,54 **** } - /** - * - */ private void refreshLanguage() { ! columnNames[0] = language.getString("KnownBoardsTableModel.Boardname"); ! columnNames[1] = language.getString("Public key"); ! columnNames[2] = language.getString("Private key"); ! columnNames[3] = language.getString("Description"); } --- 40,48 ---- } private void refreshLanguage() { ! columnNames[0] = language.getString("KnownBoardsFrame.table.boardName"); ! columnNames[1] = language.getString("KnownBoardsFrame.table.publicKey"); ! columnNames[2] = language.getString("KnownBoardsFrame.table.privateKey"); ! columnNames[3] = language.getString("KnownBoardsFrame.table.description"); } Index: AttachedFilesTableModel.java =================================================================== RCS file: /cvsroot/jtcfrost/frost-wot/source/frost/gui/model/AttachedFilesTableModel.java,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** AttachedFilesTableModel.java 22 Mar 2006 20:15:19 -0000 1.8 --- AttachedFilesTableModel.java 25 Apr 2006 11:22:51 -0000 1.9 *************** *** 39,45 **** }; - /** - * - */ public AttachedFilesTableModel() { super(); --- 39,42 ---- *************** *** 64,74 **** } - /** - * - */ private void refreshLanguage() { ! columnNames[0] = language.getString("Filename"); ! columnNames[1] = language.getString("Size"); ! columnNames[2] = language.getString("Key"); fireTableStructureChanged(); --- 61,68 ---- } private void refreshLanguage() { ! columnNames[0] = language.getString("MessagePane.fileAttachmentTable.filename"); ! columnNames[1] = language.getString("MessagePane.fileAttachmentTable.size"); ! columnNames[2] = language.getString("MessagePane.fileAttachmentTable.key"); fireTableStructureChanged(); Index: SearchMessagesTableModel.java =================================================================== RCS file: /cvsroot/jtcfrost/frost-wot/source/frost/gui/model/SearchMessagesTableModel.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** SearchMessagesTableModel.java 22 Mar 2006 20:15:19 -0000 1.4 --- SearchMessagesTableModel.java 25 Apr 2006 11:22:51 -0000 1.5 *************** *** 86,95 **** private void refreshLanguage() { ! columnNames[0] = language.getString("Index"); ! columnNames[1] = language.getString("From"); ! columnNames[2] = language.getString("Board"); ! columnNames[3] = language.getString("Subject"); ! columnNames[4] = language.getString("Sig"); ! columnNames[5] = language.getString("Date"); fireTableStructureChanged(); --- 86,95 ---- private void refreshLanguage() { ! columnNames[0] = language.getString("SearchMessages.resultTable.index"); ! columnNames[1] = language.getString("SearchMessages.resultTable.from"); ! columnNames[2] = language.getString("SearchMessages.resultTable.board"); ! columnNames[3] = language.getString("SearchMessages.resultTable.subject"); ! columnNames[4] = language.getString("SearchMessages.resultTable.sig"); ! columnNames[5] = language.getString("SearchMessages.resultTable.date"); fireTableStructureChanged(); Index: AttachedBoardTableModel.java =================================================================== RCS file: /cvsroot/jtcfrost/frost-wot/source/frost/gui/model/AttachedBoardTableModel.java,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** AttachedBoardTableModel.java 22 Mar 2006 20:15:19 -0000 1.10 --- AttachedBoardTableModel.java 25 Apr 2006 11:22:51 -0000 1.11 *************** *** 39,45 **** }; - /** - * - */ public AttachedBoardTableModel() { super(); --- 39,42 ---- *************** *** 64,74 **** } - /** - * - */ private void refreshLanguage() { ! columnNames[0] = language.getString("Board Name"); ! columnNames[1] = language.getString("Access rights"); ! columnNames[2] = language.getString("Description"); fireTableStructureChanged(); --- 61,68 ---- } private void refreshLanguage() { ! columnNames[0] = language.getString("MessagePane.boardAttachmentTable.boardName"); ! columnNames[1] = language.getString("MessagePane.boardAttachmentTable.accessRights"); ! columnNames[2] = language.getString("MessagePane.boardAttachmentTable.description"); fireTableStructureChanged(); |
From: <jtcfrost-cvs-admin@li...> - 2006-04-25 11:23:04
|
Update of /cvsroot/jtcfrost/frost-wot/source/frost/fileTransfer/download In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19033/source/frost/fileTransfer/download Modified Files: DownloadTableFormat.java DownloadStatusPanel.java DownloadManager.java DownloadPanel.java Log Message: phu, completed stage 1 of converting the translateable strings into a properties resourcebundle. The whole gui uses new identifiers now, but the new identifiers are currently mapped to the old LangRes classes. Stage 2 will be to convert the langres classes into properties file to keep the already translated strings... Index: DownloadTableFormat.java =================================================================== RCS file: /cvsroot/jtcfrost/frost-wot/source/frost/fileTransfer/download/DownloadTableFormat.java,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** DownloadTableFormat.java 10 Feb 2006 18:43:38 -0000 1.13 --- DownloadTableFormat.java 25 Apr 2006 11:22:51 -0000 1.14 *************** *** 283,289 **** String anonymous; - /** - * - */ public DownloadTableFormat() { super(COLUMN_COUNT); --- 283,286 ---- *************** *** 305,334 **** } - /** - * - */ private void refreshLanguage() { ! setColumnName(0, language.getString("DownloadTableFormat.Enabled")); ! setColumnName(1, language.getString("Filename")); ! setColumnName(2, language.getString("Size")); ! setColumnName(3, language.getString("Age")); ! setColumnName(4, language.getString("State")); ! setColumnName(5, language.getString("Blocks")); ! setColumnName(6, language.getString("Tries")); ! setColumnName(7, language.getString("Source")); ! setColumnName(8, language.getString("From")); ! setColumnName(9, language.getString("Key")); ! stateWaiting = language.getString("Waiting"); ! stateTrying = language.getString("Trying"); ! stateFailed = language.getString("Failed"); ! stateDone = language.getString("Done"); ! stateRequesting = language.getString("Requesting"); ! stateRequested = language.getString("Requested"); ! stateDecoding = language.getString("Decoding segment") + "..."; ! offline = language.getString("FrostSearchItemObject.Offline"); ! unknown = language.getString("Unknown"); ! anonymous = language.getString("FrostSearchItemObject.Anonymous"); refreshColumnNames(); --- 302,328 ---- } private void refreshLanguage() { ! setColumnName(0, language.getString("DownloadPane.fileTable.enabled")); ! setColumnName(1, language.getString("DownloadPane.fileTable.filename")); ! setColumnName(2, language.getString("DownloadPane.fileTable.size")); ! setColumnName(3, language.getString("DownloadPane.fileTable.age")); ! setColumnName(4, language.getString("DownloadPane.fileTable.state")); ! setColumnName(5, language.getString("DownloadPane.fileTable.blocks")); ! setColumnName(6, language.getString("DownloadPane.fileTable.tries")); ! setColumnName(7, language.getString("DownloadPane.fileTable.source")); ! setColumnName(8, language.getString("DownloadPane.fileTable.from")); ! setColumnName(9, language.getString("DownloadPane.fileTable.key")); ! stateWaiting = language.getString("DownloadPane.fileTable.states.waiting"); ! stateTrying = language.getString("DownloadPane.fileTable.states.trying"); ! stateFailed = language.getString("DownloadPane.fileTable.states.failed"); ! stateDone = language.getString("DownloadPane.fileTable.states.done"); ! stateRequesting = language.getString("DownloadPane.fileTable.states.requesting"); ! stateRequested = language.getString("DownloadPane.fileTable.states.requested"); ! stateDecoding = language.getString("DownloadPane.fileTable.states.decodingSegment") + "..."; ! offline = language.getString("DownloadPane.fileTable.states.offline"); ! unknown = language.getString("DownloadPane.fileTable.states.unknown"); ! anonymous = language.getString("DownloadPane.fileTable.states.anonymous"); refreshColumnNames(); *************** *** 554,557 **** } } - } --- 548,550 ---- Index: DownloadPanel.java =================================================================== RCS file: /cvsroot/jtcfrost/frost-wot/source/frost/fileTransfer/download/DownloadPanel.java,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** DownloadPanel.java 19 Apr 2006 18:27:44 -0000 1.21 --- DownloadPanel.java 25 Apr 2006 11:22:51 -0000 1.22 *************** *** 98,129 **** private void refreshLanguage() { ! keyNotAvailableMessage = language.getString("Key not available yet"); ! fileMessage = language.getString("clipboard.File:"); ! keyMessage = language.getString("clipboard.Key:"); ! bytesMessage = language.getString("clipboard.Bytes:"); ! cancelItem.setText(language.getString("Cancel")); ! copyKeysItem.setText(language.getString("Copy keys only")); ! copyKeysAndNamesItem.setText(language.getString("Copy keys with filenames")); ! copyExtendedInfoItem.setText(language.getString("Copy extended info")); ! restartSelectedDownloadsItem.setText( ! language.getString("Restart selected downloads")); ! removeSelectedDownloadsItem.setText( ! language.getString("Remove selected downloads")); ! removeAllDownloadsItem.setText(language.getString("Remove all downloads")); //downloadPopupResetHtlValues = new JMenuItem(LangRes.getString("Retry selected downloads")); ! removeFinishedItem.setText(language.getString("Remove finished downloads")); ! enableAllDownloadsItem.setText(language.getString("Enable all downloads")); ! disableAllDownloadsItem.setText(language.getString("Disable all downloads")); ! enableSelectedDownloadsItem.setText( ! language.getString("Enable selected downloads")); ! disableSelectedDownloadsItem.setText( ! language.getString("Disable selected downloads")); ! invertEnabledAllItem.setText( ! language.getString("Invert enabled state for all downloads")); ! invertEnabledSelectedItem.setText( ! language.getString("Invert enabled state for selected downloads")); ! copyToClipboardMenu.setText(language.getString("Copy to clipboard") + "..."); } --- 98,123 ---- private void refreshLanguage() { ! keyNotAvailableMessage = language.getString("Common.copyToClipBoard.extendedInfo.keyNotAvailableYet"); ! fileMessage = language.getString("Common.copyToClipBoard.extendedInfo.file")+" "; ! keyMessage = language.getString("Common.copyToClipBoard.extendedInfo.key")+" "; ! bytesMessage = language.getString("Common.copyToClipBoard.extendedInfo.bytes")+" "; ! cancelItem.setText(language.getString("Common.cancel")); ! copyKeysItem.setText(language.getString("Common.copyToClipBoard.copyKeysOnly")); ! copyKeysAndNamesItem.setText(language.getString("Common.copyToClipBoard.copyKeysWithFilenames")); ! copyExtendedInfoItem.setText(language.getString("Common.copyToClipBoard.copyExtendedInfo")); ! restartSelectedDownloadsItem.setText(language.getString("DownloadPane.fileTable.popupmenu.restartSelectedDownloads")); ! removeSelectedDownloadsItem.setText(language.getString("DownloadPane.fileTable.popupmenu.remove.removeSelectedDownloads")); ! removeAllDownloadsItem.setText(language.getString("DownloadPane.fileTable.popupmenu.remove.removeAllDownloads")); //downloadPopupResetHtlValues = new JMenuItem(LangRes.getString("Retry selected downloads")); ! removeFinishedItem.setText(language.getString("DownloadPane.fileTable.popupmenu.remove.removeFinishedDownloads")); ! enableAllDownloadsItem.setText(language.getString("DownloadPane.fileTable.popupmenu.enableDownloads.enableAllDownloads")); ! disableAllDownloadsItem.setText(language.getString("DownloadPane.fileTable.popupmenu.enableDownloads.disableAllDownloads")); ! enableSelectedDownloadsItem.setText(language.getString("DownloadPane.fileTable.popupmenu.enableDownloads.enableSelectedDownloads")); ! disableSelectedDownloadsItem.setText(language.getString("DownloadPane.fileTable.popupmenu.enableDownloads.disableSelectedDownloads")); ! invertEnabledAllItem.setText(language.getString("DownloadPane.fileTable.popupmenu.enableDownloads.invertEnabledStateForAllDownloads")); ! invertEnabledSelectedItem.setText(language.getString("DownloadPane.fileTable.popupmenu.enableDownloads.invertEnabledStateForSelectedDownloads")); ! copyToClipboardMenu.setText(language.getString("Common.copyToClipBoard") + "..."); } *************** *** 334,339 **** } ! JMenu enabledSubMenu = ! new JMenu(language.getString("Enable downloads") + "..."); if (selectedItems.length != 0) { // If at least 1 item is selected --- 328,332 ---- } ! JMenu enabledSubMenu = new JMenu(language.getString("DownloadPane.fileTable.popupmenu.enableDownloads") + "..."); if (selectedItems.length != 0) { // If at least 1 item is selected *************** *** 348,352 **** add(enabledSubMenu); ! JMenu removeSubMenu = new JMenu(language.getString("Remove") + "..."); if (selectedItems.length != 0) { // If at least 1 item is selected --- 341,345 ---- add(enabledSubMenu); ! JMenu removeSubMenu = new JMenu(language.getString("DownloadPane.fileTable.popupmenu.remove") + "..."); if (selectedItems.length != 0) { // If at least 1 item is selected *************** *** 363,367 **** super.show(invoker, x, y); } - } --- 356,359 ---- *************** *** 566,573 **** private void refreshLanguage() { ! downloadActivateButton.setToolTipText(language.getString("Activate downloading")); ! downloadPauseButton.setToolTipText(language.getString("Pause downloading")); ! String waiting = language.getString("Waiting"); Dimension labelSize = calculateLabelSize(waiting + " : 00000"); downloadItemCountLabel.setPreferredSize(labelSize); --- 558,565 ---- private void refreshLanguage() { ! downloadActivateButton.setToolTipText(language.getString("DownloadPane.toolbar.tooltip.activateDownloading")); ! downloadPauseButton.setToolTipText(language.getString("DownloadPane.toolbar.tooltip.pauseDownloading")); ! String waiting = language.getString("DownloadPane.toolbar.waiting"); Dimension labelSize = calculateLabelSize(waiting + " : 00000"); downloadItemCountLabel.setPreferredSize(labelSize); *************** *** 697,703 **** this, "<html>"+ // needed for linebreak in dialog ! language.getString("Invalid key. Key must begin with one of") ! + " SSK@, KSK@, @CHK: <br>"+invKey+"</html>", ! language.getString("Invalid key"), JOptionPane.ERROR_MESSAGE); } --- 689,695 ---- this, "<html>"+ // needed for linebreak in dialog ! language.getString("DownloadPane.invalidKeyDialog.body") ! + " SSK@, KSK@, CHK@ :<br>"+invKey+"</html>", ! language.getString("DownloadPane.invalidKeyDialog.title"), JOptionPane.ERROR_MESSAGE); } *************** *** 740,744 **** String s = new StringBuffer() ! .append(language.getString("Waiting")) .append(" : ") .append(downloadItemCount) --- 732,736 ---- String s = new StringBuffer() ! .append(language.getString("DownloadPane.fileTable.states.waiting")) .append(" : ") .append(downloadItemCount) Index: DownloadManager.java =================================================================== RCS file: /cvsroot/jtcfrost/frost-wot/source/frost/fileTransfer/download/DownloadManager.java,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** DownloadManager.java 10 Feb 2006 18:43:38 -0000 1.13 --- DownloadManager.java 25 Apr 2006 11:22:51 -0000 1.14 *************** *** 55,63 **** } - /** - * - */ public void initialize() throws StorageException { ! mainFrame.addPanel("Downloads", getPanel()); mainFrame.addStatusPanel(getStatusPanel(), 0); settings.addPropertyChangeListener(SettingsClass.DISABLE_DOWNLOADS, this); --- 55,60 ---- } public void initialize() throws StorageException { ! mainFrame.addPanel("MainFrame.tabbedPane.downloads", getPanel()); mainFrame.addStatusPanel(getStatusPanel(), 0); settings.addPropertyChangeListener(SettingsClass.DISABLE_DOWNLOADS, this); *************** *** 79,85 **** } - /** - * - */ private void updateDownloadStatus() { boolean disableDownloads = settings.getBoolValue(SettingsClass.DISABLE_DOWNLOADS); --- 76,79 ---- Index: DownloadStatusPanel.java =================================================================== RCS file: /cvsroot/jtcfrost/frost-wot/source/frost/fileTransfer/download/DownloadStatusPanel.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** DownloadStatusPanel.java 10 Feb 2006 18:43:38 -0000 1.2 --- DownloadStatusPanel.java 25 Apr 2006 11:22:51 -0000 1.3 *************** *** 30,36 **** public class DownloadStatusPanel extends JPanel { - /** - * - */ private class Listener implements DownloadTickerListener, LanguageListener { /* (non-Javadoc) --- 30,33 ---- *************** *** 60,66 **** private Listener listener = new Listener(); - /** - * - */ public DownloadStatusPanel(DownloadTicker ticker) { super(); --- 57,60 ---- *************** *** 70,76 **** } - /** - * - */ private void initialize() { refreshLanguage(); --- 64,67 ---- *************** *** 91,109 **** } - /** - * - */ private void refreshLanguage() { ! downloadingLabel.setText(language.getString("DownloadStatusPanel.Downloading")); if (count == 1) { ! filesLabel.setText(language.getString("StatusPanel.file")); } else { ! filesLabel.setText(language.getString("StatusPanel.files")); } } - /** - * - */ private void numberChanged() { count = ticker.getRunningThreads(); --- 82,94 ---- } private void refreshLanguage() { ! downloadingLabel.setText(language.getString("MainFrame.statusBar.downloading")+":"); if (count == 1) { ! filesLabel.setText(language.getString("MainFrame.statusBar.file")); } else { ! filesLabel.setText(language.getString("MainFrame.statusBar.files")); } } private void numberChanged() { count = ticker.getRunningThreads(); |
From: <jtcfrost-cvs-admin@li...> - 2006-04-25 11:23:04
|
Update of /cvsroot/jtcfrost/frost-wot/source/frost/gui/objects In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19033/source/frost/gui/objects Modified Files: Board.java Removed Files: TargetFolderChooser.java Log Message: phu, completed stage 1 of converting the translateable strings into a properties resourcebundle. The whole gui uses new identifiers now, but the new identifiers are currently mapped to the old LangRes classes. Stage 2 will be to convert the langres classes into properties file to keep the already translated strings... Index: Board.java =================================================================== RCS file: /cvsroot/jtcfrost/frost-wot/source/frost/gui/objects/Board.java,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** Board.java 19 Apr 2006 06:51:07 -0000 1.14 --- Board.java 25 Apr 2006 11:22:51 -0000 1.15 *************** *** 306,316 **** if (isReadAccessBoard()) { ! return language.getString("read access"); } else if (isWriteAccessBoard()) { ! return language.getString("write access"); } else if (isPublicBoard()) { ! return language.getString("public board"); } ! return "(INVALID, no public key, but private!)"; } --- 306,316 ---- if (isReadAccessBoard()) { ! return language.getString("Board.boardState.readAccess"); } else if (isWriteAccessBoard()) { ! return language.getString("Board.boardState.writeAccess"); } else if (isPublicBoard()) { ! return language.getString("Board.boardState.publicBoard"); } ! return language.getString("Board.boardState.invalid"); } --- TargetFolderChooser.java DELETED --- |
From: <jtcfrost-cvs-admin@li...> - 2006-04-25 11:23:03
|
Update of /cvsroot/jtcfrost/frost-wot/source/frost/util/gui In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19033/source/frost/util/gui Modified Files: TextComponentClipboardMenu.java FontChooser.java JDialogWithDetails.java MiscToolkit.java Log Message: phu, completed stage 1 of converting the translateable strings into a properties resourcebundle. The whole gui uses new identifiers now, but the new identifiers are currently mapped to the old LangRes classes. Stage 2 will be to convert the langres classes into properties file to keep the already translated strings... Index: MiscToolkit.java =================================================================== RCS file: /cvsroot/jtcfrost/frost-wot/source/frost/util/gui/MiscToolkit.java,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** MiscToolkit.java 22 Mar 2006 20:15:17 -0000 1.8 --- MiscToolkit.java 25 Apr 2006 11:22:51 -0000 1.9 *************** *** 65,86 **** } ! /** ! * Configures a button, setting its tooltip text, rollover icon and some other ! * default properties. ! * @param button the button to configure ! * @param toolTipKey language resource key to extract its tooltip text with ! * @param rolloverIcon displayed icon when mouse arrow is over button ! * @param languageResource language resource to extract the tooltip text from ! */ public void configureButton( JButton button, String toolTipKey, String rolloverIcon, ! ResourceBundle languageResource) { String text = null; try { ! text = languageResource.getString(toolTipKey); } catch (MissingResourceException ex) { logger.severe("Missing resource in configureButton method: " + toolTipKey); text = toolTipKey; // better than nothing ;) --- 65,87 ---- } ! /** ! * Configures a button, setting its tooltip text, rollover icon and some other ! * default properties. ! * @param button the button to configure ! * @param toolTipKey language resource key to extract its tooltip text with ! * @param rolloverIcon displayed icon when mouse arrow is over button ! * @param language language to extract the tooltip text from ! */ public void configureButton( JButton button, String toolTipKey, String rolloverIcon, ! Language language) { String text = null; try { ! text = language.getString(toolTipKey); } catch (MissingResourceException ex) { + ex.printStackTrace(); logger.severe("Missing resource in configureButton method: " + toolTipKey); text = toolTipKey; // better than nothing ;) *************** *** 92,112 **** /** - * Configures a button, setting its tooltip text, rollover icon and some other - * default properties. - * @param button the button to configure - * @param toolTipKey language resource key to extract its tooltip text with - * @param rolloverIcon displayed icon when mouse arrow is over button - * @param language language to extract the tooltip text from - */ - public void configureButton( - JButton button, - String toolTipKey, - String rolloverIcon, - Language language) { - - configureButton(button, toolTipKey, rolloverIcon, language.getResourceBundle()); - } - - /** * This method loads an image from the given resource path and scales it to * the dimensions passed as parameters. --- 93,96 ---- Index: JDialogWithDetails.java =================================================================== RCS file: /cvsroot/jtcfrost/frost-wot/source/frost/util/gui/JDialogWithDetails.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** JDialogWithDetails.java 22 Mar 2006 20:15:17 -0000 1.4 --- JDialogWithDetails.java 25 Apr 2006 11:22:51 -0000 1.5 *************** *** 42,48 **** public class JDialogWithDetails extends JDialog { - /** - * - */ private class Listener extends WindowAdapter implements ActionListener { /* (non-Javadoc) --- 42,45 ---- *************** *** 135,140 **** setModal(true); ! moreButton.setText(language.getString("More") + " >>"); ! okButton.setText(language.getString("OK")); // Putting everything together --- 132,137 ---- setModal(true); ! moreButton.setText(language.getString("DialogWithDetails.button.more") + " >>"); ! okButton.setText(language.getString("Common.ok")); // Putting everything together *************** *** 159,163 **** private void moreButtonPressed() { if (moreExtended) { ! moreButton.setText(language.getString("More") + " >>"); contentPanel.remove(getMorePanel()); pack(); --- 156,160 ---- private void moreButtonPressed() { if (moreExtended) { ! moreButton.setText(language.getString("DialogWithDetails.button.more") + " >>"); contentPanel.remove(getMorePanel()); pack(); *************** *** 165,169 **** } else { contentPanel.add(getMorePanel(), BorderLayout.SOUTH); ! moreButton.setText(language.getString("Less") + " <<"); pack(); moreExtended = true; --- 162,166 ---- } else { contentPanel.add(getMorePanel(), BorderLayout.SOUTH); ! moreButton.setText(language.getString("DialogWithDetails.button.less") + " <<"); pack(); moreExtended = true; Index: TextComponentClipboardMenu.java =================================================================== RCS file: /cvsroot/jtcfrost/frost-wot/source/frost/util/gui/TextComponentClipboardMenu.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** TextComponentClipboardMenu.java 22 Mar 2006 20:15:17 -0000 1.2 --- TextComponentClipboardMenu.java 25 Apr 2006 11:22:51 -0000 1.3 *************** *** 34,39 **** * @version $Revision$ */ ! public class TextComponentClipboardMenu extends MouseAdapter ! implements ClipboardOwner, ActionListener { private static Logger logger = Logger.getLogger(TextComponentClipboardMenu.class.getName()); --- 34,38 ---- * @version $Revision$ */ ! public class TextComponentClipboardMenu extends MouseAdapter implements ClipboardOwner, ActionListener { private static Logger logger = Logger.getLogger(TextComponentClipboardMenu.class.getName()); *************** *** 50,56 **** private JMenuItem cancelItem; - /** - * - */ public TextComponentClipboardMenu(JTextComponent textComponent, Language language) { this.textComponent = textComponent; --- 49,52 ---- *************** *** 105,120 **** } - /** - * @param x - * @param y - */ private void showPopup(int x, int y) { createPopupMenu(); ! cutItem.setText(language.getString("Cut")); ! copyItem.setText(language.getString("Copy")); ! pasteItem.setText(language.getString("Paste")); ! cancelItem.setText(language.getString("Cancel")); if (textComponent.getSelectedText() != null) { --- 101,112 ---- } private void showPopup(int x, int y) { createPopupMenu(); ! cutItem.setText(language.getString("Common.cut")); ! copyItem.setText(language.getString("Common.copy")); ! pasteItem.setText(language.getString("Common.paste")); ! cancelItem.setText(language.getString("Common.cancel")); if (textComponent.getSelectedText() != null) { *************** *** 144,150 **** } - /** - * - */ private void pasteText() { Transferable clipboardContent = clipboard.getContents(this); --- 136,139 ---- *************** *** 175,181 **** } - /** - * - */ private void createPopupMenu() { if (popupMenu == null) { --- 164,167 ---- *************** *** 199,205 **** } - /** - * @return - */ private Clipboard getClipboard() { if (clipboard == null) { --- 185,188 ---- *************** *** 210,216 **** } - /** - * - */ private void copySelectedText() { StringSelection selection = new StringSelection(textComponent.getSelectedText()); --- 193,196 ---- *************** *** 218,224 **** } - /** - * - */ private void cutSelectedText() { StringSelection selection = new StringSelection(textComponent.getSelectedText()); --- 198,201 ---- *************** *** 233,236 **** } } - } --- 210,212 ---- Index: FontChooser.java =================================================================== RCS file: /cvsroot/jtcfrost/frost-wot/source/frost/util/gui/FontChooser.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** FontChooser.java 22 Mar 2006 20:15:17 -0000 1.6 --- FontChooser.java 25 Apr 2006 11:22:51 -0000 1.7 *************** *** 34,52 **** */ public class FontChooser extends JDialog { - /** - * - */ private class Listener implements ActionListener, ListSelectionListener, LanguageListener { - /** - * - */ public Listener() { super(); } - /* (non-Javadoc) - * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent) - */ public void actionPerformed(ActionEvent e) { if (e.getSource() == okButton) { --- 34,43 ---- *************** *** 61,67 **** } - /* (non-Javadoc) - * @see javax.swing.event.ListSelectionListener#valueChanged(javax.swing.event.ListSelectionEvent) - */ public void valueChanged(ListSelectionEvent e) { if (!e.getValueIsAdjusting()) { // We ignore adjusting events --- 52,55 ---- *************** *** 78,88 **** } - /* (non-Javadoc) - * @see frost.gui.translation.LanguageListener#languageChanged(frost.gui.translation.LanguageEvent) - */ public void languageChanged(LanguageEvent event) { refreshLanguage(); } - } --- 66,72 ---- *************** *** 116,123 **** private HashMap styles = new HashMap(); - /** - * @param owner - * @param language - */ public FontChooser(Frame owner, Language language) { super(owner); --- 100,103 ---- *************** *** 127,134 **** } - /** - * @param owner - * @param language - */ public FontChooser(Dialog owner, Language language) { super(owner); --- 107,110 ---- *************** *** 138,144 **** } - /** - * - */ private void initialize() { refreshLanguage(); --- 114,117 ---- *************** *** 240,249 **** GraphicsEnvironment environment = GraphicsEnvironment.getLocalGraphicsEnvironment(); String[] names = environment.getAvailableFontFamilyNames(); ! String[] sizes = ! { "8", "9", "10", "11", "12", "14", "16", "18", "22", "26", "30", "36", "48", "64" }; ! styles.put("Plain", new Integer(Font.PLAIN)); ! styles.put("Italic", new Integer(Font.ITALIC)); ! styles.put("Bold", new Integer(Font.BOLD)); ! styles.put("Bold Italic", new Integer(Font.ITALIC | Font.BOLD)); for (int i = 0; i < names.length; i++) { --- 213,221 ---- GraphicsEnvironment environment = GraphicsEnvironment.getLocalGraphicsEnvironment(); String[] names = environment.getAvailableFontFamilyNames(); ! String[] sizes = { "8", "9", "10", "11", "12", "14", "16", "18", "22", "26", "30", "36", "48", "64" }; ! styles.put(language.getString("Options.display.fontChooser.plain"), new Integer(Font.PLAIN)); ! styles.put(language.getString("Options.display.fontChooser.italic"), new Integer(Font.ITALIC)); ! styles.put(language.getString("Options.display.fontChooser.bold"), new Integer(Font.BOLD)); ! styles.put(language.getString("Options.display.fontChooser.boldItalic"), new Integer(Font.ITALIC | Font.BOLD)); for (int i = 0; i < names.length; i++) { *************** *** 269,289 **** } - /** - * - */ private void cancelButtonPressed() { selectedFont = null; dispose(); } - /** - * - */ private void okButtonPressed() { dispose(); } - /** - * - */ private void fontNameValueChanged() { if (fontNamesList.getSelectedIndex() != -1) { --- 241,252 ---- *************** *** 294,300 **** } - /** - * - */ private void refreshFont() { if ((selectedName != null) && (selectedSize != null) && (selectedStyle != null)) { --- 257,260 ---- *************** *** 305,311 **** } - /** - * - */ private void fontStyleValueChanged() { int selectedIndex = fontStylesList.getSelectedIndex(); --- 265,268 ---- *************** *** 320,326 **** } - /** - * - */ private void fontSizeValueChanged() { if (fontSizesList.getSelectedIndex() != -1) { --- 277,280 ---- *************** *** 330,343 **** } } ! /** ! * @return ! */ ! public Font getSelectedFont() { return selectedFont; } - /** - * @param font - */ public void setSelectedFont(Font font) { selectedFont = font; --- 284,292 ---- } } ! ! public Font getSelectedFont() { return selectedFont; } public void setSelectedFont(Font font) { selectedFont = font; *************** *** 369,399 **** } ! /** ! * ! */ ! private void sizeTyped() { ! String size = selectedSizeTextField.getText(); ! try { ! selectedSize = new Integer(size); ! if (fontSizesModel.contains(size)) { ! fontSizesList.setSelectedValue(size, true); ! } else { ! fontSizesList.clearSelection(); ! } ! refreshFont(); ! } catch (NumberFormatException exception) { ! //Nothing, just ignore the typed value } } - /** - * - */ private void refreshLanguage() { ! setTitle(language.getString("Choose a Font")); ! sampleLabel.setText(language.getString("Sample")); ! okButton.setText(language.getString("OK")); ! cancelButton.setText(language.getString("Cancel")); } - } --- 318,341 ---- } ! private void sizeTyped() { ! String size = selectedSizeTextField.getText(); ! try { ! selectedSize = new Integer(size); ! if (fontSizesModel.contains(size)) { ! fontSizesList.setSelectedValue(size, true); ! } else { ! fontSizesList.clearSelection(); } + refreshFont(); + } catch (NumberFormatException exception) { + //Nothing, just ignore the typed value } + } private void refreshLanguage() { ! setTitle(language.getString("Options.display.fontChooser.title")); ! sampleLabel.setText(language.getString("Options.display.fontChooser.sample")); ! okButton.setText(language.getString("Common.ok")); ! cancelButton.setText(language.getString("Common.cancel")); } } |
From: <jtcfrost-cvs-admin@li...> - 2006-04-25 11:23:03
|
Update of /cvsroot/jtcfrost/frost-wot/source/res In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19033/source/res Modified Files: LangRes_de.java Added Files: LangResMapping.java Log Message: phu, completed stage 1 of converting the translateable strings into a properties resourcebundle. The whole gui uses new identifiers now, but the new identifiers are currently mapped to the old LangRes classes. Stage 2 will be to convert the langres classes into properties file to keep the already translated strings... --- NEW FILE: LangResMapping.java --- package res; import java.util.*; public class LangResMapping { public static void main(String[] args) { buildMap(); LangRes lr = new LangRes(); for(Iterator i=mapping.keySet().iterator(); i.hasNext(); ) { String k1 = (String)i.next(); k1 = (String)mapping.get(k1); try { if( lr.getString(k1) == null ) { System.out.println("Key in mapping, but not in LangRes: '"+k1+"'"); } } catch (RuntimeException e) { System.out.println("Key in mapping, but not in LangRes: '"+k1+"'"); } } } private static Map mapping = null; public static String getOldForNew(String newStr) { if(mapping == null ) { buildMap(); } return (String)mapping.get(newStr); } private static void buildMap() { mapping = new HashMap(); for(int x=0; x < contents.length; x++) { String oldStr = (String)contents[x][0]; String newStr = (String)contents[x][1]; mapping.put(newStr, oldStr); } } static final Object[][] contents = { /////////////////////////////////////////////////// // Common /////////////////////////////////////////////////// {"Exit", "Common.exit"}, {"Ok", "Common.ok"}, {"Cancel", "Common.cancel"}, {"Browse", "Common.browse"}, {"Cut", "Common.cut"}, {"Copy", "Common.copy"}, {"Paste", "Common.paste"}, // Copy keys to clipboard submenu {"Copy to clipboard", "Common.copyToClipBoard"}, {"Copy keys only", "Common.copyToClipBoard.copyKeysOnly"}, {"Copy keys with filenames", "Common.copyToClipBoard.copyKeysWithFilenames"}, {"Copy extended info", "Common.copyToClipBoard.copyExtendedInfo"}, {"Key not available yet", "Common.copyToClipBoard.extendedInfo.keyNotAvailableYet"}, {"clipboard.File:", "Common.copyToClipBoard.extendedInfo.file"}, {"clipboard.Key:", "Common.copyToClipBoard.extendedInfo.key"}, {"clipboard.Bytes:", "Common.copyToClipBoard.extendedInfo.bytes"}, /////////////////////////////////////////////////// // Splash messages /////////////////////////////////////////////////// {"Initializing Mainframe", "Splashscreen.message.1"}, {"Hypercube fluctuating!", "Splashscreen.message.2"}, {"Sending IP address to NSA", "Splashscreen.message.3"}, {"Wasting more time", "Splashscreen.message.4"}, {"Reaching ridiculous speed...", "Splashscreen.message.5"}, /////////////////////////////////////////////////// // First Startup Dialog /////////////////////////////////////////////////// {"Frost first startup", "FirstStartupDialog.title"}, {"Please choose the version of Freenet you want to use", "FirstStartupDialog.freenetVersion.label"}, {"You can create a new identity or import an existing identities.xml file", "FirstStartupDialog.identity.label"}, {"Create new identity", "FirstStartupDialog.identity.createNew"}, {"Import existing identities.xml file", "FirstStartupDialog.identity.import"}, /////////////////////////////////////////////////// // Default message texts /////////////////////////////////////////////////// {"Welcome message", "MessagePane.defaultText.welcomeMessage"}, {"Select a board to view its content.", "MessagePane.defaultText.noBoardSelected"}, {"Select a message to view its content.", "MessagePane.defaultText.noMessageSelected"}, /////////////////////////////////////////////////// // Main Window Menu /////////////////////////////////////////////////// // Menu File {"File", "MainFrame.menu.file"}, // Menu News {"News", "MainFrame.menu.news"}, {"Automatic message update", "MainFrame.menu.news.automaticBoardUpdate"}, {"Configure selected board", "MainFrame.menu.news.configureBoard"}, {"Display board information window", "MainFrame.menu.news.displayBoardInformationWindow"}, {"Display known boards", "MainFrame.menu.news.displayKnownBoards"}, {"Search messages", "MainFrame.menu.news.searchMessages"}, // Menu Options {"Options", "MainFrame.menu.options"}, {"Preferences", "MainFrame.menu.options.preferences"}, // Menu Plugins //{"Plugins", "Plugins"}, //{"Experimental Freenet Browser", "Experimental Freenet Browser"}, //{"Translate Frost into another language", "Translate Frost into another language"}, // Menu Language {"Language", "MainFrame.menu.language"}, {"Default", "MainFrame.menu.language.default"}, {"German", "MainFrame.menu.language.german"}, {"English", "MainFrame.menu.language.english"}, {"Dutch", "MainFrame.menu.language.dutch"}, {"Japanese", "MainFrame.menu.language.japanese"}, {"French", "MainFrame.menu.language.french"}, {"Italian", "MainFrame.menu.language.italian"}, {"Spanish", "MainFrame.menu.language.spanish"}, {"Bulgarian", "MainFrame.menu.language.bulgarian"}, {"Russian", "MainFrame.menu.language.russian"}, // Menu Help {"Help", "MainFrame.menu.help"}, {"Show memory monitor", "MainFrame.menu.help.showMemoryMonitor"}, {"Help", "MainFrame.menu.help.help"}, {"About", "MainFrame.menu.help.aboutFrost"}, /////////////////////////////////////////////////// // Main Window ToolBar /////////////////////////////////////////////////// {"New board", "MainFrame.toolbar.tooltip.newBoard"}, {"New folder", "MainFrame.toolbar.tooltip.newFolder"}, {"Configure board", "MainFrame.toolbar.tooltip.configureBoard"}, {"Rename folder", "MainFrame.toolbar.tooltip.renameFolder"}, {"Cut board", "MainFrame.toolbar.tooltip.cutBoard"}, {"Paste board", "MainFrame.toolbar.tooltip.pasteBoard"}, {"Remove board", "MainFrame.toolbar.tooltip.removeBoard"}, {"Board Information Window", "MainFrame.toolbar.tooltip.boardInformationWindow"}, {"Display list of known boards", "MainFrame.toolbar.tooltip.displayListOfKnownBoards"}, {"Search messages", "MainFrame.toolbar.tooltip.searchMessages"}, {"Minimize to System Tray", "MainFrame.toolbar.tooltip.minimizeToSystemTray"}, /////////////////////////////////////////////////// // Main Window Tabbed Pane /////////////////////////////////////////////////// {"News", "MainFrame.tabbedPane.news"}, {"Downloads", "MainFrame.tabbedPane.downloads"}, {"Search", "MainFrame.tabbedPane.search"}, {"Uploads", "MainFrame.tabbedPane.uploads"}, /////////////////////////////////////////////////// // Main Window News Tab /////////////////////////////////////////////////// // ToolBar in News Tab {"Next unread message", "MessagePane.toolbar.tooltip.nextUnreadMessage"}, {"Save message", "MessagePane.toolbar.tooltip.saveMessage"}, {"New message", "MessagePane.toolbar.tooltip.newMessage"}, {"Reply", "MessagePane.toolbar.tooltip.reply"}, {"Update", "MessagePane.toolbar.tooltip.update"}, {"Trust", "MessagePane.toolbar.tooltip.setToGood"}, {"Set to CHECK", "MessagePane.toolbar.tooltip.setToCheck"}, {"Set to OBSERVE", "MessagePane.toolbar.tooltip.setToObserve"}, {"Do not trust", "MessagePane.toolbar.tooltip.setToBad"}, //Popup over BOARD attachments table {"Add Board(s)", "MessagePane.boardAttachmentTable.popupmenu.addBoards"}, {"Add Board(s) to folder", "MessagePane.boardAttachmentTable.popupmenu.addBoardsToFolder"}, {"Add board(s) to list of known boards", "MessagePane.boardAttachmentTable.popupmenu.addBoardsToKnownBoards"}, //Popup over FILE attachments table {"Download attachment(s)", "MessagePane.fileAttachmentTable.popupmenu.downloadAttachments"}, {"Download selected attachment", "MessagePane.fileAttachmentTable.popupmenu.downloadSelectedAttachment"}, // Popup over message table {"Mark message unread", "MessagePane.messageTable.popupmenu.markMessageUnread"}, {"Mark ALL messages read", "MessagePane.messageTable.popupmenu.markAllMessagesRead"}, {"help user (sets to GOOD)", "MessagePane.messageTable.popupmenu.setToGood"}, {"block user (sets to BAD)", "MessagePane.messageTable.popupmenu.setToBad"}, {"set to neutral (CHECK)", "MessagePane.messageTable.popupmenu.setToCheck"}, {"observe user (OBSERVE)", "MessagePane.messageTable.popupmenu.setToObserve"}, {"Delete message", "MessagePane.messageTable.popupmenu.deleteMessage"}, {"Undelete message", "MessagePane.messageTable.popupmenu.undeleteMessage"}, // message table columns {"Index", "MessagePane.messageTable.index"}, {"From", "MessagePane.messageTable.from"}, {"Subject", "MessagePane.messageTable.subject"}, {"Sig", "MessagePane.messageTable.sig"}, {"Date", "MessagePane.messageTable.date"}, // Popup over message (main frame) {"Copy", "MessagePane.messageText.popupmenu.copy"}, {"Save message to disk", "MessagePane.messageText.popupmenu.saveMessageToDisk"}, {"Save message to disk", "MessagePane.messageText.saveDialog.title"}, // board states {"read access", "Board.boardState.readAccess"}, {"write access", "Board.boardState.writeAccess"}, {"public board", "Board.boardState.publicBoard"}, {"(INVALID, no public key, but private!)", "Board.boardState.invalid"}, //AttachedBoardTableModel {"Board Name", "MessagePane.boardAttachmentTable.boardName"}, {"Access rights", "MessagePane.boardAttachmentTable.accessRights"}, {"Description", "MessagePane.boardAttachmentTable.description"}, //AttachedFilesTableModel {"Filename", "MessagePane.fileAttachmentTable.filename"}, {"Size", "MessagePane.fileAttachmentTable.size"}, {"Key", "MessagePane.fileAttachmentTable.key"}, /////////////////////////////////////////////////// // Main Window Search Tab /////////////////////////////////////////////////// // ToolBar in Search tab {"Search", "SearchPane.toolbar.tooltip.search"}, {"Download selected keys", "SearchPane.toolbar.tooltip.downloadSelectedKeys"}, {"all boards", "SearchPane.toolbar.searchAllBoards"}, {"Results", "SearchPane.toolbar.results"}, // Popup over search results table {"Download all keys", "SearchPane.resultTable.popupmenu.downloadAllKeys"}, {"Download selected keys", "SearchPane.resultTable.popupmenu.downloadSelectedKeys"}, {"help user (sets to GOOD)", "SearchPane.resultTable.popupmenu.setToGood"}, {"block user (sets to BAD)", "SearchPane.resultTable.popupmenu.setToBad"}, //SearchComboBox {"All files", "SearchPane.fileTypes.allFiles"}, {"Audio", "SearchPane.fileTypes.audio"}, {"Video", "SearchPane.fileTypes.video"}, {"Images", "SearchPane.fileTypes.images"}, {"Documents", "SearchPane.fileTypes.documents"}, {"Executables", "SearchPane.fileTypes.executables"}, {"Archives", "SearchPane.fileTypes.archives"}, /////////////////////////////////////////////////// // Main Window Downloads Tab /////////////////////////////////////////////////// // ToolBar in Downloads Tab {"Activate downloading", "DownloadPane.toolbar.tooltip.activateDownloading"}, {"Pause downloading", "DownloadPane.toolbar.tooltip.pauseDownloading"}, {"Waiting", "DownloadPane.toolbar.waiting"}, // Popup over download table {"Restart selected downloads", "DownloadPane.fileTable.popupmenu.restartSelectedDownloads"}, {"Enable downloads", "DownloadPane.fileTable.popupmenu.enableDownloads"}, {"Enable selected downloads", "DownloadPane.fileTable.popupmenu.enableDownloads.enableSelectedDownloads"}, {"Disable selected downloads", "DownloadPane.fileTable.popupmenu.enableDownloads.disableSelectedDownloads"}, {"Invert enabled state for selected downloads", "DownloadPane.fileTable.popupmenu.enableDownloads.invertEnabledStateForSelectedDownloads"}, {"Enable all downloads", "DownloadPane.fileTable.popupmenu.enableDownloads.enableAllDownloads"}, {"Disable all downloads", "DownloadPane.fileTable.popupmenu.enableDownloads.disableAllDownloads"}, {"Invert enabled state for all downloads", "DownloadPane.fileTable.popupmenu.enableDownloads.invertEnabledStateForAllDownloads"}, {"Remove", "DownloadPane.fileTable.popupmenu.remove"}, {"Remove selected downloads", "DownloadPane.fileTable.popupmenu.remove.removeSelectedDownloads"}, {"Remove all downloads", "DownloadPane.fileTable.popupmenu.remove.removeAllDownloads"}, {"Remove finished downloads", "DownloadPane.fileTable.popupmenu.remove.removeFinishedDownloads"}, /////////////////////////////////////////////////// // Main Window Uploads Tab /////////////////////////////////////////////////// // ToolBar in Uploads Tab {"Browse", "UploadPane.toolbar.tooltip.browse"}, // FileChooser in Uploads Tab {"Select files you want to upload to board ''{0}''", "UploadPane.filechooser.title"}, // Popup over uploads table {"Remove", "UploadPane.fileTable.popupmenu.remove"}, {"Remove selected files", "UploadPane.fileTable.popupmenu.remove.removeSelectedFiles"}, {"Remove all files", "UploadPane.fileTable.popupmenu.remove.removeAllFiles"}, {"Start encoding of selected files", "UploadPane.fileTable.popupmenu.startEncodingOfSelectedFiles"}, {"Upload selected files", "UploadPane.fileTable.popupmenu.uploadSelectedFiles"}, {"Upload all files", "UploadPane.fileTable.popupmenu.uploadAllFiles"}, {"Set prefix for selected files", "UploadPane.fileTable.popupmenu.setPrefixForSelectedFiles"}, {"Set prefix for all files", "UploadPane.fileTable.popupmenu.setPrefixForAllFiles"}, {"Restore default filenames for selected files", "UploadPane.fileTable.popupmenu.restoreDefaultFilenamesForSelectedFiles"}, {"Restore default filenames for all files", "UploadPane.fileTable.popupmenu.restoreDefaultFilenamesForAllFiles"}, {"Change destination board", "UploadPane.fileTable.popupmenu.changeDestinationBoard"}, {"Please enter the prefix you want to use for your files.", "UploadPane.fileTable.popupmenu.prefixInputLabel"}, /////////////////////////////////////////////////// // Main Window Board Selection Tree /////////////////////////////////////////////////// // Popup over Tree {"Refresh", "BoardTree.popupmenu.refresh"}, {"Remove", "BoardTree.popupmenu.remove"}, {"folder", "BoardTree.popupmenu.folder"}, {"Folder", "BoardTree.popupmenu.Folder"}, {"board", "BoardTree.popupmenu.board"}, {"Board", "BoardTree.popupmenu.Board"}, {"Cut", "BoardTree.popupmenu.cut"}, {"Paste", "BoardTree.popupmenu.paste"}, {"Add new board", "BoardTree.popupmenu.addNewBoard"}, {"Add new folder", "BoardTree.popupmenu.addNewFolder"}, {"Sort folder", "BoardTree.popupmenu.sortFolder"}, {"Mark ALL messages read", "BoardTree.popupmenu.markAllMessagesRead"}, {"Rename folder", "BoardTree.popupmenu.renameFolder"}, {"Configure selected board", "BoardTree.popupmenu.configureSelectedBoard"}, {"Configure selected folder", "BoardTree.popupmenu.configureSelectedFolder"}, /////////////////////////////////////////////////// // Main Window Status Bar /////////////////////////////////////////////////// //{"Up", "Up"}, //{"Down", "Down"}, {"UploadStatusPanel.Uploading", "MainFrame.statusBar.uploading"}, {"DownloadStatusPanel.Downloading", "MainFrame.statusBar.downloading"}, {"TOFUP", "MainFrame.statusBar.TOFUP"}, {"TOFDO", "MainFrame.statusBar.TOFDO"}, //{"Results", "Results"}, {"Selected board", "MainFrame.statusBar.selectedBoard"}, {"StatusPanel.file", "MainFrame.statusBar.file"}, {"StatusPanel.files", "MainFrame.statusBar.files"}, /////////////////////////////////////////////////// // New Message Window /////////////////////////////////////////////////// {"Create message", "MessageFrame.createMessage.title"}, {"Send message", "MessageFrame.toolbar.tooltip.sendMessage"}, {"Cancel", "MessageFrame.toolbar.tooltip.cancelMessage"}, {"Add attachment(s)", "MessageFrame.toolbar.tooltip.addFileAttachments"}, {"Add Board(s)", "MessageFrame.toolbar.tooltip.addBoardAttachments"}, {"Sign", "MessageFrame.toolbar.sign"}, {"Encrypt for", "MessageFrame.toolbar.encryptFor"}, {"Indexed attachments", "MessageFrame.toolbar.indexedAttachments"}, {"Should file attachments be added to upload table?", "MessageFrame.toolbar.tooltip.indexedAttachments"}, {"Board", "MessageFrame.board"}, {"From", "MessageFrame.from"}, {"Subject", "MessageFrame.subject"}, {"No subject specified!", "MessageFrame.defaultSubjectWarning.title"}, {"Do you want to enter a subject?", "MessageFrame.defaultSubjectWarning.text"}, {"No subject specified!", "MessageFrame.noSubjectError.title"}, {"You must enter a subject!", "MessageFrame.noSubjectError.text"}, {"No 'From' specified!", "MessageFrame.noSenderError.title"}, {"You must enter a sender name!", "MessageFrame.noSenderError.text"}, {"Remove", "MessageFrame.attachmentTables.popupmenu.remove"}, {"Boardname", "MessageFrame.boardAttachmentTable.boardname"}, {"Public key", "MessageFrame.boardAttachmentTable.publicKey"}, {"Private key", "MessageFrame.boardAttachmentTable.privateKey"}, {"Description", "MessageFrame.boardAttachmentTable.description"}, {"Filename", "MessageFrame.fileAttachmentTable.filename"}, {"Size", "MessageFrame.fileAttachmentTable.size"}, {"Choose file(s) / directory(s) to attach", "MessageFrame.fileChooser.title"}, {"Encrypt error", "MessageFrame.encryptErrorNoRecipient.title"}, {"Can't encrypt the message, no recipient choosed!", "MessageFrame.encryptErrorNoRecipient.body"}, // Attach private board warning {"MessageFrame.ConfirmTitle", "MessageFrame.attachBoard.sendPrivateKeyConfirmationDialog.title"}, {"You have the private key to board ''{0}''. Are you sure you want it attached?\nIf you choose NO, only the public key will be attached.", "MessageFrame.attachBoard.sendPrivateKeyConfirmationDialog.body"}, /////////////////////////////////////////////////// /// Message Window /////////////////////////////////////////////////// {"Board", "MessageWindow.board"}, {"Date", "MessageWindow.date"}, {"From", "MessageWindow.from"}, {"Subject", "MessageWindow.subject"}, /////////////////////////////////////////////////// // BoardsChooser /////////////////////////////////////////////////// {"Choose boards", "BoardsChooser.title"}, /////////////////////////////////////////////////// // TargetFolderChooser /////////////////////////////////////////////////// {"Choose a target folder" , "TargetFolderChooser.title"}, /////////////////////////////////////////////////// // About box /////////////////////////////////////////////////// {"About", "AboutBox.title"}, {"Version", "AboutBox.label.version"}, {"Open Source Project (GPL license)", "AboutBox.label.openSourceProject"}, {"Development:", "AboutBox.text.development"}, {"Windows Installer:", "AboutBox.text.windowsInstaller"}, {"System Tray Executables:", "AboutBox.text.systemTrayExecutables"}, {"Translation Support:", "AboutBox.text.translationSupport"}, {"Splash Screen Logo:", "AboutBox.text.splashScreenLogo"}, {"Misc code contributions:", "AboutBox.text.miscCodeContributions"}, {"More", "DialogWithDetails.button.more"}, {"Less", "DialogWithDetails.button.less"}, /////////////////////////////////////////////////// // Preferences /////////////////////////////////////////////////// {"Options", "Options.title"}, // More often used translations {"On", "Options.common.on"}, {"Off", "Options.common.off"}, {"minutes", "Options.common.minutes"}, {"hours", "Options.common.hours"}, // Downloads Panel {"Downloads", "Options.downloads"}, {"Disable downloads", "Options.downloads.disableDownloads"}, {"Download directory", "Options.downloads.downloadDirectory"}, {"Restart failed downloads", "Options.downloads.restartFailedDownloads"}, {"Maximum number of retries", "Options.downloads.maximumNumberOfRetries"}, {"Waittime after each try", "Options.downloads.waittimeAfterEachTry"}, {"Enable requesting of failed download files", "Options.downloads.enableRequestingOfFailedDownloadFiles"}, {"Request file after this count of retries", "Options.downloads.requestFileAfterThisCountOfRetries"}, {"Number of simultaneous downloads", "Options.downloads.numberOfSimultaneousDownloads"}, {"Number of splitfile threads", "Options.downloads.numberOfSplitfileThreads"}, {"Remove finished downloads every 5 minutes", "Options.downloads.removeFinishedDownloadsEvery5Minutes"}, {"Try to download all segments, even if one fails", "Options.downloads.tryToDownloadAllSegments"}, {"Decode each segment immediately after its download", "Options.downloads.decodeEachSegmentImmediately"}, {"Select download directory", "Options.downloads.filechooser.title"}, // Uploads Panel {"Uploads", "Options.uploads"}, {"Disable uploads", "Options.uploads.disableUploads"}, {"Restart failed uploads", "Options.uploads.restartFailedUploads"}, {"Waittime after each try", "Options.uploads.waittimeAfterEachTry"}, {"Maximum number of retries", "Options.uploads.maximumNumberOfRetries"}, {"Automatic Indexing", "Options.uploads.automaticIndexing"}, {"Share Downloads", "Options.uploads.shareDownloads"}, {"Sign shared files", "Options.uploads.signSharedFiles"}, {"Help spread files from people marked GOOD", "Options.uploads.helpSpreadFilesFromPeopleMarkedGood"}, {"Upload HTL", "Options.uploads.uploadHtl"}, {"up htl explanation", "Options.uploads.uploadHtlExplanation"}, {"Number of simultaneous uploads", "Options.uploads.numberOfSimultaneousUploads"}, {"Number of splitfile threads", "Options.uploads.numberOfSplitfileThreads"}, {"splitfile explanation", "Options.uploads.numberOfSplitfileThreadsExplanation"}, {"Upload batch size", "Options.uploads.uploadBatchSize"}, {"batch explanation", "Options.uploads.uploadBatchSizeExplanation"}, // common for News panels {"News", "Options.news"}, // News (1) Panel {"Message upload HTL", "Options.news.1.messageUploadHtl"}, {"Message download HTL", "Options.news.1.messageDownloadHtl"}, {"Number of days to display", "Options.news.1.numberOfDaysToDisplay"}, {"Number of days to download backwards", "Options.news.1.numberOfDaysToDownloadBackwards"}, {"Message base", "Options.news.1.messageBase"}, {"Signature", "Options.news.1.signature"}, // News (2) Panel {"Block messages with subject containing (separate by ';' )", "Options.news.2.blockMessagesWithSubject"}, {"Block messages with body containing (separate by ';' )", "Options.news.2.blockMessagesWithBody"}, {"Block messages with these attached boards (separate by ';' )", "Options.news.2.blockMessagesWithTheseBoards"}, {"Hide messages with trust states", "Options.news.2.hideMessagesWithTrustStates"}, {"Don't add boards to known boards list from users with trust states", "Options.news.2.dontAddBoardsFromTrustStates"}, {"Bad", "Options.news.2.trustState.bad"}, {"Check", "Options.news.2.trustState.check"}, {"Observe", "Options.news.2.trustState.observe"}, {"None (unsigned)", "Options.news.2.trustState.none"}, {"Do spam detection", "Options.news.2.doSpamDetection"}, {"Sample interval", "Options.news.2.sampleInterval"}, {"Threshold of blocked messages", "Options.news.2.thresholdOfBlockedMessages"}, // News (3) Panel {"Automatic update options", "Options.news.3.automaticUpdateOptions"}, {"Automatic message update", "Options.news.3.automaticBoardUpdate"}, {"Minimum update interval of a board", "Options.news.3.minimumUpdateInterval"}, {"Number of concurrently updating boards", "Options.news.3.numberOfConcurrentlyUpdatingBoards"}, {"Show board update visualization", "Options.news.3.showBoardUpdateVisualization"}, {"Background color if updating board is selected", "Options.news.3.backgroundColorIfUpdatingBoardIsSelected"}, {"Background color if updating board is not selected", "Options.news.3.backgroundColorIfUpdatingBoardIsNotSelected"}, {"Choose", "Options.news.3.choose"}, {"Color", "Options.news.3.color"}, {"Choose updating color of SELECTED boards", "Options.news.3.colorChooserDialog.title.chooseUpdatingColorOfSelectedBoards"}, {"Choose updating color of NON-SELECTED boards", "Options.news.3.colorChooserDialog.title.chooseUpdatingColorOfUnselectedBoards"}, {"Silently retry failed messages", "Options.news.3.silentlyRetryFailedMessages"}, {"Show deleted messages", "Options.news.3.showDeletedMessages"}, {"Receive duplicate messages", "Options.news.3.receiveDuplicateMessages"}, // Expiration panel {"Expiration", "Options.expiration"}, {"Number of days before a message expires", "Options.expiration.numberOfDaysBeforeMessageExpires"}, {"Keep expired messages in keypool", "Options.expiration.keepExpiredMessages"}, {"Archive expired messages", "Options.expiration.archiveExpiredMessages"}, {"Archive folder", "Options.expiration.archiveFolder"}, {"Delete expired messages from keypool", "Options.expiration.deleteExpiredMessages"}, {"Select archive directory", "Options.expiration.fileChooser.title.selectArchiveDirectory"}, // Search Panel {"Search", "Options.search"}, {"Image Extension", "Options.search.imageExtension"}, {"Video Extension", "Options.search.videoExtension"}, {"Archive Extension", "Options.search.archiveExtension"}, {"Document Extension", "Options.search.documentExtension"}, {"Audio Extension", "Options.search.audioExtension"}, {"Executable Extension", "Options.search.executableExtension"}, {"Maximum search results", "Options.search.maximumSearchResults"}, {"Hide files from people marked BAD", "Options.search.hideFilesFromPeopleMarkedBad"}, {"Hide files from anonymous users", "Options.search.hideFilesFromAnonymousUsers"}, //Display Panel {"Display", "Options.display"}, {"EnableSkins", "Options.display.enableSkins"}, {"MoreSkinsAt", "Options.display.youCanGetMoreSkinsAt"}, {"Preview", "Options.display.preview"}, {"RefreshList", "Options.display.refreshList"}, {"NoSkinsFound", "Options.display.noSkinsFound"}, {"AvailableSkins", "Options.display.availableSkins"}, {"Plain", "Options.display.fontChooser.plain"}, {"Italic", "Options.display.fontChooser.italic"}, {"Bold", "Options.display.fontChooser.bold"}, {"Bold Italic", "Options.display.fontChooser.boldItalic"}, {"Sample", "Options.display.fontChooser.sample"}, {"Choose a Font", "Options.display.fontChooser.title"}, {"Sample", "Options.display.fontChooser.sample"}, {"Fonts", "Options.display.fonts"}, {"Message Body", "Options.display.messageBody"}, {"Message List", "Options.display.messageList"}, {"File List", "Options.display.fileList"}, {"Choose", "Options.display.choose"}, {"EnableMessageBodyAA", "Options.display.enableAntialiasingForMessageBody"}, {"EnableMsgTableMultilineSelect", "Options.display.enableMultilineSelectionsInMessageTable"}, {"ShowBoardDescTooltips", "Options.display.showTooltipWithBoardDescriptionInBoardTree"}, // Miscellaneous Panel {"Miscellaneous", "Options.miscellaneous"}, {"Keyfile upload HTL", "Options.miscellaneous.keyfileUploadHtl"}, {"Keyfile download HTL", "Options.miscellaneous.keyfileDownloadHtl"}, {"list of nodes", "Options.miscellaneous.listOfFcpNodes"}, {"list of nodes 2", "Options.miscellaneous.listOfFcpNodesExplanation"}, {"Allow 2 byte characters", "Options.miscellaneous.allow2ByteCharacters"}, {"Use editor for writing messages", "Options.miscellaneous.useEditorForWritingMessages"}, {"Clean the keypool", "Options.miscellaneous.cleanTheKeypool"}, {"Automatic saving interval", "Options.miscellaneous.automaticSavingInterval"}, {"Disable splashscreen", "Options.miscellaneous.disableSplashscreen"}, {"Show systray icon", "Options.miscellaneous.showSysTrayIcon"}, {"Enable logging", "Options.miscellaneous.enableLogging"}, {"Logging level", "Options.miscellaneous.loggingLevel"}, {"Log file size limit (in KB)", "Options.miscellaneous.logFileSizeLimit"}, {"Very high", "Options.miscellaneous.logLevel.veryHigh"}, {"High", "Options.miscellaneous.logLevel.high"}, {"Medium", "Options.miscellaneous.logLevel.medium"}, {"Low", "Options.miscellaneous.logLevel.low"}, {"Very low", "Options.miscellaneous.logLevel.veryLow"}, /////////////////////////////////////////////////// // Board Information Window /////////////////////////////////////////////////// {"BoardInfoFrame.UpdateSelectedBoardButton", "BoardInfoFrame.button.updateSelectedBoard"}, {"BoardInfoFrame.Update", "BoardInfoFrame.button.update"}, {"BoardInfoFrame.Update all boards", "BoardInfoFrame.button.updateAllBoards"}, {"BoardInfoFrame.Close", "BoardInfoFrame.button.close"}, {"BoardInfoFrame.Board information window", "BoardInfoFrame.title"}, {"BoardInfoFrame.Boards", "BoardInfoFrame.label.boards"}, {"BoardInfoFrame.Messages", "BoardInfoFrame.label.messages"}, {"BoardInfoFrame.Files", "BoardInfoFrame.label.files"}, // Board information window table {"Messages", "BoardInfoFrame.table.messages"}, {"Files", "BoardInfoFrame.table.files"}, {"Board", "BoardInfoFrame.table.board"}, {"State", "BoardInfoFrame.table.state"}, {"Messages Today", "BoardInfoFrame.table.messagesToday"}, /////////////////////////////////////////////////// // List of known boards window /////////////////////////////////////////////////// {"KnownBoardsFrame.List of known boards", "KnownBoardsFrame.title"}, {"KnownBoardsFrame.Lookup", "KnownBoardsFrame.label.lookup"}, {"KnownBoardsFrame.Filter", "KnownBoardsFrame.label.filter"}, {"KnownBoardsFrame.Close", "KnownBoardsFrame.button.close"}, {"Add Board(s)", "KnownBoardsFrame.button.addBoards"}, {"Add Board(s) to folder", "KnownBoardsFrame.button.addBoardsToFolder"}, {"Remove board", "KnownBoardsFrame.button.removeBoard"}, {"KnownBoardsTableModel.Boardname", "KnownBoardsFrame.table.boardName"}, {"Private key", "KnownBoardsFrame.table.privateKey"}, {"Public key", "KnownBoardsFrame.table.publicKey"}, {"Description", "KnownBoardsFrame.table.description"}, /////////////////////////////////////////////////// // Core start messages /////////////////////////////////////////////////// {"Core.init.NodeNotRunningBody", "Core.init.NodeNotRunningBody"}, {"Core.init.NodeNotRunningTitle", "Core.init.NodeNotRunningTitle"}, {"Core.loadIdentities.ConnectionNotEstablishedBody", "Core.loadIdentities.ConnectionNotEstablishedBody"}, {"Core.loadIdentities.ConnectionNotEstablishedTitle", "Core.loadIdentities.ConnectionNotEstablishedTitle"}, {"Core.init.TestnetWarningTitle", "Core.init.TestnetWarningTitle"}, {"Core.init.TestnetWarningBody", "Core.init.TestnetWarningBody"}, {"Core.init.UnsupportedFreenetVersionTitle", "Core.init.UnsupportedFreenetVersionTitle"}, {"Core.init.UnsupportedFreenetVersionBody", "Core.init.UnsupportedFreenetVersionBody"}, {"Core.loadIdentities.ChooseName", "Core.loadIdentities.ChooseName"}, {"Core.loadIdentities.InvalidNameBody", "Core.loadIdentities.InvalidNameBody"}, {"Core.loadIdentities.InvalidNameTitle", "Core.loadIdentities.InvalidNameTitle"}, /////////////////////////////////////////////////// // Board Settings Dialog /////////////////////////////////////////////////// {"Settings for board", "BoardSettings.title.boardSettings"}, {"Settings for all boards in folder", "BoardSettings.title.folderSettings"}, {"Public board", "BoardSettings.label.publicBoard"}, {"Secure board", "BoardSettings.label.secureBoard"}, {"Private key", "BoardSettings.label.privateKey"}, {"Public key", "BoardSettings.label.publicKey"}, {"Generate new keypair", "BoardSettings.button.generateNewKeypair"}, {"Not available", "BoardSettings.text.keyNotAvailable"}, {"Override default settings", "BoardSettings.label.overrideDefaultSettings"}, {"Use default", "BoardSettings.label.useDefault"}, {"Set to", "BoardSettings.label.setTo"}, {"Yes", "BoardSettings.label.yes"}, {"No", "BoardSettings.label.no"}, {"Enable automatic board update", "BoardSettings.label.enableAutomaticBoardUpdate"}, {"Maximum message display (days)", "BoardSettings.label.maximumMessageDisplay"}, {"Hide unsigned messages", "BoardSettings.label.hideUnsignedMessages"}, {"Hide messages flagged BAD", "BoardSettings.label.hideBadMessages"}, {"Hide messages flagged CHECK", "BoardSettings.label.hideCheckMessages"}, {"Hide messages flagged OBSERVE", "BoardSettings.label.hideObserveMessages"}, {"Warning", "BoardSettings.generateKeyPairErrorDialog.title"}, {"BoardSettingsFrame.description", "BoardSettings.label.description"}, {"BoardSettingsFrame.confirmTitle", "BoardSettings.looseKeysWarningDialog.title"}, {"BoardSettingsFrame.confirmBody", "BoardSettings.looseKeysWarningDialog.body"}, // Uploads underway warning when exiting {"UploadsUnderway.title", "MainFrame.runningUploadsWarning.title"}, {"UploadsUnderway.body", "MainFrame.runningUploadsWarning.body"}, /////////////////////////////////////////////////// /// TofTree /////////////////////////////////////////////////// {"New Folder Name", "BoardTree.newFolderDialog.title"}, {"Please enter a name for the new folder", "BoardTree.newFolderDialog.body"}, {"newfolder", "BoardTree.newFolderDialog.defaultName"}, {"Duplicate board name", "BoardTree.duplicateNewBoardNameError.title"}, {"You already have a board with name ''{0}''!\nPlease choose a new name.", "BoardTree.duplicateNewBoardNameError.body"}, {"Overwrite existing board", "BoardTree.overWriteBoardConfirmation.title"}, {"You already have a board with name ''{0}''!\nDo you really want to overwrite it?\n(This will not delete messages)", "BoardTree.overWriteBoardConfirmation.body"}, {"Remove folder ''{0}''", "BoardTree.removeFolderConfirmation.title"}, {"Do you really want to delete folder ''{0}'' ?\nNOTE: Removing it will also remove all boards/folders inside this folder!!!", "BoardTree.removeFolderConfirmation.body"}, {"Remove board ''{0}''", "BoardTree.removeBoardConfirmation.title"}, {"Do you really want to delete board ''{0}'' ?", "BoardTree.removeBoardConfirmation.body"}, /////////////////////////////////////////////////// /// SearchTableFormat /////////////////////////////////////////////////// {"Filename", "SearchPane.resultTable.filename"}, {"Size", "SearchPane.resultTable.size"}, {"Age", "SearchPane.resultTable.age"}, {"From", "SearchPane.resultTable.from"}, {"Board", "SearchPane.resultTable.board"}, // states {"FrostSearchItemObject.Offline", "SearchPane.resultTable.states.offline"}, {"FrostSearchItemObject.Anonymous", "SearchPane.resultTable.states.anonymous"}, {"SearchTableFormat.Uploading", "SearchPane.resultTable.states.uploading"}, {"SearchTableFormat.Downloading", "SearchPane.resultTable.states.downloading"}, {"SearchTableFormat.Downloaded", "SearchPane.resultTable.states.downloaded"}, /////////////////////////////////////////////////// /// DownloadTableFormat /////////////////////////////////////////////////// {"DownloadTableFormat.Enabled", "DownloadPane.fileTable.enabled"}, {"Filename", "DownloadPane.fileTable.filename"}, {"Size", "DownloadPane.fileTable.size"}, {"Age", "DownloadPane.fileTable.age"}, {"State", "DownloadPane.fileTable.state"}, {"Blocks", "DownloadPane.fileTable.blocks"}, {"Tries", "DownloadPane.fileTable.tries"}, {"Source", "DownloadPane.fileTable.source"}, {"From", "DownloadPane.fileTable.from"}, {"Key", "DownloadPane.fileTable.key"}, {"Waiting", "DownloadPane.fileTable.states.waiting"}, {"Trying", "DownloadPane.fileTable.states.trying"}, {"Failed", "DownloadPane.fileTable.states.failed"}, {"Done", "DownloadPane.fileTable.states.done"}, {"Requesting", "DownloadPane.fileTable.states.requesting"}, {"Requested", "DownloadPane.fileTable.states.requested"}, {"Decoding segment", "DownloadPane.fileTable.states.decodingSegment"}, {"FrostSearchItemObject.Offline", "DownloadPane.fileTable.states.offline"}, {"FrostSearchItemObject.Anonymous", "DownloadPane.fileTable.states.anonymous"}, {"Unknown", "DownloadPane.fileTable.states.unknown"}, {"Invalid key", "DownloadPane.invalidKeyDialog.title"}, {"Invalid key. Key must begin with one of", "DownloadPane.invalidKeyDialog.body"}, /////////////////////////////////////////////////// /// UploadTableFormat /////////////////////////////////////////////////// {"DownloadTableFormat.Enabled", "UploadPane.fileTable.enabled"}, {"Filename", "UploadPane.fileTable.filename"}, {"Size", "UploadPane.fileTable.size"}, {"Last upload", "UploadPane.fileTable.lastUpload"}, {"Path", "UploadPane.fileTable.path"}, {"Tries", "UploadPane.fileTable.tries"}, {"Destination", "UploadPane.fileTable.destination"}, {"Key", "UploadPane.fileTable.key"}, {"Never", "UploadTableFormat.state.never"}, {"Requested", "UploadTableFormat.state.requested"}, {"Uploading", "UploadTableFormat.state.uploading"}, {"Encode requested", "UploadTableFormat.state.encodeRequested"}, {"Encoding file", "UploadTableFormat.state.encodingFile"}, {"Waiting", "UploadTableFormat.state.waiting"}, {"Unknown", "UploadTableFormat.state.unknown"}, /////////////////////////////////////////////////// /// NewBoardDialog /////////////////////////////////////////////////// {"NewBoardDialog.title", "NewBoardDialog.title"}, {"NewBoardDialog.details", "NewBoardDialog.details"}, {"NewBoardDialog.name", "NewBoardDialog.name"}, {"NewBoardDialog.description", "NewBoardDialog.description"}, {"NewBoardDialog.add", "NewBoardDialog.add"}, /////////////////////////////////////////////////// // Frost startup error messages /////////////////////////////////////////////////// {"Frost.lockFileFound", "Frost.lockFileFound"}, /////////////////////////////////////////////////// // Message upload failed dialog /////////////////////////////////////////////////// {"Upload of message failed", "MessageUploadFailedDialog.title"}, {"Frost was not able to upload your message.", "MessageUploadFailedDialog.body"}, {"Retry", "MessageUploadFailedDialog.option.retry"}, {"Retry on next startup", "MessageUploadFailedDialog.option.retryOnNextStartup"}, {"Discard message", "MessageUploadFailedDialog.option.discardMessage"}, /////////////////////////////////////////////////// // Saver popup /////////////////////////////////////////////////// {"Saver.AutoTask.title", "Saver.AutoTask.title"}, {"Saver.AutoTask.message", "Saver.AutoTask.message"}, /////////////////////////////////////////////////// /// AltEdit support /////////////////////////////////////////////////// {"Error", "AltEdit.errorDialogs.title"}, {"The message file returned by the alternate editor is invalid.", "AltEdit.errorDialog.invalidReturnedMessageFile"}, {"Could not start alternate editor using command", "AltEdit.errorDialog.couldNotStartEditorUsingCommand"}, {"Could not create message file for alternate editor", "AltEdit.errorDialog.couldNotCreateMessageFile"}, {"Configured alternate editor line must contain a '%f' as placeholder for the filename.", "AltEdit.errorDialog.missingPlaceholder"}, {"No alternate editor configured.", "AltEdit.errorDialog.noAlternateEditorConfigured"}, {">>> This is a Frost alternate editor message file. <<<", "AltEdit.textFileMessage.1"}, {">>> You can edit the subject and add text at the end of the file. <<<", "AltEdit.textFileMessage.2"}, {">>> Don't change or delete the marker lines! <<<", "AltEdit.textFileMessage.3"}, {"*--- Subject line (changeable) ---*", "AltEdit.markerLine.subject"}, // marker line {"*--- Enter your text after this line ---*", "AltEdit.markerLine.text"}, // marker line /////////////////////////////////////////////////// /// Search messages dialog /////////////////////////////////////////////////// {"Search messages", "SearchMessages.title"}, {"Search", "SearchMessages.search"}, {"Sender", "SearchMessages.search.sender"}, {"Subject", "SearchMessages.search.subject"}, {"Content", "SearchMessages.search.content"}, {"Search private messages only", "SearchMessages.search.searchPrivateMessagesOnly"}, {"Boards", "SearchMessages.boards"}, {"Search in displayed boards", "SearchMessages.boards.searchInDisplayedBoards"}, {"Search following boards", "SearchMessages.boards.searchFollowingBoards"}, {"Choose boards", "SearchMessages.boards.chooseBoards"}, {"Date", "SearchMessages.date"}, {"Search in messages that would be displayed", "SearchMessages.date.searchInMessagesThatWouldBeDisplayed"}, {"Search all dates", "SearchMessages.date.searchAllDates"}, {"Search between dates", "SearchMessages.date.searchBetweenDates"}, {"to", "SearchMessages.date.to"}, // startDate 'to' endDate {"Search number of days backward", "SearchMessages.date.searchNumberOfDaysBackward"}, {"Trust state", "SearchMessages.trustState"}, {"Search in messages that would be displayed", "SearchMessages.trustState.searchInMessagesThatWouldBeDisplayed"}, {"Search all messages, no matter which trust state is set", "SearchMessages.trustState.searchAllMessages"}, {"Search only in messages with following trust state", "SearchMessages.trustState.searchOnlyInMessagesWithFollowingTrustState"}, {"Good", "SearchMessages.trustState.good"}, {"Observe", "SearchMessages.trustState.observe"}, {"Check", "SearchMessages.trustState.check"}, {"Bad", "SearchMessages.trustState.bad"}, {"None (unsigned)", "SearchMessages.trustState.none"}, {"Tampered", "SearchMessages.trustState.tampered"}, {"Archive", "SearchMessages.archive"}, {"Search in keypool and archive", "SearchMessages.archive.searchInKeypoolAndArchive"}, {"Search only in keypool", "SearchMessages.archive.searchOnlyInKeypool"}, {"Search only in archive", "SearchMessages.archive.searchOnlyInArchive"}, {"Attachments", "SearchMessages.attachments"}, {"Message must contain board attachments", "SearchMessages.attachments.messageMustContainBoardAttachments"}, {"Message must contain file attachments", "SearchMessages.attachments.messageMustContainFileAttachments"}, {"Search result", "SearchMessages.label.searchResult"}, {"Results", "SearchMessages.label.results"}, {"Help", "SearchMessages.button.help"}, {"Search", "SearchMessages.button.search"}, {"Stop search", "SearchMessages.button.stopSearch"}, {"Close", "SearchMessages.button.close"}, {"Open message", "SearchMessages.button.openMessage"}, // error messages {"Error", "SearchMessages.errorDialogs.title"}, {"Please stop the search before closing the window.", "SearchMessages.errorDialog.stopSearchBeforeClose"}, {"No trust state is selected.", "SearchMessages.errorDialogs.noTrustStateSelected"}, {"Invalid start date or end date specified.", "SearchMessages.errorDialogs.invalidStartOrEndDate"}, {"Start date is after end date.", "SearchMessages.errorDialogs.startDateIsAfterEndDate"}, {"No boards to search into were chosed.", "SearchMessages.errorDialogs.noBoardsChosed"}, {"There are no boards that could be choosed.", "SearchMessages.errorDialogs.noBoardsToChoose"}, // search messages table model {"Index", "SearchMessages.resultTable.index"}, {"From", "SearchMessages.resultTable.from"}, {"Board", "SearchMessages.resultTable.board"}, {"Subject", "SearchMessages.resultTable.subject"}, {"Sig", "SearchMessages.resultTable.sig"}, {"Date", "SearchMessages.resultTable.date"}, }; } Index: LangRes_de.java =================================================================== RCS file: /cvsroot/jtcfrost/frost-wot/source/res/LangRes_de.java,v retrieving revision 1.32 retrieving revision 1.33 diff -C2 -d -r1.32 -r1.33 *** LangRes_de.java 21 Apr 2006 07:50:26 -0000 1.32 --- LangRes_de.java 25 Apr 2006 11:22:52 -0000 1.33 *************** *** 114,118 **** {"Core.loadIdentities.InvalidNameBody","Der Name darf keine '@'-Zeichen enthalten!"}, {"Core.loadIdentities.InvalidNameTitle","Ãngültige Name der Identität"}, ! {"Could not start alternate editor using command: ","Kann externen Editor nicht starten: "}, {"Create message","Erstelle Nachricht"}, {"Cut","Ausschneiden (nicht mehr abonnieren)"}, // Board -> Kontext --- 114,118 ---- {"Core.loadIdentities.InvalidNameBody","Der Name darf keine '@'-Zeichen enthalten!"}, {"Core.loadIdentities.InvalidNameTitle","Ãngültige Name der Identität"}, ! {"Could not start alternate editor using command","Kann externen Editor nicht starten: "}, {"Create message","Erstelle Nachricht"}, {"Cut","Ausschneiden (nicht mehr abonnieren)"}, // Board -> Kontext |
From: <jtcfrost-cvs-admin@li...> - 2006-04-25 11:23:03
|
Update of /cvsroot/jtcfrost/frost-wot/source/frost/gui In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19033/source/frost/gui Modified Files: BoardsChooser.java MessageWindow.java NewBoardDialog.java SearchMessagesDialog.java MessageUploadFailedDialog.java KnownBoardsFrame.java FirstStartupDialog.java AboutBox.java MessageFrame.java Added Files: TargetFolderChooser.java Log Message: phu, completed stage 1 of converting the translateable strings into a properties resourcebundle. The whole gui uses new identifiers now, but the new identifiers are currently mapped to the old LangRes classes. Stage 2 will be to convert the langres classes into properties file to keep the already translated strings... Index: NewBoardDialog.java =================================================================== RCS file: /cvsroot/jtcfrost/frost-wot/source/frost/gui/NewBoardDialog.java,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** NewBoardDialog.java 5 Apr 2006 10:38:49 -0000 1.9 --- NewBoardDialog.java 25 Apr 2006 11:22:51 -0000 1.10 *************** *** 157,161 **** descriptionLabel.setText(language.getString("NewBoardDialog.description")); addButton.setText(language.getString("NewBoardDialog.add")); ! cancelButton.setText(language.getString("Cancel")); } --- 157,161 ---- descriptionLabel.setText(language.getString("NewBoardDialog.description")); addButton.setText(language.getString("NewBoardDialog.add")); ! cancelButton.setText(language.getString("Common.cancel")); } Index: FirstStartupDialog.java =================================================================== RCS file: /cvsroot/jtcfrost/frost-wot/source/frost/gui/FirstStartupDialog.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** FirstStartupDialog.java 16 Apr 2006 19:13:21 -0000 1.4 --- FirstStartupDialog.java 25 Apr 2006 11:22:51 -0000 1.5 *************** *** 83,87 **** private void initialize() { this.setSize(424, 262); ! this.setTitle(language.getString("Frost first startup")); this.setContentPane(getJContentPane()); --- 83,87 ---- private void initialize() { this.setSize(424, 262); ! this.setTitle(language.getString("FirstStartupDialog.title")); this.setContentPane(getJContentPane()); *************** *** 133,137 **** gridBagConstraints3.gridy = 4; jLabel1 = new JLabel(); ! jLabel1.setText(language.getString("You can create a new identity or import an existing identities.xml file")+":"); GridBagConstraints gridBagConstraints2 = new GridBagConstraints(); gridBagConstraints2.gridx = 0; --- 133,137 ---- gridBagConstraints3.gridy = 4; jLabel1 = new JLabel(); ! jLabel1.setText(language.getString("FirstStartupDialog.identity.label")+":"); GridBagConstraints gridBagConstraints2 = new GridBagConstraints(); gridBagConstraints2.gridx = 0; *************** *** 153,157 **** gridBagConstraints.gridy = 0; jLabel = new JLabel(); ! jLabel.setText(language.getString("Please choose the version of Freenet you want to use")+":"); jContentPane = new JPanel(); jContentPane.setLayout(new GridBagLayout()); --- 153,157 ---- gridBagConstraints.gridy = 0; jLabel = new JLabel(); ! jLabel.setText(language.getString("FirstStartupDialog.freenetVersion.label")+":"); jContentPane = new JPanel(); jContentPane.setLayout(new GridBagLayout()); *************** *** 213,217 **** if( RBnewIdentity == null ) { RBnewIdentity = new JRadioButton(); ! RBnewIdentity.setText(language.getString("Create new identity")); RBnewIdentity.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent e) { --- 213,217 ---- if( RBnewIdentity == null ) { RBnewIdentity = new JRadioButton(); ! RBnewIdentity.setText(language.getString("FirstStartupDialog.identity.createNew")); RBnewIdentity.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent e) { *************** *** 231,235 **** if( RBimportIdentitiesFile == null ) { RBimportIdentitiesFile = new JRadioButton(); ! RBimportIdentitiesFile.setText(language.getString("Import existing identities.xml file")); RBimportIdentitiesFile.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent e) { --- 231,235 ---- if( RBimportIdentitiesFile == null ) { RBimportIdentitiesFile = new JRadioButton(); ! RBimportIdentitiesFile.setText(language.getString("FirstStartupDialog.identity.import")); RBimportIdentitiesFile.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent e) { *************** *** 295,299 **** if( Bexit == null ) { Bexit = new JButton(); ! Bexit.setText(language.getString("Exit")); Bexit.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent e) { --- 295,299 ---- if( Bexit == null ) { Bexit = new JButton(); ! Bexit.setText(language.getString("Common.exit")); Bexit.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent e) { *************** *** 315,319 **** if( Bok == null ) { Bok = new JButton(); ! Bok.setText(language.getString("OK")); Bok.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent e) { --- 315,319 ---- if( Bok == null ) { Bok = new JButton(); ! Bok.setText(language.getString("Common.ok")); Bok.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent e) { Index: MessageWindow.java =================================================================== RCS file: /cvsroot/jtcfrost/frost-wot/source/frost/gui/MessageWindow.java,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** MessageWindow.java 5 Apr 2006 10:38:49 -0000 1.12 --- MessageWindow.java 25 Apr 2006 11:22:51 -0000 1.13 *************** *** 255,262 **** public void languageChanged(LanguageEvent event) { ! Lsubject.setText(language.getString("Subject")+":"); ! Lfrom.setText(language.getString("From")+":"); ! Ldate.setText(language.getString("Date")+":"); ! Lboard.setText(language.getString("Board")+":"); } --- 255,262 ---- public void languageChanged(LanguageEvent event) { ! Lsubject.setText(language.getString("MessageWindow.subject")+":"); ! Lfrom.setText(language.getString("MessageWindow.from")+":"); ! Ldate.setText(language.getString("MessageWindow.date")+":"); ! Lboard.setText(language.getString("MessageWindow.board")+":"); } --- NEW FILE: TargetFolderChooser.java --- /* TargetFolderChooser.java / Frost Copyright (C) 2001 Frost Project <jtcfrost.sourceforge.net> Some changes by Stefan Majewski <e9926279@...> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ package frost.gui; import java.awt.*; import javax.swing.*; import javax.swing.tree.*; import javax.swing.JScrollPane; import frost.boards.*; import frost.gui.objects.*; import frost.util.gui.translation.*; /** * This class let the user choose a folder from the folders in tofTree. */ public class TargetFolderChooser extends JDialog { private JPanel jContentPane = null; private JPanel buttonsPanel = null; private JTree folderTree = null; private JButton okButton = null; private JButton cancelButton = null; private DefaultTreeModel treeModel; private Board choosedFolder = null; private JScrollPane jScrollPane = null; private Language language; /** * This is the default constructor */ public TargetFolderChooser(TofTreeModel origModel) { super(); MyTreeNode rootNode = buildTree(origModel); treeModel = new DefaultTreeModel(rootNode); language = Language.getInstance(); initialize(); } /** * Build a new tree which contains all folders of the TofTree. */ private MyTreeNode buildTree(TofTreeModel origModel) { MyTreeNode rootNode = new MyTreeNode((Board)origModel.getRoot()); addNodesRecursiv(rootNode, (DefaultMutableTreeNode)origModel.getRoot()); return rootNode; } private void addNodesRecursiv(MyTreeNode addNode, DefaultMutableTreeNode origNode) { for(int x=0; x<origNode.getChildCount(); x++) { Board b = (Board)origNode.getChildAt(x); if( b.isFolder() ) { MyTreeNode newNode = new MyTreeNode(b); addNode.add(newNode); addNodesRecursiv(newNode, b); } } } /** * This method initializes this * * @return void */ private void initialize() { int dlgSizeX = 350; int dlgSizeY = 400; Dimension screen = Toolkit.getDefaultToolkit().getScreenSize(); int x = (screen.width-dlgSizeX)/2; int y = (screen.height-dlgSizeY)/2; setBounds(x,y,dlgSizeX,dlgSizeY); this.setDefaultCloseOperation(javax.swing.WindowConstants.DO_NOTHING_ON_CLOSE); this.setModal(true); this.setTitle(language.getString("Choose a target folder")); this.setContentPane(getJContentPane()); this.addWindowListener(new java.awt.event.WindowAdapter() { public void windowClosing(java.awt.event.WindowEvent e) { cancelButtonPressed(); } }); } /** * This method initializes jContentPane * * @return javax.swing.JPanel */ private JPanel getJContentPane() { if( jContentPane == null ) { jContentPane = new JPanel(); jContentPane.setLayout(new BorderLayout()); jContentPane.add(getJScrollPane(), java.awt.BorderLayout.CENTER); jContentPane.add(getButtonsPanel(), java.awt.BorderLayout.SOUTH); } return jContentPane; } /** * This method initializes buttonsPanel * * @return javax.swing.JPanel */ private JPanel getButtonsPanel() { if( buttonsPanel == null ) { FlowLayout flowLayout = new FlowLayout(); flowLayout.setAlignment(java.awt.FlowLayout.RIGHT); buttonsPanel = new JPanel(); buttonsPanel.setLayout(flowLayout); buttonsPanel.add(getOkButton(), null); buttonsPanel.add(getCancelButton(), null); } return buttonsPanel; } /** * This method initializes folderTree * * @return javax.swing.JTree */ private JTree getFolderTree() { if( folderTree == null ) { folderTree = new JTree(treeModel); folderTree.setCellRenderer(new CellRenderer()); folderTree.setSelectionRow(0); } return folderTree; } /** * This method initializes okButton * * @return javax.swing.JButton */ private JButton getOkButton() { if( okButton == null ) { okButton = new JButton(); okButton.setText(language.getString("Common.ok")); okButton.setSelected(false); okButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent e) { okButtonPressed(); } }); } return okButton; } /** * This method initializes cancelButton * * @return javax.swing.JButton */ private JButton getCancelButton() { if( cancelButton == null ) { cancelButton = new JButton(); cancelButton.setText(language.getString("Common.cancel")); cancelButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent e) { cancelButtonPressed(); } }); } return cancelButton; } private void okButtonPressed() { choosedFolder = ((MyTreeNode)getFolderTree().getSelectionPath().getLastPathComponent()).getFolder(); setVisible(false); } private void cancelButtonPressed() { choosedFolder = null; setVisible(false); } public Board startDialog() { setVisible(true); return choosedFolder; } /** * This method initializes jScrollPane * * @return javax.swing.JScrollPane */ private JScrollPane getJScrollPane() { if( jScrollPane == null ) { jScrollPane = new JScrollPane(); jScrollPane.setBackground(java.awt.Color.white); jScrollPane.setBorder(javax.swing.BorderFactory.createCompoundBorder( javax.swing.BorderFactory.createEmptyBorder(2,2,2,2), javax.swing.BorderFactory.createEtchedBorder(javax.swing.border.EtchedBorder.LOWERED))); jScrollPane.setViewportView(getFolderTree()); } return jScrollPane; } /** * Simple renderer to set a nice icon for each folder. */ private class CellRenderer extends DefaultTreeCellRenderer { ImageIcon boardIcon; public CellRenderer() { boardIcon = new ImageIcon(getClass().getResource("/data/open.gif")); } public Component getTreeCellRendererComponent( JTree tree, Object value, boolean sel, boolean expanded, boolean leaf, int row, boolean hasFocus) { super.getTreeCellRendererComponent(tree, value, sel, expanded, leaf, row, hasFocus); setIcon(boardIcon); return this; } } /** * A simple treenode implementation that holds a Board and returns its name as toString() */ private class MyTreeNode extends DefaultMutableTreeNode { Board folder; public MyTreeNode(Object usrObj) { super(usrObj); folder = (Board)usrObj; } public String toString() { return folder.getName(); } public Board getFolder() { return folder; } } } // @jve:decl-index=0:visual-constraint="10,10" Index: BoardsChooser.java =================================================================== RCS file: /cvsroot/jtcfrost/frost-wot/source/frost/gui/BoardsChooser.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** BoardsChooser.java 5 Apr 2006 10:38:49 -0000 1.7 --- BoardsChooser.java 25 Apr 2006 11:22:51 -0000 1.8 *************** *** 49,53 **** super(parent); setModal(true); ! setTitle(language.getString("Choose boards")); // fill given board into our list as BoardListEntries --- 49,53 ---- super(parent); setModal(true); ! setTitle(language.getString("BoardsChooser.title")); // fill given board into our list as BoardListEntries *************** *** 81,85 **** private void initGui() { ! Bok = new JButton(language.getString("OK")); Bok.addActionListener( new ActionListener() { public void actionPerformed(ActionEvent e) { --- 81,85 ---- private void initGui() { ! Bok = new JButton(language.getString("Common.ok")); Bok.addActionListener( new ActionListener() { public void actionPerformed(ActionEvent e) { *************** *** 87,91 **** setVisible(false); } }); ! Bcancel = new JButton(language.getString("Cancel")); Bcancel.addActionListener( new ActionListener() { public void actionPerformed(ActionEvent e) { --- 87,91 ---- setVisible(false); } }); ! Bcancel = new JButton(language.getString("Common.cancel")); Bcancel.addActionListener( new ActionListener() { public void actionPerformed(ActionEvent e) { Index: KnownBoardsFrame.java =================================================================== RCS file: /cvsroot/jtcfrost/frost-wot/source/frost/gui/KnownBoardsFrame.java,v retrieving revision 1.37 retrieving revision 1.38 diff -C2 -d -r1.37 -r1.38 *** KnownBoardsFrame.java 5 Apr 2006 10:38:49 -0000 1.37 --- KnownBoardsFrame.java 25 Apr 2006 11:22:51 -0000 1.38 *************** *** 32,36 **** import frost.gui.model.*; import frost.gui.objects.*; - import frost.gui.objects.Board; import frost.messages.BoardAttachment; import frost.util.gui.*; --- 32,35 ---- *************** *** 89,93 **** */ private void initialize() { ! setTitle(language.getString("KnownBoardsFrame.List of known boards")); this.setResizable(true); --- 88,92 ---- */ private void initialize() { ! setTitle(language.getString("KnownBoardsFrame.title")); this.setResizable(true); *************** *** 109,115 **** boardsTable.setSelectionMode( ListSelectionModel.MULTIPLE_INTERVAL_SELECTION ); ! Bclose = new JButton(language.getString("KnownBoardsFrame.Close")); ! BaddBoard = new JButton(language.getString("Add Board(s)")); ! BaddBoardToFolder = new JButton(language.getString("Add Board(s) to folder")+" ..."); TFlookupBoard = new JTextField(10); --- 108,114 ---- boardsTable.setSelectionMode( ListSelectionModel.MULTIPLE_INTERVAL_SELECTION ); ! Bclose = new JButton(language.getString("KnownBoardsFrame.button.close")); ! BaddBoard = new JButton(language.getString("KnownBoardsFrame.button.addBoards")); ! BaddBoardToFolder = new JButton(language.getString("KnownBoardsFrame.button.addBoardsToFolder")+" ..."); TFlookupBoard = new JTextField(10); *************** *** 169,177 **** JPanel buttons = new JPanel(new BorderLayout()); buttons.setLayout( new BoxLayout( buttons, BoxLayout.X_AXIS )); ! buttons.add( new JLabel(language.getString("KnownBoardsFrame.Lookup") + ":")); buttons.add(Box.createRigidArea(new Dimension(5,3))); buttons.add( TFlookupBoard ); buttons.add(Box.createRigidArea(new Dimension(5,3))); ! buttons.add( new JLabel(language.getString("KnownBoardsFrame.Filter") + ":")); buttons.add(Box.createRigidArea(new Dimension(5,3))); buttons.add( TFfilterBoard ); --- 168,176 ---- JPanel buttons = new JPanel(new BorderLayout()); buttons.setLayout( new BoxLayout( buttons, BoxLayout.X_AXIS )); ! buttons.add( new JLabel(language.getString("KnownBoardsFrame.label.lookup") + ":")); buttons.add(Box.createRigidArea(new Dimension(5,3))); buttons.add( TFlookupBoard ); buttons.add(Box.createRigidArea(new Dimension(5,3))); ! buttons.add( new JLabel(language.getString("KnownBoardsFrame.label.filter") + ":")); buttons.add(Box.createRigidArea(new Dimension(5,3))); buttons.add( TFfilterBoard ); *************** *** 204,210 **** private void initPopupMenu() { tablePopupMenu = new JSkinnablePopupMenu(); ! JMenuItem addBoardsMenu = new JMenuItem(language.getString("Add Board(s)")); ! JMenuItem addBoardsToFolderMenu = new JMenuItem(language.getString("Add Board(s) to folder")+" ..."); ! JMenuItem removeBoardEntry = new JMenuItem(language.getString("Remove board")); addBoardsMenu.addActionListener( new java.awt.event.ActionListener() { --- 203,209 ---- private void initPopupMenu() { tablePopupMenu = new JSkinnablePopupMenu(); ! JMenuItem addBoardsMenu = new JMenuItem(language.getString("KnownBoardsFrame.button.addBoards")); ! JMenuItem addBoardsToFolderMenu = new JMenuItem(language.getString("KnownBoardsFrame.button.addBoardsToFolder")+" ..."); ! JMenuItem removeBoardEntry = new JMenuItem(language.getString("KnownBoardsFrame.button.removeBoard")); addBoardsMenu.addActionListener( new java.awt.event.ActionListener() { *************** *** 343,349 **** } - /** - * @param e - */ private void boardsTableListModel_valueChanged(ListSelectionEvent e) { if( boardsTable.getSelectedRowCount() > 0 ) { --- 342,345 ---- Index: AboutBox.java =================================================================== RCS file: /cvsroot/jtcfrost/frost-wot/source/frost/gui/AboutBox.java,v retrieving revision 1.69 retrieving revision 1.70 diff -C2 -d -r1.69 -r1.70 *** AboutBox.java 26 Mar 2006 15:00:25 -0000 1.69 --- AboutBox.java 25 Apr 2006 11:22:51 -0000 1.70 *************** *** 50,55 **** private JLabel websiteLabel = new JLabel(); ! private static final ImageIcon frostImage = ! new ImageIcon(AboutBox.class.getResource("/data/jtc.jpg")); /** --- 50,54 ---- private JLabel websiteLabel = new JLabel(); ! private static final ImageIcon frostImage = new ImageIcon(AboutBox.class.getResource("/data/jtc.jpg")); /** *************** *** 66,70 **** private void initialize() { imageLabel.setIcon(frostImage); ! setTitle(language.getString("About")); setResizable(false); --- 65,69 ---- private void initialize() { imageLabel.setIcon(frostImage); ! setTitle(language.getString("AboutBox.title")); setResizable(false); *************** *** 80,84 **** versionLabel.setText(getVersion()); copyrightLabel.setText(copyright); ! licenseLabel.setText(language.getString("Open Source Project (GPL license)")); websiteLabel.setText(comments2); messagesPanel.add(productLabel); --- 79,83 ---- versionLabel.setText(getVersion()); copyrightLabel.setText(copyright); ! licenseLabel.setText(language.getString("AboutBox.label.openSourceProject")); websiteLabel.setText(comments2); messagesPanel.add(productLabel); *************** *** 96,105 **** } - /** - * - */ private void fillDetailsArea() { StringBuffer details = new StringBuffer(); ! details.append(language.getString("Development:") + "\n"); details.append(" Karsten Graul\n"); details.append(" S. Amoako\n"); --- 95,101 ---- } private void fillDetailsArea() { StringBuffer details = new StringBuffer(); ! details.append(language.getString("AboutBox.text.development") + "\n"); details.append(" Karsten Graul\n"); details.append(" S. Amoako\n"); *************** *** 110,123 **** details.append(" Stefan Majewski (left)\n"); details.append(" José Manuel Arnesto (left)\n\n"); ! details.append(language.getString("Windows Installer:") + "\n"); details.append(" Benoit Laniel\n\n"); ! details.append(language.getString("System Tray Executables:") + "\n"); details.append(" Ingo Franzki\n\n"); ! details.append(language.getString("Translation Support:") + "\n"); details.append(" Rudolf Krist\n"); details.append(" RapHHfr\n\n"); ! details.append(language.getString("Splash Screen Logo:") + "\n"); details.append(" Frédéric Scheer\n\n"); ! details.append(language.getString("Misc code contributions:") + "\n"); details.append(" SuperSlut Yoda"); setDetailsText(details.toString()); --- 106,119 ---- details.append(" Stefan Majewski (left)\n"); details.append(" José Manuel Arnesto (left)\n\n"); ! details.append(language.getString("AboutBox.text.windowsInstaller") + "\n"); details.append(" Benoit Laniel\n\n"); ! details.append(language.getString("AboutBox.text.systemTrayExecutables") + "\n"); details.append(" Ingo Franzki\n\n"); ! details.append(language.getString("AboutBox.text.translationSupport") + "\n"); details.append(" Rudolf Krist\n"); details.append(" RapHHfr\n\n"); ! details.append(language.getString("AboutBox.text.splashScreenLogo") + "\n"); details.append(" Frédéric Scheer\n\n"); ! details.append(language.getString("AboutBox.text.miscCodeContributions") + "\n"); details.append(" SuperSlut Yoda"); setDetailsText(details.toString()); *************** *** 130,134 **** if (version == null) { version = ! language.getString("Version") + ": " + getClass().getPackage().getSpecificationVersion(); --- 126,130 ---- if (version == null) { version = ! language.getString("AboutBox.label.version") + ": " + getClass().getPackage().getSpecificationVersion(); Index: MessageFrame.java =================================================================== RCS file: /cvsroot/jtcfrost/frost-wot/source/frost/gui/MessageFrame.java,v retrieving revision 1.108 retrieving revision 1.109 diff -C2 -d -r1.108 -r1.109 *** MessageFrame.java 8 Apr 2006 13:57:07 -0000 1.108 --- MessageFrame.java 25 Apr 2006 11:22:51 -0000 1.109 *************** *** 130,136 **** } - /** - * - */ private void copySelectedText() { StringSelection selection = new StringSelection(sourceTextComponent.getSelectedText()); --- 130,133 ---- *************** *** 138,144 **** } - /** - * - */ private void cutSelectedText() { StringSelection selection = new StringSelection(sourceTextComponent.getSelectedText()); --- 135,138 ---- *************** *** 154,160 **** } - /** - * - */ private void pasteText() { Transferable clipboardContent = clipboard.getContents(this); --- 148,151 ---- *************** *** 185,191 **** } - /** - * - */ private void initialize() { refreshLanguage(); --- 176,179 ---- *************** *** 205,216 **** } - /** - * - */ private void refreshLanguage() { ! cutItem.setText(language.getString("Cut")); ! copyItem.setText(language.getString("Copy")); ! pasteItem.setText(language.getString("Paste")); ! cancelItem.setText(language.getString("Cancel")); } --- 193,201 ---- } private void refreshLanguage() { ! cutItem.setText(language.getString("Common.cut")); ! copyItem.setText(language.getString("Common.copy")); ! pasteItem.setText(language.getString("Common.paste")); ! cancelItem.setText(language.getString("Common.cancel")); } *************** *** 246,259 **** } - /** - * - */ private class MFAttachedBoard implements TableMember { Board aBoard; - /** - * @param ab - */ public MFAttachedBoard(Board ab) { --- 231,238 ---- *************** *** 271,277 **** } - /** - * @return - */ public Board getBoardObject() { --- 250,253 ---- *************** *** 297,308 **** } - /** - * - */ private class MFAttachedBoardsTable extends SortedTable { - /** - * @param m - */ public MFAttachedBoardsTable(MFAttachedBoardsTableModel m) { --- 273,278 ---- *************** *** 323,329 **** } - /** - * - */ private class MFAttachedBoardsTableModel extends SortedTableModel { --- 293,296 ---- *************** *** 335,347 **** }; protected final String columnNames[] = { ! "Boardname", ! "public key", ! "Private key", ! "Description" }; - /** - * - */ public MFAttachedBoardsTableModel() { --- 302,311 ---- }; protected final String columnNames[] = { ! language.getString("MessageFrame.boardAttachmentTable.boardname"), ! language.getString("MessageFrame.boardAttachmentTable.publicKey"), ! language.getString("MessageFrame.boardAttachmentTable.privateKey"), ! language.getString("MessageFrame.boardAttachmentTable.description") }; public MFAttachedBoardsTableModel() { *************** *** 389,402 **** } - /** - * - */ private class MFAttachedFile implements TableMember { File aFile; - /** - * @param af - */ public MFAttachedFile(File af) { --- 353,360 ---- *************** *** 414,420 **** } - /** - * @return - */ public File getFile() { --- 372,375 ---- *************** *** 436,447 **** } - /** - * - */ private class MFAttachedFilesTable extends SortedTable { - /** - * @param m - */ public MFAttachedFilesTable(MFAttachedFilesTableModel m) { --- 391,396 ---- *************** *** 462,468 **** } - /** - * - */ private class MFAttachedFilesTableModel extends SortedTableModel { --- 411,414 ---- *************** *** 473,483 **** protected final String columnNames[] = { ! "Filename", ! "Size" }; - /** - * - */ public MFAttachedFilesTableModel() { --- 419,426 ---- protected final String columnNames[] = { ! language.getString("MessageFrame.fileAttachmentTable.filename"), ! language.getString("MessageFrame.fileAttachmentTable.size") }; public MFAttachedFilesTableModel() { *************** *** 618,624 **** private Window parentWindow; - /** - * @param e - */ private void attachBoards_actionPerformed(ActionEvent e) { --- 561,564 ---- *************** *** 644,653 **** if (privKey != null) { int answer = ! JOptionPane.showConfirmDialog( ! this, ! language.getString("MessageFrame.ConfirmBody1") + ! board.getName() + ! language.getString("MessageFrame.ConfirmBody2"), ! language.getString("MessageFrame.ConfirmTitle"), JOptionPane.YES_NO_OPTION); if (answer == JOptionPane.NO_OPTION) { --- 584,590 ---- if (privKey != null) { int answer = ! JOptionPane.showConfirmDialog(this, ! language.formatMessage("MessageFrame.attachBoard.sendPrivateKeyConfirmationDialog.body", board.getName()), ! language.getString("MessageFrame.attachBoard.sendPrivateKeyConfirmationDialog.title"), JOptionPane.YES_NO_OPTION); if (answer == JOptionPane.NO_OPTION) { *************** *** 671,675 **** { final JFileChooser fc = new JFileChooser(lastUsedDirectory); ! fc.setDialogTitle(language.getString("Choose file(s) / directory(s) to attach")); fc.setFileHidingEnabled(false); fc.setFileSelectionMode(JFileChooser.FILES_AND_DIRECTORIES); --- 608,612 ---- { final JFileChooser fc = new JFileChooser(lastUsedDirectory); ! fc.setDialogTitle(language.getString("MessageFrame.fileChooser.title")); fc.setFileHidingEnabled(false); fc.setFileSelectionMode(JFileChooser.FILES_AND_DIRECTORIES); *************** *** 892,898 **** } - /** - * @return - */ private MessageBodyPopupMenu getMessageBodyPopupMenu() { if (messageBodyPopupMenu == null) { --- 829,832 ---- *************** *** 938,951 **** MiscToolkit toolkit = MiscToolkit.getInstance(); ! toolkit.configureButton(Bsend, "Send message", "/data/send_rollover.gif", language); ! toolkit.configureButton(Bcancel, "Cancel", "/data/remove_rollover.gif", language); toolkit.configureButton( BattachFile, ! "Add attachment(s)", "/data/attachment_rollover.gif", language); toolkit.configureButton( BattachBoard, ! "Add Board(s)", "/data/attachmentBoard_rollover.gif", language); --- 872,885 ---- MiscToolkit toolkit = MiscToolkit.getInstance(); ! toolkit.configureButton(Bsend, "MessageFrame.toolbar.tooltip.sendMessage", "/data/send_rollover.gif", language); ! toolkit.configureButton(Bcancel, "Common.cancel", "/data/remove_rollover.gif", language); toolkit.configureButton( BattachFile, ! "MessageFrame.toolbar.tooltip.addFileAttachments", "/data/attachment_rollover.gif", language); toolkit.configureButton( BattachBoard, ! "MessageFrame.toolbar.tooltip.addBoardAttachments", "/data/attachmentBoard_rollover.gif", language); *************** *** 1126,1131 **** attBoardsPopupMenu = new JSkinnablePopupMenu(); ! JMenuItem removeFiles = new JMenuItem(language.getString("Remove")); ! JMenuItem removeBoards = new JMenuItem(language.getString("Remove")); removeFiles.addActionListener(new java.awt.event.ActionListener() { --- 1060,1065 ---- attBoardsPopupMenu = new JSkinnablePopupMenu(); ! JMenuItem removeFiles = new JMenuItem(language.getString("MessageFrame.attachmentTables.popupmenu.remove")); ! JMenuItem removeBoards = new JMenuItem(language.getString("MessageFrame.attachmentTables.popupmenu.remove")); removeFiles.addActionListener(new java.awt.event.ActionListener() { *************** *** 1181,1202 **** private void refreshLanguage() { ! setTitle(language.getString("Create message")); ! Bsend.setToolTipText(language.getString("Send message")); ! Bcancel.setToolTipText(language.getString("Cancel")); ! BattachFile.setToolTipText(language.getString("Add attachment(s)")); ! BattachBoard.setToolTipText(language.getString("Add Board(s)")); ! sign.setText(language.getString("Sign")); ! encrypt.setText(language.getString("Encrypt for")); ! addAttachedFilesToUploadTable.setText(language.getString("Indexed attachments")); ! addAttachedFilesToUploadTable.setToolTipText( ! language.getString("Should file attachments be added to upload table?")); ! Lboard.setText(language.getString("Board") + ": "); ! Lfrom.setText(language.getString("From") + ": "); ! Lsubject.setText(language.getString("Subject") + ": "); } --- 1115,1135 ---- private void refreshLanguage() { ! setTitle(language.getString("MessageFrame.createMessage.title")); ! Bsend.setToolTipText(language.getString("MessageFrame.toolbar.tooltip.sendMessage")); ! Bcancel.setToolTipText(language.getString("Common.cancel")); ! BattachFile.setToolTipText(language.getString("MessageFrame.toolbar.tooltip.addFileAttachments")); ! BattachBoard.setToolTipText(language.getString("MessageFrame.toolbar.tooltip.addBoardAttachments")); ! sign.setText(language.getString("MessageFrame.toolbar.sign")); ! encrypt.setText(language.getString("MessageFrame.toolbar.encryptFor")); ! addAttachedFilesToUploadTable.setText(language.getString("MessageFrame.toolbar.indexedAttachments")); ! addAttachedFilesToUploadTable.setToolTipText(language.getString("MessageFrame.toolbar.tooltip.indexedAttachments")); ! Lboard.setText(language.getString("MessageFrame.board") + ": "); ! Lfrom.setText(language.getString("MessageFrame.from") + ": "); ! Lsubject.setText(language.getString("MessageFrame.subject") + ": "); } *************** *** 1226,1231 **** if( subject.equals("No subject") ) { int n = JOptionPane.showConfirmDialog( this, ! language.getString("Do you want to enter a subject?"), ! language.getString("No subject specified!"), JOptionPane.YES_NO_OPTION, JOptionPane.QUESTION_MESSAGE); --- 1159,1164 ---- if( subject.equals("No subject") ) { int n = JOptionPane.showConfirmDialog( this, ! language.getString("MessageFrame.defaultSubjectWarning.text"), ! language.getString("MessageFrame.defaultSubjectWarning.title"), JOptionPane.YES_NO_OPTION, JOptionPane.QUESTION_MESSAGE); *************** *** 1237,1242 **** if( subject.length() == 0) { JOptionPane.showMessageDialog( this, ! language.getString("You must enter a subject!"), ! language.getString("No subject specified!"), JOptionPane.ERROR); return; --- 1170,1175 ---- if( subject.length() == 0) { JOptionPane.showMessageDialog( this, ! language.getString("MessageFrame.noSubjectError.text"), ! language.getString("MessageFrame.noSubjectError.title"), JOptionPane.ERROR); return; *************** *** 1244,1249 **** if( from.length() == 0) { JOptionPane.showMessageDialog( this, ! language.getString("You must enter a sender name!"), ! language.getString("No 'From' specified!"), JOptionPane.ERROR); return; --- 1177,1182 ---- if( from.length() == 0) { JOptionPane.showMessageDialog( this, ! language.getString("MessageFrame.noSenderError.text"), ! language.getString("MessageFrame.noSenderError.title"), JOptionPane.ERROR); return; *************** *** 1302,1307 **** if( recipient == null ) { JOptionPane.showMessageDialog( this, ! "Can't encrypt, no recipient choosed!", ! language.getString("Error"), JOptionPane.ERROR); return; --- 1235,1240 ---- if( recipient == null ) { JOptionPane.showMessageDialog( this, ! language.getString("MessageFrame.encryptErrorNoRecipient.body"), ! language.getString("MessageFrame.encryptErrorNoRecipient.title"), JOptionPane.ERROR); return; *************** *** 1338,1342 **** JOptionPane.showMessageDialog( this, "Error verifying the resulting message size.", ! language.getString("Error"), JOptionPane.ERROR_MESSAGE); return; --- 1271,1275 ---- JOptionPane.showMessageDialog( this, "Error verifying the resulting message size.", ! "Error", JOptionPane.ERROR_MESSAGE); return; Index: SearchMessagesDialog.java =================================================================== RCS file: /cvsroot/jtcfrost/frost-wot/source/frost/gui/SearchMessagesDialog.java,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** SearchMessagesDialog.java 16 Apr 2006 14:42:02 -0000 1.18 --- SearchMessagesDialog.java 25 Apr 2006 11:22:51 -0000 1.19 *************** *** 136,140 **** */ private void initialize() { ! this.setTitle(language.getString("Search messages")); this.setIconImage(new ImageIcon(getClass().getResource("/data/search.gif")).getImage()); this.setSize(new java.awt.Dimension(700,550)); --- 136,140 ---- */ private void initialize() { ! this.setTitle(language.getString("SearchMessages.title")); this.setIconImage(new ImageIcon(getClass().getResource("/data/search.gif")).getImage()); this.setSize(new java.awt.Dimension(700,550)); *************** *** 234,243 **** if( jTabbedPane == null ) { jTabbedPane = new JTranslatableTabbedPane(language); ! jTabbedPane.addTab("Search", null, getPsearch(), null); ! jTabbedPane.addTab("Boards", null, getPboards(), null); ! jTabbedPane.addTab("Date", null, getPdate(), null); ! jTabbedPane.addTab("Trust state", null, getPtrustState(), null); ! jTabbedPane.addTab("Archive", null, getParchive(), null); ! jTabbedPane.addTab("Attachments", null, getPattachments(), null); } return jTabbedPane; --- 234,243 ---- if( jTabbedPane == null ) { jTabbedPane = new JTranslatableTabbedPane(language); ! jTabbedPane.addTab("SearchMessages.search", null, getPsearch(), null); ! jTabbedPane.addTab("SearchMessages.boards", null, getPboards(), null); ! jTabbedPane.addTab("SearchMessages.date", null, getPdate(), null); ! jTabbedPane.addTab("SearchMessages.trustState", null, getPtrustState(), null); ! jTabbedPane.addTab("SearchMessages.archive", null, getParchive(), null); ! jTabbedPane.addTab("SearchMessages.attachments", null, getPattachments(), null); } return jTabbedPane; *************** *** 1137,1142 **** if (allBoards.size() == 0) { JOptionPane.showMessageDialog(this, ! language.getString("There are no boards that could be choosed."), ! language.getString("Error"), JOptionPane.ERROR_MESSAGE); return; --- 1137,1142 ---- if (allBoards.size() == 0) { JOptionPane.showMessageDialog(this, ! language.getString("SearchMessages.errorDialogs.noBoardsToChoose"), ! language.getString("SearchMessages.errorDialogs.title"), JOptionPane.ERROR_MESSAGE); return; *************** *** 1218,1223 **** if( chosedBoardsList.size() == 0 ) { JOptionPane.showMessageDialog(this, ! language.getString("No boards to search into were chosed."), ! language.getString("Error"), JOptionPane.ERROR_MESSAGE); return null; --- 1218,1223 ---- if( chosedBoardsList.size() == 0 ) { JOptionPane.showMessageDialog(this, ! language.getString("SearchMessages.errorDialogs.noBoardsChosed"), ! language.getString("SearchMessages.errorDialogs.title"), JOptionPane.ERROR_MESSAGE); return null; *************** *** 1246,1251 **** if( scfg.startDate.after(scfg.endDate) ) { JOptionPane.showMessageDialog(this, ! language.getString("Start date is after end date."), ! language.getString("Error"), JOptionPane.ERROR_MESSAGE); return null; --- 1246,1251 ---- if( scfg.startDate.after(scfg.endDate) ) { JOptionPane.showMessageDialog(this, ! language.getString("SearchMessages.errorDialogs.startDateIsAfterEndDate"), ! language.getString("SearchMessages.errorDialogs.title"), JOptionPane.ERROR_MESSAGE); return null; *************** *** 1253,1258 **** } catch(ParseException ex) { JOptionPane.showMessageDialog(this, ! language.getString("Invalid start date or end date specified."), ! language.getString("Error"), JOptionPane.ERROR_MESSAGE); return null; --- 1253,1258 ---- } catch(ParseException ex) { JOptionPane.showMessageDialog(this, ! language.getString("SearchMessages.errorDialogs.invalidStartOrEndDate"), ! language.getString("SearchMessages.errorDialogs.title"), JOptionPane.ERROR_MESSAGE); return null; *************** *** 1282,1287 **** { JOptionPane.showMessageDialog(this, ! language.getString("No trust state is selected."), ! language.getString("Error"), JOptionPane.ERROR_MESSAGE); return null; --- 1282,1287 ---- { JOptionPane.showMessageDialog(this, ! language.getString("SearchMessages.errorDialogs.noTrustStateSelected"), ! language.getString("SearchMessages.errorDialogs.title"), JOptionPane.ERROR_MESSAGE); return null; *************** *** 1390,1395 **** // close not allowed, search must be stopped JOptionPane.showMessageDialog(this, ! language.getString("Please stop the search before closing the window."), ! language.getString("Error"), JOptionPane.ERROR_MESSAGE); return; --- 1390,1395 ---- // close not allowed, search must be stopped JOptionPane.showMessageDialog(this, ! language.getString("SearchMessages.errorDialog.stopSearchBeforeClose"), ! language.getString("SearchMessages.errorDialogs.title"), JOptionPane.ERROR_MESSAGE); return; *************** *** 1626,1632 **** public void languageChanged(LanguageEvent e) { ! resultCountPrefix = language.getString("Results") + ": "; ! startSearchStr = language.getString("Search"); ! stopSearchStr = language.getString("Stop search"); if( getRunningSearchThread() != null ) { --- 1626,1632 ---- public void languageChanged(LanguageEvent e) { ! resultCountPrefix = language.getString("SearchMessages.label.results") + ": "; ! startSearchStr = language.getString("SearchMessages.button.search"); ! stopSearchStr = language.getString("SearchMessages.button.stopSearch"); if( getRunningSearchThread() != null ) { *************** *** 1636,1678 **** } ! getBopenMsg().setText(language.getString("Open message")); ! getBhelp().setText(language.getString("Help")); ! getBcancel().setText(language.getString("Close")); ! Lsender.setText(language.getString("Sender")); ! Lcontent.setText(language.getString("Content")); ! Lsubject.setText(language.getString("Subject")); ! LsearchResult.setText(language.getString("Search result")); ! date_Lto.setText(language.getString("to")); ! getDate_RBbetweenDates().setText(language.getString("Search between dates")); ! getDate_RBdisplayed().setText(language.getString("Search in messages that would be displayed")); ! getDate_RBdaysBackward().setText(language.getString("Search number of days backward")); ! getDate_RBall().setText(language.getString("Search all dates")); ! getTruststate_RBall().setText(language.getString("Search all messages, no matter which trust state is set")); ! getTruststate_RBdisplayed().setText(language.getString("Search in messages that would be displayed")); ! getTruststate_RBchosed().setText(language.getString("Search only in messages with following trust state")); ! getTruststate_CBtampered().setText(language.getString("Tampered")); ! getTruststate_CBnone().setText(language.getString("None (unsigned)")); ! getTruststate_CBbad().setText(language.getString("Bad")); ! getTruststate_CBcheck().setText(language.getString("Check")); ! getTruststate_CBobserve().setText(language.getString("Observe")); ! getTruststate_CBgood().setText(language.getString("Good")); ! getArchive_RBarchiveOnly().setText(language.getString("Search only in archive")); ! getArchive_RBkeypoolOnly().setText(language.getString("Search only in keypool")); ! getArchive_RBkeypoolAndArchive().setText(language.getString("Search in keypool and archive")); ! getBoards_RBchosed().setText(language.getString("Search following boards")); ! getBoards_RBdisplayed().setText(language.getString("Search in displayed boards")); ! getSearch_CBprivateMsgsOnly().setText(language.getString("Search private messages only")); ! getBoards_Bchoose().setText(language.getString("Choose boards")+"..."); ! getAttachment_CBmustContainBoards().setText(language.getString("Message must contain board attachments")); ! getAttachment_CBmustContainFiles().setText(language.getString("Message must contain file attachments")); } --- 1636,1678 ---- } ! getBopenMsg().setText(language.getString("SearchMessages.button.openMessage")); ! getBhelp().setText(language.getString("SearchMessages.button.help")); ! getBcancel().setText(language.getString("SearchMessages.button.close")); ! Lsender.setText(language.getString("SearchMessages.search.sender")); ! Lcontent.setText(language.getString("SearchMessages.search.content")); ! Lsubject.setText(language.getString("SearchMessages.search.subject")); ! LsearchResult.setText(language.getString("SearchMessages.label.searchResult")); ! date_Lto.setText(language.getString("SearchMessages.date.to")); ! getDate_RBbetweenDates().setText(language.getString("SearchMessages.date.searchBetweenDates")); ! getDate_RBdisplayed().setText(language.getString("SearchMessages.date.searchInMessagesThatWouldBeDisplayed")); ! getDate_RBdaysBackward().setText(language.getString("SearchMessages.date.searchNumberOfDaysBackward")); ! getDate_RBall().setText(language.getString("SearchMessages.date.searchAllDates")); ! getTruststate_RBall().setText(language.getString("SearchMessages.trustState.searchAllMessages")); ! getTruststate_RBdisplayed().setText(language.getString("SearchMessages.trustState.searchInMessagesThatWouldBeDisplayed")); ! getTruststate_RBchosed().setText(language.getString("SearchMessages.trustState.searchOnlyInMessagesWithFollowingTrustState")); ! getTruststate_CBtampered().setText(language.getString("SearchMessages.trustState.tampered")); ! getTruststate_CBnone().setText(language.getString("SearchMessages.trustState.none")); ! getTruststate_CBbad().setText(language.getString("SearchMessages.trustState.bad")); ! getTruststate_CBcheck().setText(language.getString("SearchMessages.trustState.check")); ! getTruststate_CBobserve().setText(language.getString("SearchMessages.trustState.observe")); ! getTruststate_CBgood().setText(language.getString("SearchMessages.trustState.good")); ! getArchive_RBarchiveOnly().setText(language.getString("SearchMessages.archive.searchOnlyInArchive")); ! getArchive_RBkeypoolOnly().setText(language.getString("SearchMessages.archive.searchOnlyInKeypool")); ! getArchive_RBkeypoolAndArchive().setText(language.getString("SearchMessages.archive.searchInKeypoolAndArchive")); ! getBoards_RBchosed().setText(language.getString("SearchMessages.boards.searchFollowingBoards")); ! getBoards_RBdisplayed().setText(language.getString("SearchMessages.boards.searchInDisplayedBoards")); ! getSearch_CBprivateMsgsOnly().setText(language.getString("SearchMessages.search.searchPrivateMessagesOnly")); ! getBoards_Bchoose().setText(language.getString("SearchMessages.boards.chooseBoards")+"..."); ! getAttachment_CBmustContainBoards().setText(language.getString("SearchMessages.attachments.messageMustContainBoardAttachments")); ! getAttachment_CBmustContainFiles().setText(language.getString("SearchMessages.attachments.messageMustContainFileAttachments")); } Index: MessageUploadFailedDialog.java =================================================================== RCS file: /cvsroot/jtcfrost/frost-wot/source/frost/gui/MessageUploadFailedDialog.java,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** MessageUploadFailedDialog.java 22 Mar 2006 20:15:19 -0000 1.8 --- MessageUploadFailedDialog.java 25 Apr 2006 11:22:51 -0000 1.9 *************** *** 37,43 **** public class MessageUploadFailedDialog extends JDialog { - /** - * - */ private class ButtonListener implements ActionListener { --- 37,40 ---- *************** *** 55,78 **** dispose(); } - } - /** - * - */ private class RetryButtonTimer extends Timer { private int secs; - /** - * @param secs - */ public RetryButtonTimer(int secs) { this.secs = secs; } - /** - * - */ public void start() { scheduleAtFixedRate(new TimerTask() { --- 52,65 ---- *************** *** 83,89 **** } - /** - * - */ private void timerTriggered() { secs--; --- 70,73 ---- *************** *** 94,98 **** } } - } --- 78,81 ---- *************** *** 110,117 **** private int userAnswer = NO_VALUE; - /** - * @param owner - */ - public MessageUploadFailedDialog(Frame owner) { super(owner, true); --- 93,96 ---- *************** *** 119,125 **** Language language = Language.getInstance(); ! retryButtonText = language.getString("Retry") + " - "; ! setTitle(language.getString("Upload of message failed")); JPanel mainPanel = new JPanel(); --- 98,104 ---- Language language = Language.getInstance(); ! retryButtonText = language.getString("MessageUploadFailedDialog.option.retry") + " - "; ! setTitle(language.getString("MessageUploadFailedDialog.title")); JPanel mainPanel = new JPanel(); *************** *** 133,137 **** Icon warningIcon = UIManager.getIcon("OptionPane.warningIcon"); ! String warningText = " " + language.getString("Frost was not able to upload your message."); mainPanel.add(new JLabel(warningText, warningIcon, SwingConstants.LEFT), BorderLayout.NORTH); --- 112,116 ---- Icon warningIcon = UIManager.getIcon("OptionPane.warningIcon"); ! String warningText = " " + language.getString("MessageUploadFailedDialog.body"); mainPanel.add(new JLabel(warningText, warningIcon, SwingConstants.LEFT), BorderLayout.NORTH); *************** *** 149,155 **** } - /** - * @return - */ public int startDialog() { retryButton.requestFocus(); --- 128,131 ---- *************** *** 160,172 **** } - /** - * @return - */ private JPanel getButtonPanel(Language language) { JPanel buttonsPanel = new JPanel(new FlowLayout(FlowLayout.CENTER, 15, 0)); retryButton = new JButton(retryButtonText + SECONDS_TO_WAIT); ! discardButton = new JButton(language.getString("Discard message")); ! tryOnNextStartupButton = new JButton(language.getString("Retry on next startup")); buttonsPanel.add(retryButton); --- 136,145 ---- } private JPanel getButtonPanel(Language language) { JPanel buttonsPanel = new JPanel(new FlowLayout(FlowLayout.CENTER, 15, 0)); retryButton = new JButton(retryButtonText + SECONDS_TO_WAIT); ! discardButton = new JButton(language.getString("MessageUploadFailedDialog.option.discardMessage")); ! tryOnNextStartupButton = new JButton(language.getString("MessageUploadFailedDialog.option.retryOnNextStartup")); buttonsPanel.add(retryButton); *************** *** 177,187 **** } - /* (non-Javadoc) - * @see java.awt.Window#dispose() - */ public void dispose() { timer.cancel(); super.dispose(); } - } --- 150,156 ---- |