From: Christian Femers Date: Wed, 1 May 2019 17:50:51 +0000 (+0200) Subject: I18n X-Git-Url: https://mograsim.net/gitweb/?a=commitdiff_plain;h=c6827560063de9fa4baccb5a4dd2f1b07251c942;p=Mograsim.git I18n --- diff --git a/com.example.e4.rcp.nl1/.classpath b/com.example.e4.rcp.nl1/.classpath new file mode 100644 index 00000000..1fa3e680 --- /dev/null +++ b/com.example.e4.rcp.nl1/.classpath @@ -0,0 +1,7 @@ + + + + + + + diff --git a/com.example.e4.rcp.nl1/.gitignore b/com.example.e4.rcp.nl1/.gitignore new file mode 100644 index 00000000..ae3c1726 --- /dev/null +++ b/com.example.e4.rcp.nl1/.gitignore @@ -0,0 +1 @@ +/bin/ diff --git a/com.example.e4.rcp.nl1/.project b/com.example.e4.rcp.nl1/.project new file mode 100644 index 00000000..2d1a16f7 --- /dev/null +++ b/com.example.e4.rcp.nl1/.project @@ -0,0 +1,28 @@ + + + com.example.e4.rcp.nl1 + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + + org.eclipse.pde.PluginNature + org.eclipse.jdt.core.javanature + + diff --git a/com.example.e4.rcp.nl1/META-INF/MANIFEST.MF b/com.example.e4.rcp.nl1/META-INF/MANIFEST.MF new file mode 100644 index 00000000..59bfde3e --- /dev/null +++ b/com.example.e4.rcp.nl1/META-INF/MANIFEST.MF @@ -0,0 +1,7 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: com.example.e4.rcp.nl1 Fragment +Bundle-SymbolicName: com.example.e4.rcp.nl1 +Bundle-Version: 1.0.0 +Fragment-Host: com.example.e4.rcp;bundle-version="[1.0.0,1.1.0)" +Automatic-Module-Name: com.example.e4.rcp.nl1 diff --git a/com.example.e4.rcp.nl1/OSGI-INF/l10n/bundle_de.properties b/com.example.e4.rcp.nl1/OSGI-INF/l10n/bundle_de.properties new file mode 100644 index 00000000..76d709f5 --- /dev/null +++ b/com.example.e4.rcp.nl1/OSGI-INF/l10n/bundle_de.properties @@ -0,0 +1,18 @@ +#Properties file for com.example.e4.rcp +Bundle-Vendor = ICH +Bundle-Name = Test RPC Projekt +product.name = Test RPC Projekt +trimmedwindow.label.1 = Eclipse 4 RCP Anwendung +trimmedwindow.tooltip.1 = Hauptfenster +part.label.1 = Beispiel Part +part.label.2 = NAnderer Part +menu.label.1 = Datei +handledmenuitem.label.1 = Öffnen +handledmenuitem.label.2 = Speichern +handledmenuitem.label.3 = Beenden +menu.label.2 = Hilfe +handledmenuitem.label.4 = Über +command.commandname.1 = quitCommand +command.commandname.2 = openCommand +command.commandname.3 = saveCommand +command.commandname.4 = aboutCommand diff --git a/com.example.e4.rcp.nl1/OSGI-INF/l10n/bundle_en.properties b/com.example.e4.rcp.nl1/OSGI-INF/l10n/bundle_en.properties new file mode 100644 index 00000000..f19d5ba9 --- /dev/null +++ b/com.example.e4.rcp.nl1/OSGI-INF/l10n/bundle_en.properties @@ -0,0 +1,18 @@ +#Properties file for com.example.e4.rcp +Bundle-Vendor = ME +Bundle-Name = Test RPC Project +product.name = Test RPC Project +trimmedwindow.label.1 = Eclipse 4 RCP Application +trimmedwindow.tooltip.1 = Main Window +part.label.1 = Sample Part +part.label.2 = Nother Part +menu.label.1 = File +handledmenuitem.label.1 = Open +handledmenuitem.label.2 = Save +handledmenuitem.label.3 = Quit +menu.label.2 = Help +handledmenuitem.label.4 = About +command.commandname.1 = quitCommand +command.commandname.2 = openCommand +command.commandname.3 = saveCommand +command.commandname.4 = aboutCommand diff --git a/com.example.e4.rcp.nl1/build.properties b/com.example.e4.rcp.nl1/build.properties new file mode 100644 index 00000000..c0b5d731 --- /dev/null +++ b/com.example.e4.rcp.nl1/build.properties @@ -0,0 +1,6 @@ +source.. = src/ +output.. = bin/ +bin.includes = META-INF/,\ + .,\ + nl/,\ + OSGI-INF/ diff --git a/com.example.e4.rcp/Application.e4xmi b/com.example.e4.rcp/Application.e4xmi index fbcb8a19..c8bb639c 100644 --- a/com.example.e4.rcp/Application.e4xmi +++ b/com.example.e4.rcp/Application.e4xmi @@ -1,22 +1,22 @@ - + - + - + - - - - + + + + - - + + @@ -40,10 +40,10 @@ - - - - + + + + diff --git a/com.example.e4.rcp/META-INF/MANIFEST.MF b/com.example.e4.rcp/META-INF/MANIFEST.MF index ae7ce585..f2f1214f 100644 --- a/com.example.e4.rcp/META-INF/MANIFEST.MF +++ b/com.example.e4.rcp/META-INF/MANIFEST.MF @@ -1,9 +1,9 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 -Bundle-Name: Rcp +Bundle-Name: %Bundle-Name Bundle-SymbolicName: com.example.e4.rcp;singleton:=true Bundle-Version: 1.0.0.qualifier -Bundle-Vendor: EXAMPLE +Bundle-Vendor: %Bundle-Vendor Require-Bundle: javax.inject;bundle-version="0.0.0", org.eclipse.core.runtime;bundle-version="0.0.0", org.eclipse.swt;bundle-version="0.0.0", @@ -15,6 +15,9 @@ Require-Bundle: javax.inject;bundle-version="0.0.0", org.eclipse.e4.ui.di;bundle-version="0.0.0", org.eclipse.e4.core.contexts;bundle-version="0.0.0" Bundle-RequiredExecutionEnvironment: JavaSE-11 +Bundle-Localization: OSGI-INF/l10n/bundle Import-Package: javax.annotation;version="1.0.0";resolution:=optional, javax.inject;version="1.0.0" Automatic-Module-Name: com.example.e4.rcp +Export-Package: com.example.e4.rcp.handlers, + com.example.e4.rcp.parts diff --git a/com.example.e4.rcp/OSGI-INF/l10n/bundle.properties b/com.example.e4.rcp/OSGI-INF/l10n/bundle.properties new file mode 100644 index 00000000..c63e7c3e --- /dev/null +++ b/com.example.e4.rcp/OSGI-INF/l10n/bundle.properties @@ -0,0 +1,18 @@ +#Properties file for com.example.e4.rcp +Bundle-Vendor = EXAMPLE +Bundle-Name = Rcp +product.name = com.example.e4.rcp +trimmedwindow.label.1 = Eclipse 4 RCP Application +trimmedwindow.tooltip.1 = Hauptfenster +part.label.1 = Sample Part +part.label.2 = Nother Part +menu.label.1 = File +handledmenuitem.label.1 = Open +handledmenuitem.label.2 = Save +handledmenuitem.label.3 = Quit +menu.label.2 = Help +handledmenuitem.label.4 = About +command.commandname.1 = quitCommand +command.commandname.2 = openCommand +command.commandname.3 = saveCommand +command.commandname.4 = aboutCommand diff --git a/com.example.e4.rcp/build.properties b/com.example.e4.rcp/build.properties index 04ab1e9b..79d31e06 100644 --- a/com.example.e4.rcp/build.properties +++ b/com.example.e4.rcp/build.properties @@ -4,5 +4,15 @@ bin.includes = plugin.xml,\ META-INF/,\ .,\ icons/,\ - css/default.css,\ - Application.e4xmi + Application.e4xmi,\ + OSGI-INF/,\ + css/ +src.includes = src/,\ + icons/,\ + css/,\ + com.example.e4.rcp.product,\ + plugin.xml,\ + Application.e4xmi,\ + META-INF/,\ + OSGI-INF/,\ + build.properties diff --git a/com.example.e4.rcp/build_ant.xml b/com.example.e4.rcp/build_ant.xml new file mode 100644 index 00000000..12c6706e --- /dev/null +++ b/com.example.e4.rcp/build_ant.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/com.example.e4.rcp/com.example.e4.rcp.product b/com.example.e4.rcp/com.example.e4.rcp.product index 4cd26aa2..0baacac5 100644 --- a/com.example.e4.rcp/com.example.e4.rcp.product +++ b/com.example.e4.rcp/com.example.e4.rcp.product @@ -14,7 +14,7 @@ - -clearPersistedState + -clearPersistedState -nl de -XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts @@ -36,9 +36,11 @@ + + @@ -91,6 +93,7 @@ + diff --git a/com.example.e4.rcp/plugin.xml b/com.example.e4.rcp/plugin.xml index 0c2671b9..06bfca96 100644 --- a/com.example.e4.rcp/plugin.xml +++ b/com.example.e4.rcp/plugin.xml @@ -8,14 +8,22 @@ - - + + + + + +