Skip to content

Commit

Permalink
Localization
Browse files Browse the repository at this point in the history
  • Loading branch information
lakejason0 committed Jul 22, 2021
1 parent 8502438 commit b47bc7f
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 6 deletions.
3 changes: 2 additions & 1 deletion i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@
"skinname-lakeus": "Lakeus",
"lakeus-skin-desc": "A simple skin by [https://github.com/lakejason0 Lakejason0], which is named after a character in their novels",
"lakeus.css": "/* All CSS here will be loaded for users of the Lakeus skin */",
"lakeus.js": "/* All JavaScript here will be loaded for users of the Lakeus skin */"
"lakeus.js": "/* All JavaScript here will be loaded for users of the Lakeus skin */",
"lakeus-openmainmenu": "Open main menu"
}
3 changes: 2 additions & 1 deletion i18n/qqq.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"skinname-lakeus": "{{name}}",
"lakeus-skin-desc": "{{desc|what=skin|name=Lakeus|url=https://www.mediawiki.org/wiki/Skin:Lakeus}}",
"lakeus.css": "{{optional}}",
"lakeus.js": "{{optional}}"
"lakeus.js": "{{optional}}",
"lakeus-openmainmenu": "The title and label for the sidebar menu"
}
3 changes: 2 additions & 1 deletion i18n/zh-hans.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"skinname-lakeus": "Lakeus",
"lakeus-skin-desc": "以作者[https://github.com/lakejason0 Lakejason0]的小说角色命名的简易皮肤",
"lakeus.css": "/* 这里放置的CSS将影响使用Lakeus皮肤的用户 */",
"lakeus.js": "/* 这里的任何JavaScript将为使用Lakeus皮肤的用户加载 */"
"lakeus.js": "/* 这里的任何JavaScript将为使用Lakeus皮肤的用户加载 */",
"lakeus-openmainmenu": "打开主菜单"
}
3 changes: 2 additions & 1 deletion i18n/zh-hant.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@
"skinname-lakeus": "Lakeus",
"lakeus-skin-desc": "以作者[https://github.com/lakejason0 Lakejason0]的小說角色命名的簡易外觀",
"lakeus.css": "/* 此處所有的CSS都會在使用者使用Lakeus外觀時載入 */",
"lakeus.js": "/* 此處所有的JavaScript都會在使用者使用Lakeus外觀時載入 */"
"lakeus.js": "/* 此處所有的JavaScript都會在使用者使用Lakeus外觀時載入 */",
"lakeus-openmainmenu": "開啟主選單"
}
3 changes: 2 additions & 1 deletion skin.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
"sitetitle",
"search",
"otherlanguages",
"tagline"
"tagline",
"lakeus-openmainmenu"
],
"styles": [
"mediawiki.ui.icon",
Expand Down
2 changes: 1 addition & 1 deletion templates/Sidebar.mustache
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div class="toggle-list">
<input type="checkbox" id="sidebar-input" class="toggle-list__checkbox" role="button">
<label for="sidebar-input"
class="toggle-list__toggle sidebar__icon" title="Open main menu">Open main menu</label>
class="toggle-list__toggle sidebar__icon" title="{{msg-lakeus-openmainmenu}}">{{msg-lakeus-openmainmenu}}</label>
<div class="toggle-list__list">
{{#data-portlets-sidebar}}
{{#data-portlets-first}}{{>Portlet}}{{/data-portlets-first}}
Expand Down

0 comments on commit b47bc7f

Please sign in to comment.