Repository navigation
Add support for Italian translations of UI labels #13
Description
Summary of Additions: Add support for Italian translation of UI labels and
tooltips
More translated text could be added in the future. I will update the issue if
I get any additions/changes from our translation center. Thank you!
This enhancement is briefly mentioned in BugId: 6298389 -
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6298389
C:\JavaHelp\Open_Source\Subversion\Projects\JavaHelp\javahelp\jhMaster\JavaHelp
src\new\javax\help\resources>svn diff Constants_it.java
Index: Constants_it.java
— Constants_it.java (revision 0)
+++ Constants_it.java (revision 0)
@@ -0,0 +1,148 @@
+/*
-
- @(#)Constants_it.java
-
-
- Copyright (c) 2006 Sun Microsystems, Inc. All Rights Reserved.
-
- DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-
-
- This code is free software; you can redistribute it and/or modify it
-
- under the terms of the GNU General Public License version 2 only, as
-
- published by the Free Software Foundation. Sun designates this
-
- particular file as subject to the "Classpath" exception as provided
-
- by Sun in the LICENSE file that accompanied this code.
-
-
- This code 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
-
- version 2 for more details (a copy is included in the LICENSE file that
-
- accompanied this code).
-
-
- You should have received a copy of the GNU General Public License version
-
- 2 along with this work; if not, write to the Free Software Foundation,
-
- Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-
-
- Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
-
- CA 95054 USA or visit www.sun.com if you need additional information or
-
- have any questions.
- /
+/ -
- @(#) Constants_it.java - last change made 06/27/07
- */
+package javax.help.resources;
+
+import java.util.ListResourceBundle;
+
+/**
-
- Constants used for localizing JavaHelp.
-
-
- These are in the form of key, value.
-
- Translators take care to only translate the values.
- */
+public class Constants_it extends ListResourceBundle {
- /**
-
- Overrides ListResourceBundle.
- */
- public Object[][] getContents() {
- return new Object[][] {
- // Constant strings and patterns
- { "helpset.wrongPublicID",
- "Unknown PublicID
{0}"},
- { "helpset.wrongTitle",
- "Attempting to set title to {0}
but already has value
{1}."},
- { "helpset.wrongHomeID",
- "Attempting to set homeID to {0} but already has value {1}
."},
- { "helpset.subHelpSetTrouble",
- "Trouble creating subhelpset:
{0}."},
- { "helpset.malformedURL",
- "Malformed URL: {0}
."},
- { "helpset.incorrectURL",
- "Incorrect URL:
{0}."},
- { "helpset.wrongText",
- "{0}
cannot contain text
{1}."},
- { "helpset.wrongTopLevel",
- "{0} cannot be a top level tag."},
- { "helpset.wrongParent",
- "The parent tag for {0} cannot be {1}
."},
- { "helpset.unbalanced",
- "Unbalanced tag
{0}."},
- { "helpset.wrongLocale",
- "Warning: xml:lang attribute {0}
conflicts with default
{1}
an
d with default
{2}
"},
- { "helpset.unknownVersion",
- "Unknown Version
{0}."},
+
- // IndexView messages
- { "index.invalidIndexFormat", + "Warning: Invalid Index format"},
- { "index.unknownVersion",
- "Unknown Version {0}
."},
+
- // TOCView messages
- { "toc.wrongPublicID",
- "Unknown PublicID
{0}"},
- { "toc.invalidTOCFormat", + "Warning: Invalid TOC format"},
- { "toc.unknownVersion",
- "Unknown Version {0}
."},
+
- // FavoritesView messages
{ "favorites.invalidFavoritesFormat", + "Warning: Invalid Favorites format"}
,
- { "favorites.unknownVersion",
- "Unknown Version
{0}."},
+
- // Map messages
- { "map.wrongPublicID",
- "Unknown PublicID {0}
"},
+
{ "map.invalidMapFormat", + "Warning: Invalid Map format"}
,
- { "map.unknownVersion",
- "Unknown Version
{0}
."},
+
- // GUI components
- // Labels
{ "index.findLabel", "Trova: "}
,
+
{ "search.findLabel", "Trova: "}
,
+
{ "search.hitDesc", "Number of occurances in document"}
,
+
{ "search.qualityDesc", "Lowest penality value in document" }
,
+
{ "search.high", "High"}
,
+
{ "search.midhigh", "Medium high"}
,
+
{ "search.mid", "Medium"}
,
+
{ "search.midlow", "Medium low"}
,
+
{ "search.low", "Low"}
,
+
+
{ "favorites.add", "Add"}
,
+
{ "favorites.remove", "Remove"}
,
+
{ "favorites.folder", "New Folder"}
,
+
{ "favorites.name", "Name"}
,
+
{ "favorites.cut", "Cut"}
,
+
{ "favorites.paste", "Paste"}
,
+
{ "favorites.copy" , "Copy"}
,
+
+
{ "history.homePage", "Home page"}
,
+
{ "history.unknownTitle", ""}
,
+
- // ToolTips for Actions
{ "tooltip.BackAction", "Precedente"}
,
+
{ "tooltip.ForwardAction", "Successivo"}
,
+
{ "tooltip.PrintAction", "Stampa"}
,
+
{ "tooltip.PrintSetupAction", "Imposta pagina"}
,
+
{ "tooltip.ReloadAction", "Ricarica"}
,
+
{ "tooltip.FavoritesAction", "Add to Favorites"}
,
+
{ "tooltip.HomeAction", "Go to home page"}
,
+
- // Accessibility names
{ "access.BackAction", "Previous Button"}
,
+
{ "access.ForwardAction", "Next Button"}
,
+
{ "access.HistoryAction", "History Button"}
,
+
{ "access.PrintAction", "Print Button"}
,
+
{ "access.PrintSetupAction", "Page Setup Button"}
,
+
{ "access.ReloadAction", "Reload Button"}
,
+
{ "access.HomeAction", "Home Button"}
,
+
{ "access.FavoritesAction", "Add to Favorites Button"}
,
+
{ "access.contentViewer", "Content Viewer"}
- };
- }
+}
Environment
Operating System: All
Platform: All
Affected Versions
[current]
Activity
glassfishrobot commentedon Jul 2, 2007
Reported by dacagl
glassfishrobot commentedon Jul 2, 2007
Was assigned to javahelp-issues
glassfishrobot commentedon Jul 18, 2007
dacagl said:
Please disregard the first svn diff, I have a completely translated
Constants_it.java file.
C:\JavaHelp\Open_Source\Subversion\Projects\JavaHelp\javahelp\jhMaster\JavaHelp
src\new\javax\help\resources>svn diff Constants_it.java
Index: Constants_it.java
— Constants_it.java (revision 0)
+++ Constants_it.java (revision 0)
@@ -0,0 +1,148 @@
+/*
+/
+package javax.help.resources;
+
+import java.util.ListResourceBundle;
+
+/**
+public class Constants_it extends ListResourceBundle {
{0} sconosciuto"},
, ma il titolo ha gi\u0
0e0 il valore
{1}."},
valore {1}
."},
{0}."},
."},
{0}."},
non pu\u00f2 contenere il testo
{1}."},
."},
{0} non bilanciato."},
in conflitto con
{1}
pre
definito e con
{2}
predefinito"},
{0} sconosciuta."},
+
sconosciuta."},
+
{0} sconosciuto"},
sconosciuta."},
+
{ "favorites.invalidFavoritesFormat", + "Avvertimento: formato Preferiti non valido"}
,
{0} sconosciuta."},
+
sconosciuto"},
+
{ "map.invalidMapFormat", + "Avvertimento: formato mappa non valido"}
,
{0}
sconosciuta."},
+
{ "index.findLabel", "Trova: "}
,
+
{ "search.findLabel", "Trova: "}
,
+
{ "search.hitDesc", "Numero di occorrenze nel documento"}
,
+
{ "search.qualityDesc", "Valore di penalit\u00e0 minimo nel document o" }
,
+
{ "search.high", "Alto"}
,
+
{ "search.midhigh", "Medio alto"}
,
+
{ "search.mid", "Medio"}
,
+
{ "search.midlow", "Medio basso"}
,
+
{ "search.low", "Basso"}
,
+
+
{ "favorites.add", "Aggiungi"}
,
+
{ "favorites.remove", "Rimuovi"}
,
+
{ "favorites.folder", "Nuova cartella"}
,
+
{ "favorites.name", "Nome"}
,
+
{ "favorites.cut", "Taglia"}
,
+
{ "favorites.paste", "Incolla"}
,
+
{ "favorites.copy" , "Copia"}
,
+
+
{ "history.homePage", "Home page"}
,
+
{ "history.unknownTitle", ""}
,
+
{ "tooltip.BackAction", "Pagina precedente"}
,
+
{ "tooltip.ForwardAction", "Pagina successiva"}
,
+
{ "tooltip.PrintAction", "Stampa"}
,
+
{ "tooltip.PrintSetupAction", "Imposta pagina"}
,
+
{ "tooltip.ReloadAction", "Ricarica"}
,
+
{ "tooltip.FavoritesAction", "Aggiungi a Preferiti"}
,
+
{ "tooltip.HomeAction", "Vai alla home page"}
,
+
{ "access.BackAction", "Pulsante Precedente"}
,
+
{ "access.ForwardAction", "Pulsante Successivo"}
,
+
{ "access.HistoryAction", "Pulsante Cronologia"}
,
+
{ "access.PrintAction", "Pulsante Stampa"}
,
+
{ "access.PrintSetupAction", "Pulsante Imposta pagina"}
,
+
{ "access.ReloadAction", "Pulsante Ricarica"}
,
+
{ "access.HomeAction", "Pulsante Home"}
,
+
{ "access.FavoritesAction", "Pulsante Aggiungi a Preferiti"}
,
+
{ "access.contentViewer", "Visualizzatore del contenuto"}
+}
glassfishrobot commentedon Apr 26, 2017
This issue was imported from java.net JIRA JAVAHELP-13