From e02f5e315d288ff661805866149227988f612357 Mon Sep 17 00:00:00 2001 From: Michal Heppler Date: Sat, 3 Oct 2020 00:15:59 +0200 Subject: [PATCH 01/83] Added Czech translate. All messages in lang.php are translated, except configuration messages. --- lang/cs/lang.php | 104 +++++++++++++++++++++++++++++++++++++++++++ lang/cs/settings.php | 17 +++++++ lang/cs/style.txt | 1 + 3 files changed, 122 insertions(+) create mode 100755 lang/cs/lang.php create mode 100755 lang/cs/settings.php create mode 100755 lang/cs/style.txt diff --git a/lang/cs/lang.php b/lang/cs/lang.php new file mode 100755 index 0000000..acf9ac9 --- /dev/null +++ b/lang/cs/lang.php @@ -0,0 +1,104 @@ + .li'] = 'Top-level list items'; + +$lang['header_layout'] = 'Adjust header layout:'; +$lang['header_layout_o_default'] = 'generous header layout for long wiki titel and tagline'; +$lang['header_layout_o_compact'] = 'compact header layout for short wiki title and hidden tagline'; + diff --git a/lang/cs/style.txt b/lang/cs/style.txt new file mode 100755 index 0000000..8e132de --- /dev/null +++ b/lang/cs/style.txt @@ -0,0 +1 @@ +Pokud chcete zménit //favicon//, jednoduše použijte Správu médií pro nahrátí ''favicon.ico'' do prostoru ''wiki'' nebo ''root''. Potom bude ikona automaticky použita. Pokud máte neveřejnou wiki, je doporučené nastavit prostor ''wiki'' (nebo root) čitelný pro všechny, jinak favicon nebude zobrazena nepřihlášeným uživatelům. From 8edb28433351362a0579c9bf91cecbdd96c62d88 Mon Sep 17 00:00:00 2001 From: Michal Heppler Date: Sat, 3 Oct 2020 00:25:37 +0200 Subject: [PATCH 02/83] Translated lang/cs/settings.php --- lang/cs/settings.php | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/lang/cs/settings.php b/lang/cs/settings.php index b37442c..adc7401 100755 --- a/lang/cs/settings.php +++ b/lang/cs/settings.php @@ -1,17 +1,16 @@ .li'] = 'Top-level list items'; +$lang['sidebar_sections'] = 'Automaticky přepínat postranní panel do sekcí na těchto prvcích:'; +$lang['sidebar_sections_o_h1'] = '!. nadpis v pořadí'; +$lang['sidebar_sections_o_h1,h2'] = '1. a 2. nadpisy v pořadí'; +$lang['sidebar_sections_o_h1,h2,h3,h4,h5'] = 'Všechny nadpisy'; +$lang['sidebar_sections_o_li.level1 > .li'] = 'První položka v seznamu'; -$lang['header_layout'] = 'Adjust header layout:'; -$lang['header_layout_o_default'] = 'generous header layout for long wiki titel and tagline'; -$lang['header_layout_o_compact'] = 'compact header layout for short wiki title and hidden tagline'; +$lang['header_layout'] = 'Nastavit rozvrže`ní záhlaví:'; +$lang['header_layout_o_default'] = 'široké záhlaví s dlouhým nadpisem a sloganem'; +$lang['header_layout_o_compact'] = 'kompaktní záhlaví s krátkým nadpisem a skrytým sloganem'; From 2710cc95d8cd175d44c258f33a8d4199b2c3cf5b Mon Sep 17 00:00:00 2001 From: GHSRobert Ciang Date: Fri, 30 Oct 2020 07:05:06 +0100 Subject: [PATCH 03/83] translation update --- lang/zh-tw/lang.php | 13 +++++++++++++ lang/zh-tw/settings.php | 10 ++++++++++ lang/zh-tw/style.txt | 1 + 3 files changed, 24 insertions(+) create mode 100644 lang/zh-tw/lang.php create mode 100644 lang/zh-tw/settings.php create mode 100644 lang/zh-tw/style.txt diff --git a/lang/zh-tw/lang.php b/lang/zh-tw/lang.php new file mode 100644 index 0000000..003e4ad --- /dev/null +++ b/lang/zh-tw/lang.php @@ -0,0 +1,13 @@ + + */ +$lang['head_menu_trace'] = '最近瀏覽的頁面'; +$lang['head_menu_tool-select'] = '工具'; +$lang['tab_tags'] = '標籤'; +$lang['quality_trigger'] = '顯示/隱藏頁面分析'; +$lang['prefix_tasks_page'] = '此頁尚未完成的工作:'; +$lang['tasks_page_none'] = '此頁工作都已完成'; diff --git a/lang/zh-tw/settings.php b/lang/zh-tw/settings.php new file mode 100644 index 0000000..991a7e1 --- /dev/null +++ b/lang/zh-tw/settings.php @@ -0,0 +1,10 @@ + + */ +$lang['sidebar_sections_o_li.level1 > .li'] = '上層清單項目'; +$lang['header_layout_o_default'] = '寬裕的頁首佈局(適用於較長的 wiki 標題及副標題)'; +$lang['header_layout_o_compact'] = '精簡的頁首佈局(適用於較短的 wiki 標題及隱藏副標題)'; diff --git a/lang/zh-tw/style.txt b/lang/zh-tw/style.txt new file mode 100644 index 0000000..d0ea161 --- /dev/null +++ b/lang/zh-tw/style.txt @@ -0,0 +1 @@ +若您想變更 favicon,只要將一個 ''favicon.ico'' 檔案上傳到 ''wiki'' 或 root 分類名稱下,系統就會自動使用該檔案。如果您使用封閉的 wiki,建議您在 ACL 設定中將 ''wiki''(或 root)分類名稱設為公開,不然未登入的使用者將無法看到您的 favicon。 \ No newline at end of file From 11b00783f8075957b243f08fdf0af45a007079fd Mon Sep 17 00:00:00 2001 From: Frieder Schrempf Date: Sun, 18 Apr 2021 16:14:08 +0200 Subject: [PATCH 04/83] Use direct links for sidebar elements with only a single subitem If a sidebar toggler contains only a single item with a link, there is no need to create a toggler with subnav at all. Let's just remove the subnav and link to the target directly. Signed-off-by: Frieder Schrempf --- js/sidebar.js | 38 ++++++++++++++++++++++++-------------- 1 file changed, 24 insertions(+), 14 deletions(-) diff --git a/js/sidebar.js b/js/sidebar.js index bb33be1..21cedfa 100644 --- a/js/sidebar.js +++ b/js/sidebar.js @@ -124,7 +124,6 @@ jQuery(function () { ; $toggler = jQuery('