You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
XWIKI-17700: Information tab doesn't show the right current locale when locale is none
* Pass the language parameter when requesting the document extra tabs
* Show a warning when a document with no language set has translations
* Don't show the Translate button for pages with no language set if the existing translations are for unsupported locales.
* Don't show the create translation links if the default translation has no language set.
Copy file name to clipboardExpand all lines: xwiki-platform-core/xwiki-platform-flamingo/xwiki-platform-flamingo-skin/xwiki-platform-flamingo-skin-resources/src/main/resources/flamingo/menus_content.vm
+7-4Lines changed: 7 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -59,15 +59,18 @@
59
59
## * multilingual is on
60
60
## * the user can edit the current document
61
61
## * the user is viewing the original document version
62
-
## * the document is translatable (either has a default locale specified or it has existing translations)
63
-
## * the current UI locale doesn't match the original document locale
62
+
## * the document is translatable (either has a default locale specified or it has existing translations for the
63
+
## supported locales)
64
+
## * the current UI locale doesn't match the original document locale, and there's no existing translation for it
Copy file name to clipboardExpand all lines: xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-templates/src/main/resources/templates/display_macros.vm
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -73,13 +73,15 @@
73
73
#foreach ($translationLocale in $doc.translationLocales)
Copy file name to clipboardExpand all lines: xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-templates/src/main/resources/templates/informationinline.vm
0 commit comments