From 8303772a9be27d0134b57cbde6d571e3e9a49a72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=80=E9=A2=97=E5=B0=8F=E5=9C=9F=E8=B1=86?= <2428100619@qq.com> Date: Mon, 4 Nov 2024 07:28:11 +0100 Subject: [PATCH 1/2] Added translation using Weblate (Chinese (Simplified) (zh)) --- .../src/main/resources/ApplicationResources_zh.properties | 1 + 1 file changed, 1 insertion(+) create mode 100644 xwiki-platform-core/xwiki-platform-uiextension/xwiki-platform-uiextension-api/src/main/resources/ApplicationResources_zh.properties diff --git a/xwiki-platform-core/xwiki-platform-uiextension/xwiki-platform-uiextension-api/src/main/resources/ApplicationResources_zh.properties b/xwiki-platform-core/xwiki-platform-uiextension/xwiki-platform-uiextension-api/src/main/resources/ApplicationResources_zh.properties new file mode 100644 index 000000000000..8b137891791f --- /dev/null +++ b/xwiki-platform-core/xwiki-platform-uiextension/xwiki-platform-uiextension-api/src/main/resources/ApplicationResources_zh.properties @@ -0,0 +1 @@ + From 04ae85dd8853ab4630a3f74366c3044f299cbcdb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=80=E9=A2=97=E5=B0=8F=E5=9C=9F=E8=B1=86?= <2428100619@qq.com> Date: Mon, 4 Nov 2024 06:29:24 +0000 Subject: [PATCH 2/2] Translated using Weblate (Chinese (Simplified) (zh)) Currently translated at 57.1% (8 of 14 strings) Translation: XWiki Platform/UI Extension API Translate-URL: https://l10n.xwiki.org/projects/xwiki-platform/ui-extension-api/zh/ --- .../ApplicationResources_zh.properties | 64 +++++++++++++++++++ 1 file changed, 64 insertions(+) diff --git a/xwiki-platform-core/xwiki-platform-uiextension/xwiki-platform-uiextension-api/src/main/resources/ApplicationResources_zh.properties b/xwiki-platform-core/xwiki-platform-uiextension/xwiki-platform-uiextension-api/src/main/resources/ApplicationResources_zh.properties index 8b137891791f..b8a7745995ed 100644 --- a/xwiki-platform-core/xwiki-platform-uiextension/xwiki-platform-uiextension-api/src/main/resources/ApplicationResources_zh.properties +++ b/xwiki-platform-core/xwiki-platform-uiextension/xwiki-platform-uiextension-api/src/main/resources/ApplicationResources_zh.properties @@ -1 +1,65 @@ +# --------------------------------------------------------------------------- +# See the NOTICE file distributed with this work for additional +# information regarding copyright ownership. +# +# This is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as +# published by the Free Software Foundation; either version 2.1 of +# the License, or (at your option) any later version. +# +# This software 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 +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this software; if not, write to the Free +# Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +# 02110-1301 USA, or see the FSF site: http://www.fsf.org. +# --------------------------------------------------------------------------- +############################################################################### +# XWiki Core localization +# +# This contains the translations of the module in the default language +# (generally English). +# +# Translation key syntax: +# .. +# where: +# * = top level project name without the "xwiki-" prefix, +# for example: commons, rendering, platform, enterprise, manager, etc +# * = the name of the Maven module without the prefix, +# for example: oldcore, scheduler, activitystream, etc +# * = the name of the property using camel case, +# for example updateJobClassCommitComment +# +# Comments: it's possible to add some detail about a key to make easier to +# translate it by adding a comment before it. To make sure a comment is not +# assigned to the following key use at least three sharps (###) for the comment +# or after it. +# +# Deprecated keys: +# * when deleting a key it should be moved to deprecated section at the end +# of the file (between #@deprecatedstart and #@deprecatedend) and associated to the +# first version in which it started to be deprecated +# * when renaming a key, it should be moved to the same deprecated section +# and a comment should be added with the following syntax: +# #@deprecated new.key.name +# old.key.name=Some translation +############################################################################### + +uiextension.error.failed=\u6267\u884C id [{}] \u7684 UIX \u5931\u8D25 +uiextension.requiredrights.global=\u5177\u6709\u5168\u5C40\u4F5C\u7528\u57DF\u7684 UI \u6269\u5C55\u9700\u8981\u7F16\u7A0B\u6743\u9650\u3002 +uiextension.requiredrights.wiki=\u5177\u6709 wiki \u4F5C\u7528\u57DF\u7684 UI \u6269\u5C55\u9700\u8981 wiki \u7BA1\u7406\u5458\u6743\u9650\u3002 +uiextension.requiredrights.adminOnly=\u6269\u5C55\u70B9 [{0}] \u7684 UI \u6269\u5C55\u9700\u8981 wiki \u7BA1\u7406\u5458\u6743\u9650\u3002 +uiextension.requiredrights.parameters=UI \u6269\u5C55\u53C2\u6570\u4E2D\u7684\u811A\u672C\u9700\u8981\u811A\u672C\u6743\u9650\uFF0C\u4E5F\u53EF\u80FD\u9700\u8981\u7F16\u7A0B\u6743\u9650\u3002 +uiextension.requiredrights.contentError=\u89E3\u6790 UI \u6269\u5C55\u5185\u5BB9\u9519\u8BEF\uFF0C\u8BF7\u624B\u52A8\u5BA1\u6838\uFF1A[{0}] +rendering.macro.uiextension.name=UI \u6269\u5C55 +rendering.macro.uiextension.description=\u63D2\u5165 UI \u6269\u5C55\u3002 +### Missing: rendering.macro.uiextension.parameter.id.name=identifier +### Missing: rendering.macro.uiextension.parameter.id.description=The unique identifier of the UI extension to insert. +### Missing: rendering.macro.uiextensions.name=UI Extensions +### Missing: rendering.macro.uiextensions.description=Insert UI extensions. +### Missing: rendering.macro.uiextensions.parameter.extensionPoint.name=extensionPoint +### Missing: rendering.macro.uiextensions.parameter.extensionPoint.description=The ID of the Extension Point to retrieve the {@link UIExtension}s for.