1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

update translations

This commit is contained in:
Luke Pulverenti 2014-11-14 01:27:10 -05:00
parent 98d59dbc02
commit 331142e568
12 changed files with 28 additions and 20 deletions

View file

@ -10,7 +10,7 @@
<form class="connectLoginForm" style="text-align: center; margin: 0 auto;"> <form class="connectLoginForm" style="text-align: center; margin: 0 auto;">
<h2 style="text-align: left;">${HeaderPleaseSignIn}</h2> <h2 style="text-align: left;">${HeaderSignInWithConnect}</h2>
<label for="txtManualName" style="text-align: left;">${LabelUser}</label> <label for="txtManualName" style="text-align: left;">${LabelUser}</label>
<input type="text" id="txtManualName" required="required" /> <input type="text" id="txtManualName" required="required" />

View file

@ -13,7 +13,6 @@
<a href="#" data-role="button" class="ui-btn-active">${TabDashboard}</a> <a href="#" data-role="button" class="ui-btn-active">${TabDashboard}</a>
<a href="dashboardgeneral.html" data-role="button">${TabSettings}</a> <a href="dashboardgeneral.html" data-role="button">${TabSettings}</a>
<a href="serversecurity.html" data-role="button">${TabSecurity}</a> <a href="serversecurity.html" data-role="button">${TabSecurity}</a>
<!--<a href="dashboardsync.html" data-role="button">${TabSync}</a>-->
</div> </div>
<div class="dashboardContent"> <div class="dashboardContent">
<div class="ui-bar-a welcomeMessage" style="display: none; padding: 2em; border-radius: 10px; margin: 2em 0; font-weight: normal; max-width: 800px;"> <div class="ui-bar-a welcomeMessage" style="display: none; padding: 2em; border-radius: 10px; margin: 2em 0; font-weight: normal; max-width: 800px;">

View file

@ -13,7 +13,6 @@
<a href="dashboard.html" data-role="button">${TabDashboard}</a> <a href="dashboard.html" data-role="button">${TabDashboard}</a>
<a href="#" data-role="button" class="ui-btn-active">${TabSettings}</a> <a href="#" data-role="button" class="ui-btn-active">${TabSettings}</a>
<a href="serversecurity.html" data-role="button">${TabSecurity}</a> <a href="serversecurity.html" data-role="button">${TabSecurity}</a>
<!--<a href="dashboardsync.html" data-role="button">${TabSync}</a>-->
</div> </div>
<form class="dashboardGeneralForm"> <form class="dashboardGeneralForm">

View file

@ -4,16 +4,15 @@
<title>${TitleServer}</title> <title>${TitleServer}</title>
</head> </head>
<body> <body>
<div id="dashboardSyncPage" data-role="page" class="page type-interior dashboardHomePage"> <div id="dashboardSyncPage" data-role="page" class="page type-interior devicesPage">
<div data-role="content"> <div data-role="content">
<div class="content-primary"> <div class="content-primary">
<div data-role="controlgroup" data-type="horizontal" class="localnav" data-mini="true"> <div data-role="controlgroup" data-type="horizontal" class="localnav" data-mini="true">
<a href="dashboard.html" data-role="button">${TabDashboard}</a> <a href="devices.html" data-role="button">${TabDevices}</a>
<a href="dashboardgeneral.html" data-role="button">${TabSettings}</a> <a href="devicesupload.html" data-role="button">${TabCameraUpload}</a>
<a href="serversecurity.html" data-role="button">${TabSecurity}</a> <a href="dashboardsync.html" data-role="button" class="ui-btn-active">${TabSync}</a>
<a href="#" data-role="button" class="ui-btn-active">${TabSync}</a>
</div> </div>
<div class="syncActivity"> <div class="syncActivity">

View file

@ -12,6 +12,7 @@
<div data-role="controlgroup" data-type="horizontal" class="localnav" data-mini="true"> <div data-role="controlgroup" data-type="horizontal" class="localnav" data-mini="true">
<a href="#" data-role="button" class="ui-btn-active">${TabDevices}</a> <a href="#" data-role="button" class="ui-btn-active">${TabDevices}</a>
<a href="devicesupload.html" data-role="button">${TabCameraUpload}</a> <a href="devicesupload.html" data-role="button">${TabCameraUpload}</a>
<a href="dashboardsync.html" data-role="button">${TabSync}</a>
</div> </div>
<div class="readOnlyContent"> <div class="readOnlyContent">

View file

@ -12,9 +12,9 @@
<div data-role="controlgroup" data-type="horizontal" class="localnav" data-mini="true"> <div data-role="controlgroup" data-type="horizontal" class="localnav" data-mini="true">
<a href="devices.html" data-role="button">${TabDevices}</a> <a href="devices.html" data-role="button">${TabDevices}</a>
<a href="#" data-role="button" class="ui-btn-active">${TabCameraUpload}</a> <a href="#" data-role="button" class="ui-btn-active">${TabCameraUpload}</a>
<a href="dashboardsync.html" data-role="button">${TabSync}</a>
</div> </div>
<div class="readOnlyContent"> <div class="readOnlyContent">
<p>${HeaderCameraUploadHelp}</p> <p>${HeaderCameraUploadHelp}</p>

View file

@ -66,15 +66,21 @@
clearProgressInterval(); clearProgressInterval();
var intervalTime = ApiClient.isWebSocketOpen() ? 1200 : 20000; var intervalTime = ApiClient.isWebSocketOpen() ? 1200 : 5000;
self.lastProgressReport = 0;
currentProgressInterval = setInterval(function () { currentProgressInterval = setInterval(function () {
if (self.currentMediaElement) { if (self.currentMediaElement) {
if ((new Date().getTime() - self.lastProgressReport) > intervalTime) {
self.lastProgressReport = new Date().getTime();
sendProgressUpdate(); sendProgressUpdate();
} }
}
}, intervalTime); }, 250);
}; };
self.getCurrentMediaExtension = function (currentSrc) { self.getCurrentMediaExtension = function (currentSrc) {
@ -779,7 +785,7 @@
self.setVolume(self.getSavedVolume() * 100); self.setVolume(self.getSavedVolume() * 100);
}; };
self.volume = function() { self.volume = function () {
return self.currentMediaElement.volume * 100; return self.currentMediaElement.volume * 100;
}; };
@ -1333,12 +1339,18 @@
self.onPlaystateChange(this); self.onPlaystateChange(this);
// In the event timeupdate isn't firing, at least we can update when this happens
self.setCurrentTime(self.getCurrentTicks());
}).on("playing.mediaplayerevent", function () { }).on("playing.mediaplayerevent", function () {
console.log('audio element event: playing'); console.log('audio element event: playing');
self.onPlaystateChange(this); self.onPlaystateChange(this);
// In the event timeupdate isn't firing, at least we can update when this happens
self.setCurrentTime(self.getCurrentTicks());
}).on("timeupdate.mediaplayerevent", function () { }).on("timeupdate.mediaplayerevent", function () {
self.setCurrentTime(self.getCurrentTicks(this)); self.setCurrentTime(self.getCurrentTicks(this));

View file

@ -2,7 +2,7 @@
var pageSizeKey = 'people'; var pageSizeKey = 'people';
var view = LibraryBrowser.getDefaultItemsView('Poster', 'List'); var view = LibraryBrowser.getDefaultItemsView('Poster', 'PosterCard');
// The base query options // The base query options
var query = { var query = {

View file

@ -1,6 +1,6 @@
(function ($, document) { (function ($, document) {
var view = LibraryBrowser.getDefaultItemsView('Poster', 'List'); var view = LibraryBrowser.getDefaultItemsView('Poster', 'PosterCard');
// The base query options // The base query options
var query = { var query = {

View file

@ -2,7 +2,7 @@
var pageSizeKey = 'people'; var pageSizeKey = 'people';
var view = LibraryBrowser.getDefaultItemsView('Poster', 'List'); var view = LibraryBrowser.getDefaultItemsView('Poster', 'PosterCard');
// The base query options // The base query options
var query = { var query = {

View file

@ -110,7 +110,6 @@
function isAvailable(item, user) { function isAvailable(item, user) {
return false;
return item.SupportsSync; return item.SupportsSync;
} }

View file

@ -13,7 +13,6 @@
<a href="dashboard.html" data-role="button">${TabDashboard}</a> <a href="dashboard.html" data-role="button">${TabDashboard}</a>
<a href="dashboardgeneral.html" data-role="button">${TabSettings}</a> <a href="dashboardgeneral.html" data-role="button">${TabSettings}</a>
<a href="#" data-role="button" class="ui-btn-active">${TabSecurity}</a> <a href="#" data-role="button" class="ui-btn-active">${TabSecurity}</a>
<!--<a href="dashboardsync.html" data-role="button">${TabSync}</a>-->
</div> </div>
<h2 style="margin-top: -10px;"> <h2 style="margin-top: -10px;">