From 5430d51b092a4a1cdf7f32233e38e5350995956c Mon Sep 17 00:00:00 2001 From: pliablepixels Date: Wed, 25 May 2016 15:17:48 -0400 Subject: #261 - more intl Former-commit-id: 0976517fc45eff4876eba6fd945cccea15b69f42 --- www/templates/devoptions.html | 40 ++++++++++----------- www/templates/events-date-time-filter.html | 14 ++++---- www/templates/events-graphs.html | 3 ++ www/templates/events-modal.html | 6 ++-- www/templates/events-popover.html | 8 ++--- www/templates/eventserversettings.html | 35 +++++------------- www/templates/first-use.html | 12 ++++--- www/templates/help.html | 6 ++-- www/templates/help/montage-help.html | 2 ++ www/templates/important_message.html | 14 ++++---- www/templates/log.html | 4 +-- www/templates/login.html | 30 ++++++++-------- www/templates/lowversion.html | 12 +++---- www/templates/monitors-modal.html | 2 +- www/templates/monitors.html | 24 ++++++------- www/templates/montage-history.html | 24 ++++++------- www/templates/montage.html | 2 +- www/templates/news.html | 4 +-- www/templates/state.html | 16 ++++----- www/templates/timeline-modal.html | 6 ++-- www/templates/timeline-popover.html | 12 +++---- www/templates/timeline.html | 8 ++--- www/templates/wizard.html | 58 +++++++++++++++--------------- www/templates/zm-portal-login.html | 6 ++-- 24 files changed, 168 insertions(+), 180 deletions(-) (limited to 'www/templates') diff --git a/www/templates/devoptions.html b/www/templates/devoptions.html index bec45385..c9544fbf 100644 --- a/www/templates/devoptions.html +++ b/www/templates/devoptions.html @@ -1,4 +1,4 @@ - + @@ -14,11 +14,11 @@
- Developer Options for {{loginData.serverName}} + {{'kDeveloperOptionsFor'|translate}} {{loginData.serverName}}
- Frame update (sec.)  + {{'kFrameUpdate'|translate}} ({{'kSec'|translate}}.)  @@ -26,12 +26,12 @@
@@ -50,7 +50,7 @@ -->
- Max monitors in montage  + {{'kMaxMonitorsMontage' | translate }}  @@ -66,21 +66,21 @@ -->
- Montage image scale(%)  + {{'kMontageImageScale' | translate}}(%) 
- Event single image scale(%)  + {{'kEventSingleImageScale' | translate}}(%) 
- resume delay(ms)  + {{'kResumeDelay' | translate}}(ms) 
- Event Montage image scale(%)  + {{'kEventMontageImageScale'|translate}}(%) 
- Max. items for Timeline  + {{'kMaxItemsForTimeline' | translate}} 
- +
- Minimum Alarm Count  + {{'kMinAlarmCount' | translate}} 
@@ -70,7 +70,7 @@
- @{{currentRate}}x at:{{currentProgress.progress}}s + @{{currentRate}}x {{'kAt' | translate}}:{{currentProgress.progress}}s
@@ -104,7 +104,7 @@ -
showing event: {{d_eventId}}
+
{{'kShowingEvent' | translate}}: {{d_eventId}}
    diff --git a/www/templates/events-popover.html b/www/templates/events-popover.html index eec4f52d..e48b290e 100644 --- a/www/templates/events-popover.html +++ b/www/templates/events-popover.html @@ -1,17 +1,17 @@ diff --git a/www/templates/eventserversettings.html b/www/templates/eventserversettings.html index de6f43ce..58c4777c 100644 --- a/www/templates/eventserversettings.html +++ b/www/templates/eventserversettings.html @@ -1,4 +1,4 @@ - + @@ -13,22 +13,22 @@
    - Please make sure your ZM settings are configured and saved before you configure the event server + {{'kEventServerConfig1' | translate }}
    use event server - on tap, navigate to: {{defScreen}} + {{'kOnTapNavigate' | translate}}: {{defScreen}} - only use websockets

    disables APNS/GCM

    + {{'kOnlyUseWebSocket'| translate }}

    {{'kDisablePush' | translate }}

    +
    - \ No newline at end of file diff --git a/www/templates/first-use.html b/www/templates/first-use.html index f9fb050c..c0553333 100644 --- a/www/templates/first-use.html +++ b/www/templates/first-use.html @@ -1,4 +1,4 @@ - +
    @@ -13,8 +13,9 @@

    Hi There!


    -

    Thanks for using zmNinja.

    - I need to know your ZoneMinder login and path details to get started.

    +

    {{'kThanksForUsing' | translate}} {{$root.appName}}.

    + {{'kNeedToKnow' | translate}} +


    @@ -23,11 +24,12 @@
    diff --git a/www/templates/help.html b/www/templates/help.html index ef4ddd83..8d9c7c04 100644 --- a/www/templates/help.html +++ b/www/templates/help.html @@ -10,7 +10,7 @@ -

    zmNinja v{{zmAppVersion}}

    +

    {{$root.appName}} v{{zmAppVersion}}

    @@ -20,7 +20,7 @@

    What do I enter for ZM Portal URL, Base path to cgi-bin and ZM API URL?

      - zmNinja now has a wizard that tries to detect your settings. This may fail if you have a custom install with non standard paths. + {{$root.appName}} now has a wizard that tries to detect your settings. This may fail if you have a custom install with non standard paths.
    • ZM Portal URL: The URL using which you can access ZM

      (example http://myserver.ddns.net/zm)

    • @@ -44,7 +44,7 @@ -

      Everything works! but live streaming does not

      Check if streaming works in the web interface. If it does not work, zmNinja won't work either. Fix ZM first. If streaming in ZM works, go to zmNinja settings and fix your cgi-bin path. the automatic path that is filled in won't work. Here is a hint, go to zoneminder->options->paths and check the value of the cgi-bin path - your zmNinja path will be "base path of your server" + cgi-bin path. +

      Everything works! but live streaming does not

      Check if streaming works in the web interface. If it does not work, {{$root.appName}} won't work either. Fix ZM first. If streaming in ZM works, go to {{$root.appName}} settings and fix your cgi-bin path. the automatic path that is filled in won't work. Here is a hint, go to zoneminder->options->paths and check the value of the cgi-bin path - your {{$root.appName}} path will be "base path of your server" + cgi-bin path.
      diff --git a/www/templates/help/montage-help.html b/www/templates/help/montage-help.html index f9d6955f..4a01153e 100644 --- a/www/templates/help/montage-help.html +++ b/www/templates/help/montage-help.html @@ -1,3 +1,5 @@ + + Montage Help diff --git a/www/templates/important_message.html b/www/templates/important_message.html index a97f1ada..bd3274f5 100644 --- a/www/templates/important_message.html +++ b/www/templates/important_message.html @@ -1,4 +1,4 @@ - + @@ -15,17 +15,17 @@
      -

      Important Message

      +

      {{'kImpMsg1' | translate}}


      -

      I'd appreciate if you upgraded ZoneMinder

      +

      {{'kImpMsg2' | translate}}


      - You are running v{{currentVersion}}.
      v{{recommendedVersion}} has some important fixes that enhance the API amongst other things. This is required to avail of the new alarm APIs and other new features. + {{'kImpMsg3' | translate}} v{{currentVersion}}.
      v{{recommendedVersion}} {{'kImpMsg4' | translate}}
      - Reported Version: v{{currentVersion}}
      - Recommended Version:v{{recommendedVersion}}

      + {{'kImpMsg5' | translate}}: v{{currentVersion}}
      + {{'kImpMsg6' | translate}}:v{{recommendedVersion}}

      diff --git a/www/templates/log.html b/www/templates/log.html index 37b85d1b..1a2d8053 100644 --- a/www/templates/log.html +++ b/www/templates/log.html @@ -1,4 +1,4 @@ - + @@ -23,7 +23,7 @@ - zmNinja Version: {{zmAppVersion}}
      + {{$root.appName}} {{'kVersion'|translate}}: {{zmAppVersion}}
      {{zmLog.logString}}
      diff --git a/www/templates/login.html b/www/templates/login.html index fac74dbd..56f0c945 100644 --- a/www/templates/login.html +++ b/www/templates/login.html @@ -1,4 +1,4 @@ - + @@ -16,25 +16,25 @@
      - Server Name:  + {{'kServerName' | translate }}: 
      - ZoneMinder Settings for {{loginData.serverName || "(unknown)"}} + {{'kZMSettingsFor' | translate}} {{loginData.serverName || ('kUnknown' | translate)}}
      - use ZM authentication + {{'kUseZmAuth' | translate }}
      @@ -118,7 +118,7 @@ Keep display on

      (When viewing footage)

      + toggle-class="toggle-calm">{{'kAwake1'|translate}}

      {{'kAwake2'| translate}}

      diff --git a/www/templates/lowversion.html b/www/templates/lowversion.html index 3b50683b..d9a50986 100644 --- a/www/templates/lowversion.html +++ b/www/templates/lowversion.html @@ -1,5 +1,5 @@ - - + +
      @@ -12,12 +12,12 @@
      -

      ZoneMinder upgrade needed

      +

      {{'kZMUpgradeNeeded' | translate}}


      -

      I am incompatible with your ZoneMinder version

      +

      {{'kVersionIncompatible' | translate }}


      - Reported Version: {{currentVersion}}
      - Minimum Required Version:{{requiredVersion}}
      + {{'kReportedVersion' | translate}}: {{currentVersion}}
      + {{'kMinVersion' | translate}}:{{requiredVersion}}
      diff --git a/www/templates/monitors-modal.html b/www/templates/monitors-modal.html index f1032907..527b6307 100644 --- a/www/templates/monitors-modal.html +++ b/www/templates/monitors-modal.html @@ -59,7 +59,7 @@

      - presets + {{'kPresets' | translate}}
    diff --git a/www/templates/monitors.html b/www/templates/monitors.html index a7a5a25f..8cf41df1 100644 --- a/www/templates/monitors.html +++ b/www/templates/monitors.html @@ -1,4 +1,4 @@ - + @@ -30,28 +30,28 @@
-

Mode :{{monitor.Monitor.Function}}
- Resolution: {{monitor.Monitor.Width}}*{{monitor.Monitor.Height}}
- Max FPS: {{monitor.Monitor.MaxFPS}} -
Alarm Max FPS:{{monitor.Monitor.AlarmMaxFPS}} -
Alarm Frame Count: {{monitor.Monitor.AlarmFrameCount}} -
Status: {{monitor.Monitor.isRunningText}} -
Id: {{monitor.Monitor.Id}} +

{{'kMode' | translate}} :{{monitor.Monitor.Function}}
+ {{'kResolution' | translate}}: {{monitor.Monitor.Width}}*{{monitor.Monitor.Height}}
+ {{'kMaxFPS' | translate}}: {{monitor.Monitor.MaxFPS}} +
{{'kAlarmMaxFPS' | translate}}:{{monitor.Monitor.AlarmMaxFPS}} +
{{'kAlarmFrameCount' |translate}}: {{monitor.Monitor.AlarmFrameCount}} +
{{'kStatus' | translate}}: {{monitor.Monitor.isRunningText}} +
{{'kId' | translate}}: {{monitor.Monitor.Id}}

Configuration - Events - Live View + href="" ng-click="changeConfig(monitor.Monitor.Name, monitor.Monitor.Id,monitor.Monitor.Enabled,monitor.Monitor.Function);">{{'kConfiguration' | translate}} + {{'kEvents'|translate}} + {{'kLiveView' | translate}}
- No monitors to display + {{'kNoMonitors' | translate}}
diff --git a/www/templates/montage-history.html b/www/templates/montage-history.html index aed56100..d495b482 100644 --- a/www/templates/montage-history.html +++ b/www/templates/montage-history.html @@ -1,4 +1,4 @@ - + @@ -26,12 +26,12 @@
- From: {{datetimeValueFrom.value | date: timeFormat}} + {{'kFrom' | translate}} : {{datetimeValueFrom.value | date: timeFormat}}
- To: {{datetimeValueTo.value | date: timeFormat}} @ {{sliderVal.rate}}x -
(max of 5 monitors - chrome limit)
+ {{'kTo' | translate}}: {{datetimeValueTo.value | date: timeFormat}} @ {{sliderVal.rate}}x +
({{'kChromeMax' | translate}})
@@ -89,7 +89,7 @@
  - paused  + {{'kPaused' | translate}} 
-

Welcome to zmWizard

+

{{'kWelcomeWizard' | translate}}

-

Configuring ZoneMinder can be a pain. Let's see if zmWizard can help.

+

{{'kWizConfigPain' | translate}}

-

What is your Zoneminder portal url?

+

{{'kWizPortalUrl' | translate}}

@@ -25,13 +25,13 @@
- Tip: Confused? You can easily find out your portal URL by noting down the url you see on your browser when accessing the ZoneMinder Console.
+ {{'kWizTip' | translate}}: {{'kWizPortalTip' | translate}}

- +
@@ -39,34 +39,34 @@ -

Portal Authentication

+

{{'kWizPortalAuth' | translate}}

-

Lets talk about how you have configured authentication If you have enabled authentication, toggle this button

- I use authentication +

{{'kWizPortalText' | translate}}

+ {{'kWizUseAuth' | translate}} - I use ZM authentication + {{'kWizZMAuth' | translate}}
-
- I use Basic authentication + {{'kWizBasicAuth' | translate}} -
-

Results of auto-detection

+

{{'kWizResults' | translate}}

 {{wizard.portalValidText}}
@@ -96,15 +96,15 @@
- Once auto-detection is over, you could either: + {{'kWizNextStep1' | translate}}:
    -
  • Go back to previous steps and re-do
  • -
  • Go to the login screen with these findings auto filled in
  • +
  • {{'kWizNextStep2' | translate}}
  • +
  • {{'kWizNextStep3' | translate}}


- - + +
diff --git a/www/templates/zm-portal-login.html b/www/templates/zm-portal-login.html index 67927269..1844a01a 100644 --- a/www/templates/zm-portal-login.html +++ b/www/templates/zm-portal-login.html @@ -1,6 +1,6 @@ - - + +
@@ -12,7 +12,7 @@
- Enter PIN + {{'kEnterPIN' | translate}}
-- cgit v1.2.3