diff options
| -rw-r--r-- | www/js/DataModel.js | 3 | ||||
| -rw-r--r-- | www/js/WizardCtrl.js | 38 | ||||
| -rw-r--r-- | www/lang/locale-en.json | 210 | ||||
| -rw-r--r-- | www/templates/events-modal.html | 14 | ||||
| -rw-r--r-- | www/templates/montage.html | 2 | ||||
| -rw-r--r-- | www/templates/wizard.html | 10 |
6 files changed, 150 insertions, 127 deletions
diff --git a/www/js/DataModel.js b/www/js/DataModel.js index 69ef8ba9..ab4326c9 100644 --- a/www/js/DataModel.js +++ b/www/js/DataModel.js @@ -28,7 +28,7 @@ angular.module('zmApp.controllers') var languages = [ {text:'English', value:'en'}, - {text:'Italian', value:'it'}, + {text:'Italian', value:'it'} ]; var serverGroupList={}; @@ -592,6 +592,7 @@ angular.module('zmApp.controllers') setDefaultLanguage: function(l, permanent) { + if (!l) l='en'; var d = $q.defer(); if (permanent) window.localStorage.setItem("defaultLang", l); diff --git a/www/js/WizardCtrl.js b/www/js/WizardCtrl.js index 10bffde9..dc9ceccb 100644 --- a/www/js/WizardCtrl.js +++ b/www/js/WizardCtrl.js @@ -45,13 +45,13 @@ angular.module('zmApp.controllers').controller('zmApp.WizardCtrl', ['$scope', '$ if (data.indexOf(zm.loginScreenString) == -1) { $scope.wizard.loginURL = $scope.wizard.fqportal; - $scope.wizard.portalValidText = "Portal: "+$scope.wizard.loginURL; + $scope.wizard.portalValidText = $translate.instant('kPortal')+": "+$scope.wizard.loginURL; $scope.wizard.portalColor = "#16a085"; d.resolve(true); return d.promise; } else { console.log("************ERROR"); - $scope.wizard.portalValidText = "Portal: detection failed"; + $scope.wizard.portalValidText = $translate.instant('kPortalDetectionFailed'); $scope.wizard.portalColor = "#e74c3c"; d.reject(false); return d.promise; @@ -59,7 +59,7 @@ angular.module('zmApp.controllers').controller('zmApp.WizardCtrl', ['$scope', '$ }) .error (function (error) { console.log("************ERROR"); - $scope.wizard.portalValidText = "Portal: detection failed"; + $scope.wizard.portalValidText = $translate.instant('kPortalDetectionFailed'); $scope.wizard.portalColor = "#e74c3c"; d.reject(false); return d.promise; @@ -274,7 +274,7 @@ angular.module('zmApp.controllers').controller('zmApp.WizardCtrl', ['$scope', '$ function (error) { $ionicLoading.hide(); console.log ("No cgi-bin found: " + error); - $scope.wizard.streamingValidText = "cgi-bin detection failed"; + $scope.wizard.streamingValidText = $translate.instant('kPortalCgiBinFailed'); $scope.wizard.streamingColor = "#e74c3c"; d.reject (false); return (d.promise); @@ -283,7 +283,7 @@ angular.module('zmApp.controllers').controller('zmApp.WizardCtrl', ['$scope', '$ }, function (error){ $ionicLoading.hide(); - $scope.wizard.streamingValidText = "cgi-bin detection failed. No configured/enabled monitor found."; + $scope.wizard.streamingValidText = $translate.instant('kPortalCgiBinFailed')+" -"+$translate.instant('kPortalNoMonitorFound'); $scope.wizard.streamingColor = "#e74c3c"; d.reject (false); return (d.promise); @@ -336,7 +336,7 @@ angular.module('zmApp.controllers').controller('zmApp.WizardCtrl', ['$scope', '$ }, function (error) { console.log ("No APIs found: " + error); - $scope.wizard.apiValidText = "API detection failed"; + $scope.wizard.apiValidText = $translate.instant('kPortalAPIFailed'); $scope.wizard.apiColor = "#e74c3c"; d.reject (false); return (d.promise); @@ -518,7 +518,7 @@ angular.module('zmApp.controllers').controller('zmApp.WizardCtrl', ['$scope', '$ function (error) { $ionicLoading.hide(); ZMDataModel.zmLog("zmWizard: login failed"); - $scope.wizard.portalValidText = "Portal login was unsuccessful. Please go back and review your settings"; + $scope.wizard.portalValidText = $translate.instant('kPortalLoginUnsuccessful'); $scope.wizard.portalColor = "#e74c3c"; return d.resolve(true); @@ -606,10 +606,10 @@ angular.module('zmApp.controllers').controller('zmApp.WizardCtrl', ['$scope', '$ if (!$scope.wizard.portalurl) { $rootScope.zmPopup = SecuredPopups.show('show', { - title: 'Whoops!', - template: 'Portal url cannot be empty', + title: $translate.instant('kError'), + template: $translate.instant ('kPortalEmpty'), buttons: [{ - text: 'Ok' + text: $translate.instant ('kButtonOk') }] }); @@ -624,11 +624,11 @@ angular.module('zmApp.controllers').controller('zmApp.WizardCtrl', ['$scope', '$ $rootScope.zmPopup = $ionicPopup.show({ - title: 'No protocol specified', + title: $translate.instant('kPortalNoProto'), scope: $scope, - template: 'Please select: <ion-radio-fix ng-repeat="item in portalproto" ng-value="item.value" ng-model="myproto.proto">{{item.text}}</ion-radio-fix>', + template: $translate.instant('kPortalPleaseSelect')+': <ion-radio-fix ng-repeat="item in portalproto" ng-value="item.value" ng-model="myproto.proto">{{item.text}}</ion-radio-fix>', buttons: [{ - text: 'Ok', + text: $translate.instant ('kButtonOk'), onTap: function(e) { ZMDataModel.zmDebug ("Protocol selected:" + $scope.myproto.proto); @@ -649,10 +649,10 @@ angular.module('zmApp.controllers').controller('zmApp.WizardCtrl', ['$scope', '$ if (!c.scheme) { $rootScope.zmPopup = SecuredPopups.show('show', { - title: 'Whoops!', - template: 'URL seems invalid (no protocol detected)', + title: $translate.instant('kError'), + template: $translate.instant('kPortalInvalidUrl'), buttons: [{ - text: 'Ok' + text: $translate.instant ('kButtonOk') }] }); @@ -695,9 +695,9 @@ angular.module('zmApp.controllers').controller('zmApp.WizardCtrl', ['$scope', '$ $scope.toggleTip = function () { $scope.wizard.tipshow = !$scope.wizard.tipshow; if ($scope.wizard.tipshow) - $scope.wizard.tiptext = "hide tip"; + $scope.wizard.tiptext = $translate.instant('kHideTip'); else - $scope.wizard.tiptext = "show tip"; + $scope.wizard.tiptext = $translate.instant('kShowTip'); }; $scope.gotoLoginState = function() @@ -718,7 +718,7 @@ angular.module('zmApp.controllers').controller('zmApp.WizardCtrl', ['$scope', '$ var monId = -1; $scope.wizard = { tipshow: false, - tiptext: "show tip", + tiptext: $translate.instant('kShowTip'), useauth: false, usebasicauth: false, usezmauth: false, diff --git a/www/lang/locale-en.json b/www/lang/locale-en.json index d6f301ee..952f7f52 100644 --- a/www/lang/locale-en.json +++ b/www/lang/locale-en.json @@ -1,21 +1,24 @@ { "k1MonthSummary" :"1 month summary", - "kProtect" :"protect", + "kPlaceHolderBasicAuthPass" :"basic auth password", + "kAwake2" :"(when viewing footage)", "kWizPasswdNote" :"note: if your password has #?@& in it, the wizard may fail cgi detection. Its best if you temporarily change the password to a simple one, run the wizard and then change it back later", "kFallback2Configs" :"You need to have at least 2 distinct configurations created for a fallback", + "kPortalEmpty" :"Portal url cannot be empty", "kEnterPin" :"Enter PIN", "kLogs" :"Logs", - "kFootage" :"Footage", + "kPortalInvalidUrl" :"URL seems invalid (no protocol detected)", + "kNextMonitor" :"next monitor", "kStop" :"Stop", "kWizAuthText1" :"Confused? ZM Auth is the authentication used when you enable OPT_USE_AUTH in the ZM console options screen.", - "kFilterByDateTime" :"Filter by Date/Time", + "kToDate" :"To Date", "kToastSearchingPage" :"searching page ", "kWizAuthText2" :"Basic Auth is when you configure a username and password in your webserver. If you are using LDAP authentication, its likely basic auth.", "kFilterSettings" :"Filter Settings", "kDeletingEvent" :"deleting event", "kDeveloperOptionsFor" :"Developer Options for", - "kDeleteEventError2" :"please check logs", - "kChromeMax" :"max of 5 monitors - chrome limit", + "kWizBasicAuth" :"I use basic authentication", + "kProfileChangeNotification" :"You have changed from {{oldName}} to {{newName}}. Please save this profile first", "kMonNodect" :"Nodect", "kAuthSuccess" :"authentication success", "kMenuDevSettings" :"Developer Settings", @@ -23,60 +26,63 @@ "kSelectFallback" :"Select fallback", "kReportEvents" :"report events", "kButtonCancel" :"Cancel", - "kType" :"type", - "kFitScreen" :"fit screen", + "kMonRecord" :"record", + "kErrorFrameBanner" :"could not retrieve frame details", "kButtonNo" :"No", "kExampleServer" :"eg. My House", "kButtonClear" :"Clear", "kRecordingProgress" :"recording in progress", "kMinVersion" :"Minimum Required Version", "kZMStopped" :"stopped", + "kRestart" :"Restart", "kMonIdle" :"idle", "kWorkingOnGraph" :"working on graph data", "kEnableDebug" :"Enable debug logs", "kSensitiveTitle" :"Sensitive Information", "kDay" :"Day", "kAlarmMaxFPS" :"Alarm Max FPS", - "kLoginValidAPIFailedTitle" :"Login validated but API failed", + "kEnableNewsUpdates" :"enable news updates", "kPTZNotReady" :"Not ready for PTZ", + "kSelectLanguage" :"Select Language", "kFromDate" :"From Date", "kFilterEvents" :"Filter Events", "kLatestEvents" :"Latest Events", "kWizNextStep3" :"Go to the login screen with these findings auto filled in", - "kRefresh" :"refresh", "kTrying" :"trying", "kSelectRunState" :"Select run state", + "kPleaseWait" :"please wait", "kPleaseCheckCredentials" :"Please check your credentials", "kPrevMonitor" :"prev. monitor", + "kPortalCgiBinFailed" :"cgi-bin detection failed", "kCurrentState" :"current state", - "kDeleteEventError1" :"could not delete event", - "kMenuTitle" :"Options", - "kImpMsg2" :"I'd appreciate if you upgraded ZoneMinder", - "kDevOptions" :"Dev. Settings", + "kAlarmFrameCount" :"Alarm Frame Count", "kMonAlert" :"alert", - "kSuccess" :"Success", + "kMenuOptions" :"Menu", "kVersionIncompatible" :"I am incompatible with your ZoneMinder version", "kUnknown" :"(unknown)", - "kPersistHidden" :"Persist hidden monitors", - "kValidNameBasicAuth" :"Please enter a valid username and password for Mbasic auth", + "kPinProtect" :"PIN Protect", + "kValidNameBasicAuth" :"Please enter a valid username and password for basic auth", "kEvent" :"event", "kEventView" :"Event View", "kWizNextStep2" :"Go back to previous steps and re-do", "kWizNextStep1" :"Once auto-detection is over, you could either", "kMinAlarmCount" :"Minimum alarm count", "kCancellingAlarm" :"cancelling alarm", - "kLoadingMonitors" :"loading monitors", "kBodyPortalNotConfigured" :"Please fill in your login details as well as portal URL and save it before you try to detect the cgi-path", + "kMonitors" :"Monitors", "kTimelineOnlyDisplaying1" :"only displaying last {{maxItemsVal}} events", - "kPortalUrl" :"ZM portal url", + "kBannerAPICheckFailed" :"API check failed", + "kPlaceHolderZMAuthUser" :"zm auth user name", + "kFastRewind" :"fast rewind", "kPleaseConfirm" :"Please Confirm", "kMenuLogs" :"Logs", "kCredentialsBody" :"Please provide your ZoneMinder credentials", "kShowing" :"Showing", "kDiscoveringAPI" :"discovering api", "kSwipeToChangeMon" :"Swipe to change monitors", - "kMenuOptions" :"Menu", "kReAuthenticating" :"re-authenticating", + "kPortalNoProto" :"No protocol specifiedd", + "kExpert" :"Expert", "kChangeSettingsFor" :"Change settings for", "kToTime" :"To Time", "kForcingAlarm" :"forcing alarm", @@ -85,20 +91,24 @@ "kLoad" :"load", "kExitFullScreen" :"exit full screen", "kMenuMontage" :"Montage", - "kAnalyze" :"Analyze", - "kPaused" :"paused", + "kPause" :"pause", + "kMenuZMSettings" :"Settings", + "kDelete" :"Delete", "kNext" :"Next", + "kReportedVersion" :"Reported Version", + "kPlaceHolderBasicAuthUser" :"basic auth user name", "kEventServerVersionBody1" :"You are running version", "kChangeState" :"Change State", - "kResumeDelay" :"resume delay", + "kPortalAPIFailed" :"API detection failed", "kUseSSL" :"Use SSL", "kPathToCgi" :"path to cgi-bin", + "kSearchCancelled" :"search cancelled", "kCleaningUp" :"cleaning up", "kReconfirmPin" :"Reconfirm PIN", "kScore" :"score", - "kAuthenticating" :"authenticating", - "kApiUrl" :"ZM api url", + "kFitScreen" :"fit screen", "kExploreEnjoy" :"Please explore the menu and enjoy", + "kShowTip" :"show tip", "kServerAdd" :"Add", "kErrorRetrievingFrames" :"error retrieving frames", "kMode" :"Mode", @@ -106,28 +116,30 @@ "kWarningLargeTimeline" :"A large value can affect timeline performance. If you find timeline performance slow, try reducing the value to 200 and work your way up from there.", "kWizConfigPain" :"Configuring ZoneMinder can be a pain. Let's see if zmWizard can help.", "k1DaySummary" :"1 day summary", - "kMonModect" :"Modect", + "kPrev" :"Prev", "kStateShowControls" :"Show ZoneMinder Controls", - "kMaxItemsForTimeline" :"Max. items for Timeline", + "kNews" :"News", "kWizPortalAuth" :"Portal Authentication", + "kTimelineMessage" :"double-tap exits. touch/mouse-over and drag over items to see frames", "kMonMonitor" :"Monitor", - "kErrorRetrievingState" :"error retrieving state", + "kNoMonitors" :"No monitors to display", "kApplyingChanges" :"Applying changes. Please wait", "kMenuExit" :"Exit", "kDisablePush" :"disable APNS/GCM", "kOff" :"off", - "kDiscoveringCGI" :"discovering cgi", "kButtonYes" :"Yes", "k1HourSummary" :"1 hour summary", - "kLoginValidatedTitle" :"Login Validated", + "kPortalUrl" :"ZM portal url", "kOneAuth" :"You need to enable at least one authentication mechanism", - "kMonRecord" :"record", + "kPortalPleaseSelect" :"Please select", + "kH264VideoSupport" :"H264 Video support", "kButtonSave" :"Save", + "kSearch" :"search", "kEventsCap" :"Events", - "kMaxMonitorsMontage" :"Max monitors in montage", + "kPleaseTryAgain" :"please try again", "kTitlePortalNotConfigured" :"Portal not configured", "kWeek" :"Week", - "kConfiguration" :"Configuration", + "kFrameUpdate" :"Frame update", "kGraphError" :"there was an error rendering the graph. Please see logs", "kNegotiatingStreamAuth" :"negotiating stream authentication", "kLoginStatusNoCgiAlt" :"The cgi-bin path you entered may be wrong. I can't make sure, but if your live views don't work, please review your cgi path or try using the discover feature.", @@ -135,12 +147,12 @@ "kNoEvents" :"No events to display", "kStart" :"Start", "kErrorPleaseTryAgain" :"please try again", - "kMaxFPS" :"Max FPS", "kBannerPinMismatch" :"Pin code mismatch", "kErrorSave" :"Error - could not save", "kTo" :"to", "kEventServerConfig1" :"Please make sure your ZM settings are configured and saved before you configure the event server", "kMenuMonitors" :"Monitors", + "kMenuSystemStatus" :"System Status", "kEnableLogs" :"Enable logs", "kMenuEvents" :"Events", "kLiveView" :"Live View", @@ -148,44 +160,45 @@ "kEventServerVersionTitle" :"Event Server version not supported", "kZMUpgradeNeeded" :"ZoneMinder upgrade needed", "kOnTapNavigate" :"on tap, navigate to", - "kResolution" :"Resolution", "kSettingsSaved" :"Settings Saved", - "kWizBasicAuth" :"I use basic authentication", - "kStatus" :"Status", - "kReportedVersion" :"Reported Version", - "kOperationInProgressTitle" :"Operation in Progress", - "kSelectLanguage" :"Select Language", + "kDeleteEventError2" :"please check logs", + "kUserName" :"user name", + "kType" :"type", + "kDeleteEventError1" :"could not delete event", + "kResumeDelay" :"resume delay", "kWizZMAuth" :"I use ZM authentication", - "kErrorChangingMonitors" :"Error changing monitors. Please check logs", + "kMonPreAlarm" :"pre-alarm", + "kHideTip" :"hide tip", "kMenuNews" :"News", "kLanguage" :"Language", "kWelcomeWizard" :"Welcome to zmWizard", - "kMonMocord" :"Mocord", + "kMonNone" :"None", "kEventSingleImageScale" :"Event single image scale", + "kOnlyUseWebSocket" :"only use websockets", "kSec" :"sec", - "kDelete" :"Delete", - "kNoMonitors" :"No monitors to display", - "kEventNavVidFeeds" :"Event navigation is not available with video feeds. ZoneMinder doesn't yet support them", + "kMaxItemsForTimeline" :"Max. items for Timeline", + "kErrorRetrievingState" :"error retrieving state", + "kNormalPlay" :"normal play", "kClear" :"Clear", - "kNews" :"News", "kMontage" :"Montage", "kVersion" :"Version", "kCheckCredentials" :"Please check your credentials", "kLoginStatusNoCgi" :"Login validated, but could not validate cgi-path. If live streams don't work please check your cgi-bin path or try using the discover feature", - "kMenuSystemStatus" :"System Status", + "kMaxMonitorsMontage" :"Max monitors in montage", "kPTZ" :"pan/tilt/zoom", - "kMonPreAlarm" :"pre-alarm", + "kErrorChangingMonitors" :"Error changing monitors. Please check logs", "kUseVideoControls" :"Please use video player controls for H264 events. ZoneMinder doesn't yet support zms controls", "kUseEventServer" :"Use event server", "kEventMontage" :"Event Montage", + "kPortal" :"Portal", "kAt" :"at", - "kCalcEventSize" :"calculating events size", - "kForceAlarmConfirm" :"Are you sure you want to force an alarm for Monitor:", + "kFastForward" :"fast forward", "kFallback" :"Fallback configuration", "kIncreaseSize" :"increase size", "kEvents" :"events", - "kExpert" :"Expert", + "kImpMsg2" :"I'd appreciate if you upgraded ZoneMinder", "kImpMsg3" :"You are running", + "kThanksForUsing" :"Thanks for using", "kImpMsg1" :"Important Message", "kImpMsg6" :"Recommended Version", "kFillScreen" :"fill screen", @@ -199,107 +212,116 @@ "kExitAppBackground" :"exit app in background", "kWizGotoLogin" :"Go to Login Screen", "kFilterEventsBetween2" :"Do you want to delete this filter?", - "kScrub" :"Scrub", - "kDiscoveringPortal" :"discovering portal", - "kSensitiveBody" :"will modify the logs when creating the final output to remove sensitive data like urls and passwords. However it is eventually your responsibility to make sure there is no sensitive data in the logs. Please make sure you review and edit the logs before you send it out", - "kFilterOn" :"Filter On", + "kLoginValidAPIFailedTitle" :"Login validated but API failed", + "kMenuHelp" :"Help", + "kFilterByDateTime" :"Filter by Date/Time", "kTitleNotLoggedInBody" :"It doesn't look like you are logged in. For detection to work, you must fill in your login details, portal URL and then tap on Save. Then come back to this feature.", "kZMRunning" :"running", + "kAlarmAPIError" :"error - please make sure your API supports this feature", "kWizTip" :"Tip", - "kPleaseWait" :"please wait", + "kMonModect" :"Modect", "kMenuTimeline" :"Timeline", "kUseZmAuth" :"use ZM authentication", "kEventServer" :"Event Server", "kWizard" :"Wizard", "kStateAreYouSure" :"Are you sure you want to ", - "kShowingEvent" :"showing event", + "kTitleNotLoggedIn" :"Not logged in", "kGraphAll" :"all", - "kMenuZMSettings" :"Settings", + "kAnalyze" :"Analyze", "kCustomRange" :"Custom Range", "kCredentialsTitle" :"Credentials Required", - "kPleaseTryAgain" :"please try again", + "kPersistHidden" :"Persist hidden monitors", + "kMonth" :"Month", "kWizPortalTip" :"Confused? You can easily find out your portal URL by noting down the url you see on your browser when accessing the ZoneMinder Console.", "kFrames" :"frames", "kWizUseAuth" :"I use authentication", "kId" :"Id", - "kWizResults" :"Results of auto-detection", + "kZMSettingsFor" :"ZoneMinder settings for", "kExitLiveView" :"exit live view", - "kRestart" :"Restart", + "kImpMsg7" :"Ok, got it", + "kOperationInProgressTitle" :"Operation in Progress", "kArrangingImages" :"arranging images", "kHideMonsWithoutEvents" :"Hide monitors without events", - "kEnableNewsUpdates" :"enable news updates", + "kShowingEvent" :"showing event", "kAwake1" :"Keep display on", "kPullToReload" :"pull to reload data", - "kAwake2" :"(when viewing footage)", + "kProtect" :"protect", "kMontageImageScale" :"Montage image scale", "kDone" :"done", "kNoMoreEvents" :"no more events", "kServerName" :"Server Name", - "kPrev" :"Prev", + "kDiscoveringPortal" :"discovering portal", "kServerEmptyError" :"Server Name cannot be empty", "kError" :"Error", - "kOnlyUseWebSocket" :"only use websockets", + "kNextEvent" :"next event", + "kPortalDetectionFailed" :"Portal: detection failed", + "kEventNavVidFeeds" :"Event navigation is not available with video feeds. ZoneMinder doesn't yet support them", "kGraphAlarmed" :"alarmed", - "kThanksForUsing" :"Thanks for using", - "kEnable24hr" :"enable 24hr time format", + "kRefresh" :"refresh", "kAlarms" :"Alarms", "kButtonOk" :"OK", "kEventServerVersionBody2" :"Please upgrade to", - "kImpMsg7" :"Ok, got it", - "kEventMontageImageScale" :"Event Montage image scale", + "kLoginValidatedTitle" :"Login Validated", + "kLoadingMonitors" :"loading monitors", "kShowAlarmedEvents" :"Show alarmed events", "kTimelineControlDisplay" :"tap:view event, double-tap:view frame graph", "kPlaybackInterval" :"playback interval", "kLoadingGraph" :"loading graph", + "kShowAllEvents" :"Show all events", "kPresets" :"presets", "kSavingSnapshot" :"saving snapshot", + "kPortalLoginUnsuccessful" :"Portal login was unsuccessful. Please go back and review your settings", "kManageServerGroups" :"Manage Server Groups", "kPassword" :"password", - "kErrorFrameBanner" :"could not retrieve frame details", - "kMenuWizard" :"Wizard", - "kSearch" :"search", + "kChromeMax" :"max of 5 monitors - chrome limit", + "kFilterOn" :"Filter On", + "kConfiguration" :"Configuration", "kFrom" :"From", "kWizPortalUrl" :"What is your Zoneminder portal url?", "kDeleteEventSuccess" :"deleted event", "kMinimumIntervals" :"minimum interval", - "kShowAllEvents" :"Show all events", - "kNextMonitor" :"next monitor", + "kDevOptions" :"Dev. Settings", + "kMenuTitle" :"Options", "kTimeline" :"Timeline", - "kMenuHelp" :"Help", + "kEnable24hr" :"enable 24hr time format", "kDeleteLogsConfirm" :"Are you sure you want to delete logs?", - "kBannerPleaseCheck" :"Please check settings", "kReset" :"Reset", - "kWizPortalText" :"Lets talk about how you have configured authentication If you have enabled authentication, toggle this button", + "kEventMontageImageScale" :"Event Montage image scale", + "kPaused" :"paused", + "kPlaceHolderZMAuthPass" :"zm auth password", "k1WeekSummary" :"1 week summary", "kLoading" :"loading", "kMonAlarmed" :"alarmed", "kSystemStatus" :"System Status", "kSpeed" :"speed", - "kMonitors" :"Monitors", + "kMenuWizard" :"Wizard", + "kBannerPleaseCheck" :"Please check settings", "kFrame" :"frame", - "kToDate" :"To Date", + "kWizResults" :"Results of auto-detection", "kSwitchingEvents" :"switching events", - "kProfileChangeNotification" :"You have changed from {{oldName}} to {{newName}}. Please save this profile first", - "kUserName" :"user name", + "kCalcEventSize" :"calculating events size", + "kStatus" :"Status", "kSave" :"Save", - "kMonNone" :"None", - "kFrameUpdate" :"Frame update", + "kMonMocord" :"Mocord", + "kFilterEventsBetween1" :"You are viewing events between", + "kForceAlarmConfirm" :"Are you sure you want to force an alarm for Monitor:", "kSettings" :"Settings", - "kMonth" :"Month", + "kAuthenticating" :"authenticating", + "kPrevEvent" :"prev. event", + "kValidNameZMAuth" :"Please enter a valid username and password for ZM auth", "kRecaptcha" :"Looks like you have enabled reCaptcha. It needs to be turned off for the app to work", - "kZMSettingsFor" :"ZoneMinder settings for", - "kSearchCancelled" :"search cancelled", - "kFilterEventsBetween1" :"You are viewing events between", - "kPinProtect" :"PIN Protect", + "kResolution" :"Resolution", + "kFootage" :"Footage", + "kScrub" :"Scrub", + "kDiscoveringCGI" :"discovering cgi", "kPTZnotConfigured" :"PTZ not configured for this monitor", - "kBannerAPICheckFailed" :"API check failed", - "kTitleNotLoggedIn" :"Not logged in", - "kTimelineMessage" :"double-tap exits. touch/mouse-over and drag over items to see frames", + "kApiUrl" :"ZM api url", "kOperationInProgressBody" :"The previous operation is still in progress. Please wait...", - "kAlarmFrameCount" :"Alarm Frame Count", - "kH264VideoSupport" :"H264 Video support", - "kAlarmAPIError" :"error - please make sure your API supports this feature", + "kWizPortalText" :"Lets talk about how you have configured authentication If you have enabled authentication, toggle this button", + "kPortalNoMonitorFound" :"No configured/enabled monitor found", + "kSuccess" :"Success", + "kSensitiveBody" :"will modify the logs when creating the final output to remove sensitive data like urls and passwords. However it is eventually your responsibility to make sure there is no sensitive data in the logs. Please make sure you review and edit the logs before you send it out", "kPleaseSave" :"Please Save", "kDiscovering" :"discovering", - "kValidNameZMAuth" :"Please enter a valid username and password for ZM auth" + "kMaxFPS" :"Max FPS" } diff --git a/www/templates/events-modal.html b/www/templates/events-modal.html index 238b6cb6..3eb8140a 100644 --- a/www/templates/events-modal.html +++ b/www/templates/events-modal.html @@ -81,10 +81,10 @@ </ion-modal-view> - <nav mfb-menu position="tr" effect="zoomin" label="collapse" active-icon="ion-chevron-up" resting-icon="ion-chevron-down" toggling-method="click"> + <nav mfb-menu position="tr" effect="zoomin" label="{{'kCollapse'|translate}}" active-icon="ion-chevron-up" resting-icon="ion-chevron-down" toggling-method="click"> - <a mfb-button icon="ion-arrow-right-c" label="next event" ng-click="jumpToEvent(nextId,1);"></a> - <a mfb-button icon="ion-arrow-left-c" label="prev. event" ng-click="jumpToEvent(prevId,-1);"></a> + <a mfb-button icon="ion-arrow-right-c" label="{{'kNextEvent'|translate}}" ng-click="jumpToEvent(nextId,1);"></a> + <a mfb-button icon="ion-arrow-left-c" label="{{'kPrevEvent'|translate}}" ng-click="jumpToEvent(prevId,-1);"></a> <a mfb-button icon="ion-arrow-resize" label="{{imageFit?'fill screen':'fit screen'}}" ng-click="scaleImage();"></a> <a mfb-button icon="ion-close" label="exit event view" ng-click="closeModal()"> </a> @@ -94,11 +94,11 @@ <nav ng-if="loginData.useNphZmsForEvents" mfb-menu position="br" effect="zoomin" label="collapse" active-icon="ion-chevron-down" resting-icon="ion-chevron-up" toggling-method="click"> - <a mfb-button icon="ion-skip-backward" label="fast rewind" ng-click="adjustSpeed('fr');"></a> - <a mfb-button icon="ion-skip-forward" label="fast forward" ng-click="adjustSpeed('ff');"></a> - <a mfb-button icon="ion-play" label="normal play" ng-click="adjustSpeed('np');"></a> + <a mfb-button icon="ion-skip-backward" label="{{'kFastRewind'|translate}}" ng-click="adjustSpeed('fr');"></a> + <a mfb-button icon="ion-skip-forward" label="{{'kFastForward'|translate}}" ng-click="adjustSpeed('ff');"></a> + <a mfb-button icon="ion-play" label="{{'kNormalPlay'|translate}}" ng-click="adjustSpeed('np');"></a> - <a mfb-button icon="ion-pause" label="pause" ng-click="adjustSpeed('p');"> </a> + <a mfb-button icon="ion-pause" label="{{'kPause'|translate}}" ng-click="adjustSpeed('p');"> </a> </nav> diff --git a/www/templates/montage.html b/www/templates/montage.html index 04245903..43340041 100644 --- a/www/templates/montage.html +++ b/www/templates/montage.html @@ -118,7 +118,7 @@ </ion-content> <div ng-show="minimal"> - <nav mfb-menu position="br" effect="zoomin" label="{['kCollapse' | translate}}" active-icon="ion-chevron-down" resting-icon="ion-chevron-up" toggling-method="click"> + <nav mfb-menu position="br" effect="zoomin" label="{{'kCollapse' | translate}}" active-icon="ion-chevron-down" resting-icon="ion-chevron-up" toggling-method="click"> <button mfb-button icon="ion-arrow-expand" label="{{'kIncreaseSize' | translate}}" ng-click="sliderChanged(1)"> </button> diff --git a/www/templates/wizard.html b/www/templates/wizard.html index 5c222f76..c8fc3be5 100644 --- a/www/templates/wizard.html +++ b/www/templates/wizard.html @@ -18,7 +18,7 @@ <h4>{{'kWizPortalUrl' | translate}}</h4> <label class="item item-input"> - <input autocapitalize="none" autocomplete="off" type="text" placeholder="typically http://server/zm" ng-model="wizard.portalurl"> + <input autocapitalize="none" autocomplete="off" type="text" placeholder="e.g. http://server/zm" ng-model="wizard.portalurl"> </label> <a class="button icon-left ion-information-circled button-clear button-dark" ng-click="toggleTip()">{{wizard.tiptext}}</a> @@ -49,11 +49,11 @@ <div ng-if="wizard.usezmauth"> <label class="item item-input item-floating-label" > <span class="input-label">{{'kUserName' | translate}}</span> - <input autocapitalize="none" autocomplete="off" type="text" ng-model="wizard.zmuser" placeholder="zm auth username" > + <input autocapitalize="none" autocomplete="off" type="text" ng-model="wizard.zmuser" placeholder="{{'kPlaceHolderZMAuthUser'|translate}}" > </label> <label class="item item-text-wrap item-input item-floating-label" > <span class="input-label">{{'kPassword' | translate}}</span> - <input type="password" ng-model="wizard.zmpassword" placeholder="zm auth password" > + <input type="password" ng-model="wizard.zmpassword" placeholder="{{'kPlaceHolderZMAuthPass'|translate}}" > <!--<p >{{'kWizPasswdNote' | translate}}</p>--> </label> </div> @@ -61,11 +61,11 @@ <ion-toggle ng-show="wizard.useauth" ng-model="wizard.usebasicauth" ng-checked="wizard.usebasicauth" toggle-class="toggle-calm">{{'kWizBasicAuth' | translate}}</ion-toggle> <label class="item item-input item-floating-label" ng-show="wizard.usebasicauth"> <span class="input-label">{{'kUserName' | translate}}</span> - <input autocapitalize="none" autocomplete="off" type="text" ng-model="wizard.basicuser" placeholder="basic auth username" > + <input autocapitalize="none" autocomplete="off" type="text" ng-model="wizard.basicuser" placeholder="{{'kPlaceHolderBasicAuthUser'|translate}}" > </label> <label class="item item-input item-text-wrap item-floating-label" ng-show="wizard.usebasicauth"> <span class="input-label">{{'kPassword' | translate}}</span> - <input type="password" ng-model="wizard.basicpassword" placeholder="basic auth password" > + <input type="password" ng-model="wizard.basicpassword" placeholder="{{'kPlaceHolderBasicAuthPass'|translate}}" > <p>{{'kWizPasswdNote' | translate}}</p> </label> |
