Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix compilation error and improve translations #474

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2,331 changes: 1,227 additions & 1,104 deletions dist/js/kodi-webinterface.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/themes/base/css/base.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/js/apps/album/show/tpl/details_meta.jst.eco
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<li class="btn-flat-add add"><%= tr('Queue') %></li>
<li class="btn-flat-stream localplay"><%= tr('Stream') %></li>
<li class="more-actions dropdown">
<span class="btn-flat-more" data-toggle="dropdown" aria-expanded="true"><%= tr('more') %></span>
<span class="btn-flat-more" data-toggle="dropdown" aria-expanded="true"><%= tr('More') %></span>
<ul class="dropdown-menu pull-right">
<li class="localadd"><%= tr('Add to playlist') %></li>
<li class="divider"></li>
Expand Down
2 changes: 1 addition & 1 deletion src/js/apps/artist/show/tpl/details_meta.jst.eco
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<li class="btn-flat-add add"><%= tr('Queue') %></li>
<li class="btn-flat-stream localplay"><%= tr('Stream') %></li>
<li class="more-actions dropdown">
<span class="btn-flat-more" data-toggle="dropdown" aria-expanded="true"><%= tr('more') %></span>
<span class="btn-flat-more" data-toggle="dropdown" aria-expanded="true"><%= tr('More') %></span>
<ul class="dropdown-menu pull-right">
<li class="localadd"><%= tr('Add to playlist') %></li>
<li class="divider"></li>
Expand Down
4 changes: 2 additions & 2 deletions src/js/apps/movie/show/tpl/details_meta.jst.eco
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@
<li class="btn-flat-add add"><%= tr('Queue') %></li>
<li class="btn-flat-stream stream"><%= t.gettext('Stream') %></li>
<li class="btn-flat-watched watched">
<%= t.gettext('set') %> <span class="action-watched"><%= t.gettext('watched') %></span><span class="action-unwatched"><%= t.gettext('unwatched') %></span>
<span class="action-watched"><%= t.gettext('Set Watched') %></span><span class="action-unwatched"><%= t.gettext('Set Unwatched') %></span>
</li>
<li class="more-actions dropdown">
<span class="btn-flat-more" data-toggle="dropdown" aria-expanded="true"><%= tr('more') %></span>
<span class="btn-flat-more" data-toggle="dropdown" aria-expanded="true"><%= tr('More') %></span>
<ul class="dropdown-menu pull-right">
<li class="download"><%= tr('Download') %></li>
<li class="divider"></li>
Expand Down
2 changes: 1 addition & 1 deletion src/js/apps/musicvideo/show/tpl/details_meta.jst.eco
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<li class="btn-flat-add add"><%= tr('Queue') %></li>
<li class="btn-flat-stream localplay"><%= tr('Stream') %></li>
<li class="more-actions dropdown">
<span class="btn-flat-more" data-toggle="dropdown" aria-expanded="true"><%= tr('more') %></span>
<span class="btn-flat-more" data-toggle="dropdown" aria-expanded="true"><%= tr('More') %></span>
<ul class="dropdown-menu pull-right">
<li class="download"><%= tr('Download') %></li>
<li class="divider"></li>
Expand Down
12 changes: 6 additions & 6 deletions src/js/apps/settings/show/local/local_controller.js.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
getStructure: ->
[
{
title: 'General options'
title: tr('General options')
id: 'general'
children:[
{id: 'lang', title: tr("Language"), type: 'select', options: helpers.translate.getLanguages(), defaultValue: 'en', description: tr('Preferred language, need to refresh browser to take effect')}
Expand All @@ -45,7 +45,7 @@
]
}
{
title: 'List options'
title: tr('List options')
id: 'list'
children:[
{id: 'ignoreArticle', title: tr("Ignore article"), type: 'checkbox', defaultValue: true, description: tr("Ignore articles (terms such as 'The' and 'A') when sorting lists")}
Expand All @@ -54,7 +54,7 @@
]
}
{
title: 'Appearance'
title: tr('Appearance')
id: 'appearance'
children:[
{id: 'vibrantHeaders', title: tr("Vibrant headers"), type: 'checkbox', defaultValue: true, description: tr("Use colourful headers for media pages")}
Expand All @@ -63,10 +63,10 @@
]
}
{
title: 'Advanced options'
title: tr('Advanced options')
id: 'advanced'
children:[
{id: 'socketsPort', title: tr("Websockets port"), type: 'textfield', defaultValue: '9090', description: "9090 " + tr("is the default")}
{id: 'socketsPort', title: tr("Websockets port"), type: 'textfield', defaultValue: '9090', description: t.sprintf(tr("%s is the default"), 9090)}
{id: 'socketsHost', title: tr("Websockets host"), type: 'textfield', defaultValue: 'auto', description: tr("The hostname used for websockets connection. Set to 'auto' to use the current hostname.")}
{id: 'pollInterval', title: tr("Poll interval"), type: 'select', defaultValue: '10000', options: {'5000': "5 " + tr('sec'), '10000': "10 " + tr('sec'), '30000': "30 " + tr('sec'), '60000': "60 " + tr('sec')}, description: tr("How often do I poll for updates from Kodi (Only applies when websockets inactive)")}
{id: 'kodiSettingsLevel', title: tr("Kodi settings level"), type: 'select', defaultValue: 'standard', options: {'standard': 'Standard', 'advanced': 'Advanced', 'expert': 'Expert'}, description: tr('Advanced setting level is recommended for those who know what they are doing.')}
Expand All @@ -75,7 +75,7 @@
]
}
{
title: 'API Keys'
title: tr('API Keys')
id: 'apikeys'
children:[
{id: 'apiKeyTMDB', title: tr("The Movie DB"), type: 'textfield', defaultValue: '', description: tr("Set your personal API key")}
Expand Down
4 changes: 2 additions & 2 deletions src/js/apps/tvshow/episode/tpl/details_meta.jst.eco
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@
<li class="btn-flat-add add"><%= tr('Queue') %></li>
<li class="btn-flat-stream stream"><%= tr('Stream') %></li>
<li class="btn-flat-watched watched">
<%= t.gettext('set') %> <span class="action-watched"><%= tr('watched') %></span><span class="action-unwatched"><%= tr('unwatched') %></span>
<span class="action-watched"><%= tr('Set Watched') %></span><span class="action-unwatched"><%= tr('Set Unwatched') %></span>
</li>
<li class="more-actions dropdown">
<span class="btn-flat-more" data-toggle="dropdown" aria-expanded="true"><%= tr('more') %></span>
<span class="btn-flat-more" data-toggle="dropdown" aria-expanded="true"><%= tr('More') %></span>
<ul class="dropdown-menu pull-right">
<li class="download"><%= tr('Download') %></li>
<li class="divider"></li>
Expand Down
2 changes: 1 addition & 1 deletion src/js/apps/tvshow/season/tpl/details_meta.jst.eco
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<li class="btn-flat-play play"><%= tr('Play') %></li>
<li class="btn-flat-add add"><%= tr('Queue') %></li>
<li class="btn-flat-watched watched">
<%= tr('set') %> <span class="action-watched"><%= tr('watched') %></span><span class="action-unwatched"><%= tr('unwatched') %></span>
<span class="action-watched"><%= tr('Set Watched') %></span><span class="action-unwatched"><%= tr('Set Unwatched') %></span>
</li>
</ul>

Expand Down
4 changes: 2 additions & 2 deletions src/js/apps/tvshow/show/tpl/details_meta.jst.eco
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@
<li class="btn-flat-play play"><%= tr('Play') %></li>
<li class="btn-flat-add add"><%= tr('Queue') %></li>
<li class="btn-flat-watched watched">
<%= tr('set') %> <span class="action-watched"><%= tr('watched') %></span><span class="action-unwatched"><%= tr('unwatched') %></span>
<span class="action-watched"><%= tr('Set Watched') %></span><span class="action-unwatched"><%= tr('Set Unwatched') %></span>
</li>
<li class="more-actions dropdown">
<span class="btn-flat-more" data-toggle="dropdown" aria-expanded="true"><%= tr('more') %></span>
<span class="btn-flat-more" data-toggle="dropdown" aria-expanded="true"><%= tr('More') %></span>
<ul class="dropdown-menu pull-right">
<li class="dropdown-submenu internal-search"><%= tr('Chorus Search') %>
<ul class="dropdown-menu">
Expand Down
10 changes: 7 additions & 3 deletions src/lang/_strings/af.po
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ msgid ""
msgstr ""

msgctxt ""
msgid "is the default"
msgid "%s is the default"
msgstr ""

msgctxt ""
Expand Down Expand Up @@ -766,7 +766,11 @@ msgid "total"
msgstr ""

msgctxt ""
msgid "set"
msgid "Set Watched"
msgstr ""

msgctxt ""
msgid "Set Unwatched"
msgstr ""

msgctxt ""
Expand Down Expand Up @@ -1158,7 +1162,7 @@ msgid "Instruments"
msgstr ""

msgctxt ""
msgid "more"
msgid "More"
msgstr ""

msgctxt ""
Expand Down
10 changes: 7 additions & 3 deletions src/lang/_strings/am.po
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ msgid ""
msgstr ""

msgctxt ""
msgid "is the default"
msgid "%s is the default"
msgstr ""

msgctxt ""
Expand Down Expand Up @@ -766,7 +766,11 @@ msgid "total"
msgstr ""

msgctxt ""
msgid "set"
msgid "Set Watched"
msgstr ""

msgctxt ""
msgid "Set Unwatched"
msgstr ""

msgctxt ""
Expand Down Expand Up @@ -1158,7 +1162,7 @@ msgid "Instruments"
msgstr ""

msgctxt ""
msgid "more"
msgid "More"
msgstr ""

msgctxt ""
Expand Down
10 changes: 7 additions & 3 deletions src/lang/_strings/ar.po
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ msgid ""
msgstr ""

msgctxt ""
msgid "is the default"
msgid "%s is the default"
msgstr ""

msgctxt ""
Expand Down Expand Up @@ -782,7 +782,11 @@ msgid "total"
msgstr ""

msgctxt ""
msgid "set"
msgid "Set Watched"
msgstr ""

msgctxt ""
msgid "Set Unwatched"
msgstr ""

msgctxt ""
Expand Down Expand Up @@ -1174,7 +1178,7 @@ msgid "Instruments"
msgstr ""

msgctxt ""
msgid "more"
msgid "More"
msgstr ""

msgctxt ""
Expand Down
10 changes: 7 additions & 3 deletions src/lang/_strings/ast.po
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ msgid ""
msgstr ""

msgctxt ""
msgid "is the default"
msgid "%s is the default"
msgstr ""

msgctxt ""
Expand Down Expand Up @@ -766,7 +766,11 @@ msgid "total"
msgstr ""

msgctxt ""
msgid "set"
msgid "Set Watched"
msgstr ""

msgctxt ""
msgid "Set Unwatched"
msgstr ""

msgctxt ""
Expand Down Expand Up @@ -1158,7 +1162,7 @@ msgid "Instruments"
msgstr ""

msgctxt ""
msgid "more"
msgid "More"
msgstr ""

msgctxt ""
Expand Down
10 changes: 7 additions & 3 deletions src/lang/_strings/az.po
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ msgid ""
msgstr ""

msgctxt ""
msgid "is the default"
msgid "%s is the default"
msgstr ""

msgctxt ""
Expand Down Expand Up @@ -766,7 +766,11 @@ msgid "total"
msgstr ""

msgctxt ""
msgid "set"
msgid "Set Watched"
msgstr ""

msgctxt ""
msgid "Set Unwatched"
msgstr ""

msgctxt ""
Expand Down Expand Up @@ -1158,7 +1162,7 @@ msgid "Instruments"
msgstr ""

msgctxt ""
msgid "more"
msgid "More"
msgstr ""

msgctxt ""
Expand Down
10 changes: 7 additions & 3 deletions src/lang/_strings/be.po
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ msgid ""
msgstr ""

msgctxt ""
msgid "is the default"
msgid "%s is the default"
msgstr ""

msgctxt ""
Expand Down Expand Up @@ -770,7 +770,11 @@ msgid "total"
msgstr ""

msgctxt ""
msgid "set"
msgid "Set Watched"
msgstr ""

msgctxt ""
msgid "Set Unwatched"
msgstr ""

msgctxt ""
Expand Down Expand Up @@ -1162,7 +1166,7 @@ msgid "Instruments"
msgstr ""

msgctxt ""
msgid "more"
msgid "More"
msgstr ""

msgctxt ""
Expand Down
10 changes: 7 additions & 3 deletions src/lang/_strings/bg.po
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ msgid ""
msgstr ""

msgctxt ""
msgid "is the default"
msgid "%s is the default"
msgstr ""

msgctxt ""
Expand Down Expand Up @@ -766,7 +766,11 @@ msgid "total"
msgstr ""

msgctxt ""
msgid "set"
msgid "Set Watched"
msgstr ""

msgctxt ""
msgid "Set Unwatched"
msgstr ""

msgctxt ""
Expand Down Expand Up @@ -1158,7 +1162,7 @@ msgid "Instruments"
msgstr ""

msgctxt ""
msgid "more"
msgid "More"
msgstr ""

msgctxt ""
Expand Down
10 changes: 7 additions & 3 deletions src/lang/_strings/bs.po
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ msgid ""
msgstr ""

msgctxt ""
msgid "is the default"
msgid "%s is the default"
msgstr ""

msgctxt ""
Expand Down Expand Up @@ -770,7 +770,11 @@ msgid "total"
msgstr ""

msgctxt ""
msgid "set"
msgid "Set Watched"
msgstr ""

msgctxt ""
msgid "Set Unwatched"
msgstr ""

msgctxt ""
Expand Down Expand Up @@ -1162,7 +1166,7 @@ msgid "Instruments"
msgstr ""

msgctxt ""
msgid "more"
msgid "More"
msgstr ""

msgctxt ""
Expand Down
Loading
Loading