summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@libreoffice.org>2017-09-07 09:24:10 -0300
committerOlivier Hallot <olivier.hallot@libreoffice.org>2017-09-07 15:07:37 +0200
commit12ea42f942dfdcc3aebf108e9190b2c5a8454313 (patch)
treeea8bd4d003cc16e7957e54b07db86c9c589ba1dc
parentbc645c22ce028ce5b690621e153db29cd20373ba (diff)
Helponline: add support for japanese in UI
* add japanese * correct Chinese Change-Id: I1d3b8929b44de75f0dca805c5d0cab319842ed64 Reviewed-on: https://gerrit.libreoffice.org/42053 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
-rw-r--r--help3xsl/localized.xsl6
-rw-r--r--help3xsl/online_transform.xsl4
2 files changed, 7 insertions, 3 deletions
diff --git a/help3xsl/localized.xsl b/help3xsl/localized.xsl
index 20ae761cb9..e44fa016cf 100644
--- a/help3xsl/localized.xsl
+++ b/help3xsl/localized.xsl
@@ -31,6 +31,7 @@ Stylesheet map language-dependent parameters and translation
<xsl:when test="$lang='hr'"><xsl:text>Sadržaj</xsl:text></xsl:when>
<xsl:when test="$lang='is'"><xsl:text>Efni</xsl:text></xsl:when>
<xsl:when test="$lang='it'"><xsl:text>Argomenti</xsl:text></xsl:when>
+ <xsl:when test="$lang='ja'"><xsl:text>目次</xsl:text></xsl:when>
<xsl:when test="$lang='lt'"><xsl:text>Turinys</xsl:text></xsl:when>
<xsl:when test="$lang='nb'"><xsl:text>Innhold</xsl:text></xsl:when>
<xsl:when test="$lang='nl'"><xsl:text>Inhoud</xsl:text></xsl:when>
@@ -42,7 +43,7 @@ Stylesheet map language-dependent parameters and translation
<xsl:when test="$lang='sq'"><xsl:text>Përmbajtja</xsl:text></xsl:when>
<xsl:when test="$lang='tr'"><xsl:text>İçindekiler</xsl:text></xsl:when>
<xsl:when test="$lang='zh-CN'"><xsl:text>目录</xsl:text></xsl:when>
- <xsl:when test="$lang='zh-TW'"><xsl:text>內容</xsl:text></xsl:when>
+ <xsl:when test="$lang='zh-TW'"><xsl:text>目錄</xsl:text></xsl:when>
<xsl:otherwise><xsl:text>Contents</xsl:text></xsl:otherwise>
</xsl:choose>
</xsl:template>
@@ -66,6 +67,7 @@ Stylesheet map language-dependent parameters and translation
<xsl:when test="$lang='hr'"><xsl:text>Indeks</xsl:text></xsl:when>
<xsl:when test="$lang='is'"><xsl:text>Atriðaskrá</xsl:text></xsl:when>
<xsl:when test="$lang='it'"><xsl:text>Indice</xsl:text></xsl:when>
+ <xsl:when test="$lang='ja'"><xsl:text>索引</xsl:text></xsl:when>
<xsl:when test="$lang='lt'"><xsl:text>Rodyklė</xsl:text></xsl:when>
<xsl:when test="$lang='nb'"><xsl:text>Stikkordsliste</xsl:text></xsl:when>
<xsl:when test="$lang='nl'"><xsl:text>Index</xsl:text></xsl:when>
@@ -101,6 +103,7 @@ Stylesheet map language-dependent parameters and translation
<xsl:when test="$lang='hr'"><xsl:text>Pronađi</xsl:text></xsl:when>
<xsl:when test="$lang='is'"><xsl:text>Leita</xsl:text></xsl:when>
<xsl:when test="$lang='it'"><xsl:text>Cerca</xsl:text></xsl:when>
+ <xsl:when test="$lang='ja'"><xsl:text>検索</xsl:text></xsl:when>
<xsl:when test="$lang='lt'"><xsl:text>Paieška</xsl:text></xsl:when>
<xsl:when test="$lang='nb'"><xsl:text>Finn</xsl:text></xsl:when>
<xsl:when test="$lang='nl'"><xsl:text>Zoeken</xsl:text></xsl:when>
@@ -136,6 +139,7 @@ Stylesheet map language-dependent parameters and translation
<xsl:when test="$lang='hr'"><xsl:text>Jezik</xsl:text></xsl:when>
<xsl:when test="$lang='is'"><xsl:text>Tungumál</xsl:text></xsl:when>
<xsl:when test="$lang='it'"><xsl:text>Lingua</xsl:text></xsl:when>
+ <xsl:when test="$lang='ja'"><xsl:text>言語</xsl:text></xsl:when>
<xsl:when test="$lang='lt'"><xsl:text>Kalba</xsl:text></xsl:when>
<xsl:when test="$lang='nb'"><xsl:text>Språk</xsl:text></xsl:when>
<xsl:when test="$lang='nl'"><xsl:text>Tal</xsl:text></xsl:when>
diff --git a/help3xsl/online_transform.xsl b/help3xsl/online_transform.xsl
index d6c9a509f9..c8be6611a8 100644
--- a/help3xsl/online_transform.xsl
+++ b/help3xsl/online_transform.xsl
@@ -208,8 +208,8 @@
<li><a href="{$productversion}/ug{$htmlpage}">ئۇيغۇرچە</a></li>
<li><a href="{$productversion}/uk{$htmlpage}">Українська</a></li>
<li><a href="{$productversion}/vi{$htmlpage}">Tiếng Việt</a></li>
- <li><a href="{$productversion}/zh-CN{$htmlpage}">中文</a></li>
- <li><a href="{$productversion}/zh-TW{$htmlpage}">中文(台灣)</a></li>
+ <li><a href="{$productversion}/zh-CN{$htmlpage}">中文 (简体字)</a></li>
+ <li><a href="{$productversion}/zh-TW{$htmlpage}">中文 (正體字)‬</a></li>
</ul>
</xsl:if>
</header>
0-4 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/charrightshift.cxx
AgeCommit message (Collapse)Author
2020-07-19Adapt to Clang 12 trunk RecursiveASTVisitor changeStephan Bergmann
<https://github.com/llvm/llvm-project/commit/ 5689b38c6a4220cc5f6ba68a56486229b10071bf> "Removed a RecursiveASTVisitor feature to visit operator kinds with different methods". That change is incompatible in that before the change individual TraverseUnary* and TraverseBin* functions were called, while now TraverseUnaryOperator and TraverseBinaryOperator/TraverseCompoundAssignOperator are called for all the different operators. Fixed that with a few #if for the non-shared plugins, but that doesn't work for the shared plugin. So made the two affected plugins non- shared for now and left a better fix as a TODO. Change-Id: I5b87d329ae2c4c93bf605bb1ecc9641039f014a3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99000 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2019-03-12make (some) clang plugins share the same RecursiveASTVisitorLuboš Luňák
Each plugin currently uses its own recursive AST run, which adds up. This patch adds another shared plugin which internally contains all (suitable) plugins and dispatches to them from the same one recursive run. This patch converts ~25 plugins and for starmath's accessibility.cxx reduces clang build time from 5.43s to 5.14s (and it's 4.39s without any plugins). As there are almost 50 more plugins to go, this can theoretically result in 4.56s final time, although probably not all plugins can be that easily converted, if at all. This mostly requires very little change in many plugins (see e.g. BadStatics), some even work without any functionality change (e.g. CharRightShift). Traverse* calls require some changes but are often not that difficult. WalkUp* probably can't be supported, although some plugins can(?) possibly be adjusted to not rely on them. And of course some plugins can be left as they are, using their own recursive run. See description at the top of generator.cxx for description of how to convert a plugin. The sharedvisitor.cxx source is generated based on scanning relevant plugin sources using a clang-based scanner/generator. The generated source is intentionally included instead of getting always generated, as the generating currently takes some time, so it should get updated in git whenever a change in a plugin triggers a source change in it. Change-Id: Ia0d2e3a5a464659503dbb4ed6c20b6cc89b4de01 Reviewed-on: https://gerrit.libreoffice.org/68026 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2018-08-23filter out AST in more pluginsNoel Grandin
I seem to have missed quite a few in commit 9f4d23c15115d64febd6bf01f870cc157badd350 filter out some of the AST in the plugins This nets me another 14% improvement Change-Id: I39b980b49ced560f768045dbedd3ddfef29306c1 Reviewed-on: https://gerrit.libreoffice.org/59501 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>