summaryrefslogtreecommitdiff
path: root/nlpsolver
diff options
context:
space:
mode:
authorAndras Timar <timar@fsf.hu>2010-12-19 20:10:57 +0100
committerAndras Timar <timar@fsf.hu>2010-12-19 20:10:57 +0100
commit4f15e8384562672aa9be332d767d2f0c183d988e (patch)
treec057f0bdf270db880f56b6a9e9f75167d1bfd0b5 /nlpsolver
parentb250c03e3986a582745bef7bae81c695054a62e0 (diff)
Enabling l10n of nlpsolver fdo#30839
Extra translations will be commited to extensions/nlpsolver/locale. Hungarian translation is provided as a sample - more to come soon. Also fixed a typo in en-US text. Signed off by Kohei.
Diffstat (limited to 'nlpsolver')
-rw-r--r--nlpsolver/locale/NLPSolverCommon_hu.properties21
-rw-r--r--nlpsolver/locale/NLPSolverStatusDialog_hu.properties27
-rw-r--r--nlpsolver/makefile.mk2
-rw-r--r--nlpsolver/nlpsolver-0.9.patch11
4 files changed, 61 insertions, 0 deletions
diff --git a/nlpsolver/locale/NLPSolverCommon_hu.properties b/nlpsolver/locale/NLPSolverCommon_hu.properties
new file mode 100644
index 000000000000..0de747e6e0de
--- /dev/null
+++ b/nlpsolver/locale/NLPSolverCommon_hu.properties
@@ -0,0 +1,21 @@
+#BaseNLPSolver
+NLPSolverCommon.Properties.AssumeNonNegative=Nem negat\u00EDv v\u00E1ltoz\u00F3k felt\u00E9telez\u00E9se
+#BaseEvolutionarySolver
+NLPSolverCommon.Properties.SwarmSize=Popul\u00E1ci\u00F3 m\u00E9rete
+NLPSolverCommon.Properties.LibrarySize=K\u00F6nyvt\u00E1r m\u00E9rete
+NLPSolverCommon.Properties.LearningCycles=Tanul\u00E1si ciklusok
+NLPSolverCommon.Properties.GuessVariableRange=V\u00E1ltoz\u00F3 korl\u00E1tainak kital\u00E1l\u00E1sa
+NLPSolverCommon.Properties.VariableRangeThreshold=V\u00E1ltoz\u00F3 korl\u00E1tj\u00E1nak k\u00FCsz\u00F6be (kital\u00E1l\u00E1sn\u00E1l)
+NLPSolverCommon.Properties.UseACRComparator=ACR kompar\u00E1tor haszn\u00E1lata (BCH helyett)
+NLPSolverCommon.Properties.UseRandomStartingPoint=V\u00E9letlen kezd\u0151pont haszn\u00E1lata
+NLPSolverCommon.Properties.StagnationLimit=Stagn\u00E1l\u00E1si korl\u00E1t
+NLPSolverCommon.Properties.Tolerance=Stagn\u00E1l\u00E1si t\u0171r\u00E9shat\u00E1r
+NLPSolverCommon.Properties.EnhancedSolverStatus=A Megold\u00F3 r\u00E9szletes \u00E1llapota
+#DEPS
+NLPSolverCommon.Properties.AgentSwitchRate=Egyed v\u00E1lt\u00E1si r\u00E1t\u00E1ja (DE val\u00F3sz\u00EDn\u0171s\u00E9g)
+NLPSolverCommon.Properties.DEFactor=DE: Sk\u00E1lafaktor (0\u20131,2)
+NLPSolverCommon.Properties.DECR=DE: Keresztez\u0151d\u00E9s val\u00F3sz\u00EDn\u0171s\u00E9ge (0\u20131)
+NLPSolverCommon.Properties.PSC1=PS: Kognit\u00EDv \u00E1lland\u00F3
+NLPSolverCommon.Properties.PSC2=PS: K\u00F6z\u00F6ss\u00E9gi \u00E1lland\u00F3
+NLPSolverCommon.Properties.PSWeight=PS: \u00D6sszeh\u00FAz\u00F3d\u00E1si egy\u00FCtthat\u00F3
+NLPSolverCommon.Properties.PSCL=PS: Mut\u00E1ci\u00F3 val\u00F3sz\u00EDn\u0171s\u00E9ge (0\u20130,005)
diff --git a/nlpsolver/locale/NLPSolverStatusDialog_hu.properties b/nlpsolver/locale/NLPSolverStatusDialog_hu.properties
new file mode 100644
index 000000000000..98f9b805b50f
--- /dev/null
+++ b/nlpsolver/locale/NLPSolverStatusDialog_hu.properties
@@ -0,0 +1,27 @@
+#Dialog
+NLPSolverStatusDialog.Dialog.Caption=A Megold\u00F3 \u00E1llapota
+#Controls
+NLPSolverStatusDialog.Controls.lblSolution=Jelenlegi megold\u00E1s:
+NLPSolverStatusDialog.Controls.lblIteration=Iter\u00E1ci\u00F3:
+NLPSolverStatusDialog.Controls.lblStagnation=Stagn\u00E1l\u00E1s:
+NLPSolverStatusDialog.Controls.lblRuntime=Fut\u00E1sid\u0151:
+NLPSolverStatusDialog.Controls.btnStop=Le\u00E1ll\u00EDt\u00E1s
+NLPSolverStatusDialog.Controls.btnOK=OK
+NLPSolverStatusDialog.Controls.btnContinue=Folytat\u00E1s
+#Messages
+NLPSolverStatusDialog.Message.StopIteration=El\u00E9rte a max. iter\u00E1ci\u00F3s l\u00E9p\u00E9st.
+NLPSolverStatusDialog.Message.StopStagnation=A folyamat le\u00E1llt, mert stagn\u00E1l.
+NLPSolverStatusDialog.Message.StopUser=A folyamat le\u00E1llt, mert a felhaszn\u00E1l\u00F3 megszak\u00EDtotta.
+NLPSolverStatusDialog.Message.CurrentIteration=A folyamat le\u00E1llt a(z) %d. / %d iter\u00E1ci\u00F3n\u00E1l.
+#Time formatting
+NLPSolverStatusDialog.Time.Nanoseconds=nanoszekundum
+NLPSolverStatusDialog.Time.Microseconds=mikroszekundum
+NLPSolverStatusDialog.Time.Milliseconds=ezredm\u00E1sodperc
+NLPSolverStatusDialog.Time.Second=m\u00E1sodperc
+NLPSolverStatusDialog.Time.Seconds=m\u00E1sodperc
+NLPSolverStatusDialog.Time.Minute=perc
+NLPSolverStatusDialog.Time.Minutes=perc
+NLPSolverStatusDialog.Time.Hour=\u00F3ra
+NLPSolverStatusDialog.Time.Hours=\u00F3ra
+NLPSolverStatusDialog.Time.Day=nap
+NLPSolverStatusDialog.Time.Days=nap
diff --git a/nlpsolver/makefile.mk b/nlpsolver/makefile.mk
index 3c160c00c1a9..541802e640d4 100644
--- a/nlpsolver/makefile.mk
+++ b/nlpsolver/makefile.mk
@@ -53,6 +53,8 @@ PATCH_FILES=nlpsolver-0.9.patch
ANT_FLAGS+=-Dplatforms.JDK_1.5.home=$(JAVA_HOME) -Doffice.program.dir=$(SOLARBINDIR)
+CONFIGURE_ACTION=cp -rpv ../../../../locale src/
+
.IF "$(JAVACISGCJ)"=="yes"
JAVA_HOME=
.EXPORT : JAVA_HOME
diff --git a/nlpsolver/nlpsolver-0.9.patch b/nlpsolver/nlpsolver-0.9.patch
index 4e7208f4ab11..4581eb7721fa 100644
--- a/nlpsolver/nlpsolver-0.9.patch
+++ b/nlpsolver/nlpsolver-0.9.patch
@@ -49,3 +49,14 @@
<dependencies>
<OpenOffice.org-minimal-version xmlns:d="http://openoffice.org/extensions/description/2006" d:name="OpenOffice.org 3.0" value="3.0"/>
</dependencies>
+--- misc/build/nlpsolver-0.9/src/locale/NLPSolverCommon_en_US.properties.old 2009-03-30 18:20:06.000000000 +0200
++++ misc/build/nlpsolver-0.9/src/locale/NLPSolverCommon_en_US.properties 2010-12-18 22:08:47.084693100 +0100
+@@ -2,7 +2,7 @@
+ NLPSolverCommon.Properties.AssumeNonNegative=Assume Non-Negative Variables
+
+ #BaseEvolutionarySolver
+-NLPSolverCommon.Properties.SwarmSize=Size of Swam
++NLPSolverCommon.Properties.SwarmSize=Size of Swarm
+ NLPSolverCommon.Properties.LibrarySize=Size of Library
+ NLPSolverCommon.Properties.LearningCycles=Learning Cycles
+ NLPSolverCommon.Properties.GuessVariableRange=Variable Bounds Guessing