From a89aaee206efe9746483732cbc73d02dfa397d6a Mon Sep 17 00:00:00 2001 From: Arnaud Wach Date: Mon, 10 Jul 2023 12:05:24 +0200 Subject: [PATCH] #4068 - Ability to change interface language (i18n) - inception-image files translation using properties files --- .../inception/image/sidebar/ImageSidebar.html | 2 +- .../inception/image/wicket-package.properties | 16 ++++++++++++++++ .../inception/image/wicket-package_fr.properties | 16 ++++++++++++++++ 3 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 inception/inception-image/src/main/java/de/tudarmstadt/ukp/inception/image/wicket-package.properties create mode 100644 inception/inception-image/src/main/java/de/tudarmstadt/ukp/inception/image/wicket-package_fr.properties diff --git a/inception/inception-image/src/main/java/de/tudarmstadt/ukp/inception/image/sidebar/ImageSidebar.html b/inception/inception-image/src/main/java/de/tudarmstadt/ukp/inception/image/sidebar/ImageSidebar.html index 74f40c400c5..eac1edcd9f5 100644 --- a/inception/inception-image/src/main/java/de/tudarmstadt/ukp/inception/image/sidebar/ImageSidebar.html +++ b/inception/inception-image/src/main/java/de/tudarmstadt/ukp/inception/image/sidebar/ImageSidebar.html @@ -32,7 +32,7 @@
- Images +
diff --git a/inception/inception-image/src/main/java/de/tudarmstadt/ukp/inception/image/wicket-package.properties b/inception/inception-image/src/main/java/de/tudarmstadt/ukp/inception/image/wicket-package.properties new file mode 100644 index 00000000000..d3da6546eb6 --- /dev/null +++ b/inception/inception-image/src/main/java/de/tudarmstadt/ukp/inception/image/wicket-package.properties @@ -0,0 +1,16 @@ +# Licensed to the Technische Universität Darmstadt under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The Technische Universität Darmstadt +# licenses this file to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +images=Images \ No newline at end of file diff --git a/inception/inception-image/src/main/java/de/tudarmstadt/ukp/inception/image/wicket-package_fr.properties b/inception/inception-image/src/main/java/de/tudarmstadt/ukp/inception/image/wicket-package_fr.properties new file mode 100644 index 00000000000..d3da6546eb6 --- /dev/null +++ b/inception/inception-image/src/main/java/de/tudarmstadt/ukp/inception/image/wicket-package_fr.properties @@ -0,0 +1,16 @@ +# Licensed to the Technische Universität Darmstadt under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The Technische Universität Darmstadt +# licenses this file to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +images=Images \ No newline at end of file