summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rw-r--r--www/lang/locale-en.json6
-rwxr-xr-xwww/lang/locale-nl.json6
-rw-r--r--www/templates/devoptions.html2
-rw-r--r--www/templates/eventserversettings.html4
-rw-r--r--www/templates/login.html10
-rw-r--r--www/templates/montage-history.html2
-rw-r--r--www/templates/timeline.html2
-rw-r--r--www/templates/wizard.html2
8 files changed, 23 insertions, 11 deletions
diff --git a/www/lang/locale-en.json b/www/lang/locale-en.json
index 41d5a6f6..33f4f5ab 100644
--- a/www/lang/locale-en.json
+++ b/www/lang/locale-en.json
@@ -10,6 +10,7 @@
"kAll" :"All",
"kAnalyze" :"Analyze",
"kApiUrl" :"ZM api url",
+ "kApiUrlExample" :"e.g. server/zm/api",
"kApplyingChanges" :"Applying changes. Please wait",
"kArrangingImages" :"arranging images",
"kAt" :"at",
@@ -22,6 +23,7 @@
"kBannerCannotDeleteNeedOne" :"Cannot delete, need at least one",
"kBannerPinMismatch" :"Pin code mismatch",
"kBannerPleaseCheck" :"Please check settings",
+ "kBeCareful" :"be careful",
"kBodyPortalNotConfigured" :"Please fill in your login details as well as portal URL and save it before you try to detect the cgi-path",
"kButtonCancel" :"Cancel",
"kButtonClear" :"Clear",
@@ -91,6 +93,7 @@
"kEventMontage" :"Event Montage",
"kEventMontageImageScale" :"Event Montage image scale",
"kEventNavVidFeeds" :"Event navigation is not available with video feeds. ZoneMinder doesn't yet support them",
+ "kEventNotificationUrl" :"event notification url",
"kEventRecording" :"Event Recording",
"kEventServer" :"Event Server",
"kEventServerConfig1" :"Please make sure your ZM settings are configured and saved before you configure the event server",
@@ -144,6 +147,7 @@
"kHideMonsWithoutEvents" :"Hide monitors without events",
"kHideTip" :"hide tip",
"kHighBWDisplay" :"high bandwidth",
+ "kHours" :"hours",
"kId" :"Id",
"kImages" :"Images",
"kImpMsg1" :"Important Message",
@@ -241,6 +245,7 @@
"kPTZnotConfigured" :"PTZ not configured for this monitor",
"kPassword" :"password",
"kPathToCgi" :"path to cgi-bin",
+ "kPathToCgiExample" :"e.g. server/zm/cgi-bin",
"kPause" :"pause",
"kPaused" :"paused",
"kPersistHidden" :"Persist hidden monitors",
@@ -268,6 +273,7 @@
"kPortalNoticeSub" :"(Swipe right to access the menu)",
"kPortalPleaseSelect" :"Please select",
"kPortalUrl" :"ZM portal url",
+ "kPortalUrlExample" :"e.g. server/zm",
"kPresets" :"presets",
"kPrev" :"Prev",
"kPrevEvent" :"prev. event",
diff --git a/www/lang/locale-nl.json b/www/lang/locale-nl.json
index 529db990..f9972592 100755
--- a/www/lang/locale-nl.json
+++ b/www/lang/locale-nl.json
@@ -10,6 +10,7 @@
"kAll" :"Alles",
"kAnalyze" :"Analyseer",
"kApiUrl" :"ZM api url",
+ "kApiUrlExample" :"bijv. server/zm/api",
"kApplyingChanges" :"Veranderingen toepassen. Even geduld",
"kArrangingImages" :"afbeeldingen rangschikken",
"kAt" :"op",
@@ -22,6 +23,7 @@
"kBannerCannotDeleteNeedOne" :"Verwijderen onmogelijk, tenminste één benodigd",
"kBannerPinMismatch" :"Foute pincode",
"kBannerPleaseCheck" :"Controleer instellingen",
+ "kBeCareful" :"voorzichtig",
"kBodyPortalNotConfigured" :"Eerst zowel login gegevens als portaal URL invullen en opslaan voordat u probeerd de cgi-map te detecteren",
"kButtonCancel" :"Annuleren",
"kButtonClear" :"Opschonen",
@@ -91,6 +93,7 @@
"kEventMontage" :"Event overzicht",
"kEventMontageImageScale" :"Event overzicht afbeelding schalen",
"kEventNavVidFeeds" :"Gebeurtenis navigatie is niet beschikbaar bij video feeds. ZoneMinder ordersteunt dit nog niet",
+ "kEventNotificationUrl" :"gebeurtenis notificatie url",
"kEventRecording" :"Gebeurtenis opnemen",
"kEventServer" :"Event server",
"kEventServerConfig1" :"Sla eerst uw ZM instellingen op voordat u de event server configureert",
@@ -144,6 +147,7 @@
"kHideMonsWithoutEvents" :"Verberg monitors zonder gebeurtenissen",
"kHideTip" :"Verberg tip",
"kHighBWDisplay" :"hoge bandbreedte",
+ "kHours" :"uren",
"kId" :"Id",
"kImages" :"Afbeeldingen",
"kImpMsg1" :"Belangrijke boodschap",
@@ -241,6 +245,7 @@
"kPTZnotConfigured" :"PTZ niet geconfigureerd voor deze monitori",
"kPassword" :"Wachtwoord",
"kPathToCgi" :"map naar cgi-bin",
+ "kPathToCgiExample" :"bijv. server/zm/cgi-bin",
"kPause" :"pauze",
"kPaused" :"onderbroken",
"kPersistHidden" :"Aanhoudend verborgen monitoren",
@@ -268,6 +273,7 @@
"kPortalNoticeSub" :"(Swipe rechts voor menu toegang)",
"kPortalPleaseSelect" :"Maak selectie",
"kPortalUrl" :"ZM portaal url",
+ "kPortalUrlExample" :"bijv. server/zm",
"kPresets" :"voorinstellingen",
"kPrev" :"Vorige",
"kPrevEvent" :"vorige gebeurtenis",
diff --git a/www/templates/devoptions.html b/www/templates/devoptions.html
index 00a90880..c9ab87c6 100644
--- a/www/templates/devoptions.html
+++ b/www/templates/devoptions.html
@@ -45,7 +45,7 @@
<div class="item item-text-wrap item-input-inset">
{{'kMaxMonitorsMontage' | translate }}&nbsp;
<label class="item-input-wrapper">
- <input type="tel" placeholder="be careful" ng-model="loginData.maxMontage">
+ <input type="tel" placeholder="{{'kBeCareful' | translate}}" ng-model="loginData.maxMontage">
</label>
</div>
<!--
diff --git a/www/templates/eventserversettings.html b/www/templates/eventserversettings.html
index 393eb61b..622a0aee 100644
--- a/www/templates/eventserversettings.html
+++ b/www/templates/eventserversettings.html
@@ -17,7 +17,7 @@
</ion-item>
<label class="item item-input item-floating-label" ng-if="loginData.isUseEventServer">
<span class="input-label">{{'kEventServer' | translate}}</span>
- <input autocapitalize="none" autocomplete="off" autocorrect="off" type="text" placeholder="Event notification url" ng-model="loginData.eventServer">
+ <input autocapitalize="none" autocomplete="off" autocorrect="off" type="text" placeholder="{{'kEventNotificationUrl' | translate}}" ng-model="loginData.eventServer">
</label>
<ion-toggle ng-if="loginData.isUseEventServer" ng-model="loginData.disablePush" ng-checked="loginData.disablePush" toggle-class="toggle-calm" class="item-text-wrap">{{'kOnlyUseWebSocket'| translate }}
<br/>
@@ -46,7 +46,7 @@
<ion-item class="item-accordion" ng-show="isGroupShown(monitor)">
<div class="item-input-inset">
<label class="item-input-wrapper">
- <input type="tel" placeholder="sec." ng-model="monitor.Monitor.reportingInterval">
+ <input type="tel" placeholder="{{'kSec' | translate}}" ng-model="monitor.Monitor.reportingInterval">
</label>
&nbsp;{{'kMinimumIntervals' | translate}}
</div>
diff --git a/www/templates/login.html b/www/templates/login.html
index f351016a..55c7befa 100644
--- a/www/templates/login.html
+++ b/www/templates/login.html
@@ -33,28 +33,28 @@
<div ng-if="check.isUseAuth">
<label class="item item-input item-floating-label">
<span class="input-label">{{'kUserName'|translate}}</span>
- <input autocapitalize="none" autocomplete="off" autocorrect="off" type="text" placeholder="username" ng-model="loginData.username">
+ <input autocapitalize="none" autocomplete="off" autocorrect="off" type="text" placeholder="{{'kUsername' | translate}}" ng-model="loginData.username">
</label>
<label class="item item-input item-floating-label">
<span class="input-label">{{'kPassword' | translate}}</span>
- <input type="password" placeholder="password" ng-model="loginData.password">
+ <input type="password" placeholder="{{'kPassword' | translate}}" ng-model="loginData.password">
</label>
</div>
</div>
<label class="item item-input item-floating-label">
<span class="input-label">{{'kPortalUrl' | translate}}</span>
- <input hidepassword autocapitalize="none" autocomplete="off" autocorrect="off" type="text" placeholder="ZM portal url " ng-model="loginData.url" ng-keyup="portalKeypress($event)">
+ <input hidepassword autocapitalize="none" autocomplete="off" autocorrect="off" type="text" placeholder="{{'kPortalUrlExample' | translate}}" ng-model="loginData.url" ng-keyup="portalKeypress($event)">
</label>
<!--<button class="button button-small button-clear icon-left ion-wand" ng-click="detectCgi()">tap here to discover cgi-bin
</button>-->
<label class="item item-input item-floating-label">
<!--<span style="float:right;margin-top:-7px;background-color:#6d0909;color:#fff;font-size:14px;opacity:0.7;width:90px;border-radius: 0px 0px 5px 5px;" on-tap="detectCgi();">&nbsp;&nbsp;&nbsp;<i class="ion-wand"></i>discover</span>-->
<span class="input-label">{{'kPathToCgi' | translate}}</span>
- <input hidepassword autocapitalize="none" autocomplete="off" autocorrect="off" type="text" placeholder="eg. server.com/zm/cgi-bin" ng-model="loginData.streamingurl">
+ <input hidepassword autocapitalize="none" autocomplete="off" autocorrect="off" type="text" placeholder="{{'kPathToCgiExample' | translate}}" ng-model="loginData.streamingurl">
</label>
<label class="item item-input item-floating-label">
<span class="input-label">{{'kApiUrl' | translate}}</span>
- <input hidepassword autocapitalize="none" autocomplete="off" autocorrect="off" type="text" placeholder="ZM api url" ng-model="loginData.apiurl">
+ <input hidepassword autocapitalize="none" autocomplete="off" autocorrect="off" type="text" placeholder="{{'kApiUrlExample' | translate}}" ng-model="loginData.apiurl">
</label>
<a class="item item-icon-right" href="" ng-click="selectFallback()">
<i class="icon ion-ios-arrow-right">
diff --git a/www/templates/montage-history.html b/www/templates/montage-history.html
index 8888cc1d..785a348d 100644
--- a/www/templates/montage-history.html
+++ b/www/templates/montage-history.html
@@ -108,7 +108,7 @@
<div class="row">
<div class="col col-50">
<label class="item-input-wrapper">
- <input ng-change="hrsChanged()" type="tel" placeholder="hours" ng-model="datetimeValueFrom.hrs">
+ <input ng-change="hrsChanged()" type="tel" placeholder="{{'kHours' | translate}}" ng-model="datetimeValueFrom.hrs">
</label>
</div>
<div class="col col-50">
diff --git a/www/templates/timeline.html b/www/templates/timeline.html
index d2ada69d..a64edceb 100644
--- a/www/templates/timeline.html
+++ b/www/templates/timeline.html
@@ -35,7 +35,7 @@
<br/>
<div style="padding-left:15px; font-size:10px; color:grey">
<button ng-click="toggleFollowTime()" ng-class="follow.time? 'button button-small button-balanced':'button button-small button-assertive'">
- {{'kUpdateTimeline' | translate}}:&nbsp;{{follow.time}}
+ {{'kUpdateTimeline' | translate}}:&nbsp;{{follow.time? ('kTrue' | translate) : ('kFalse' | translate)}}
</button>
<button ng-click="gotoNow()" class="button button-small button-balanced">
{{'kNow' | translate}}
diff --git a/www/templates/wizard.html b/www/templates/wizard.html
index 600f4a7f..82f01c8b 100644
--- a/www/templates/wizard.html
+++ b/www/templates/wizard.html
@@ -11,7 +11,7 @@
<p>{{'kWizConfigPain' | translate}}</p>
<h4>{{'kWizPortalUrl' | translate}}</h4>
<label class="item item-input">
- <input autocorrect="off" autocapitalize="none" autocomplete="off" type="text" placeholder="e.g. http://server/zm" ng-model="wizard.portalurl">
+ <input autocorrect="off" autocapitalize="none" autocomplete="off" type="text" placeholder="{{'kPortalUrlExample | translate}}" ng-model="wizard.portalurl">
</label>
<p ng-if="$root.platformOS=='android'" style="font-size:0.8em; color:gray">{{'kDisableSamsung' | translate}}</p>
<a class="button icon-left ion-information-circled button-clear button-dark" ng-click="toggleTip()">{{wizard.tiptext}}</a>