2004-01-07 20:57:07 +08:00
< ? php
2004-01-08 19:45:57 +08:00
//
// ZoneMinder web UK English language file, $Date$, $Revision$
// Copyright (C) 2003 Philip Coombes
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
//
2004-01-07 20:57:07 +08:00
2004-01-21 18:55:02 +08:00
// ZoneMinder <your language> Translation by <your name>
2004-01-08 19:45:57 +08:00
// Notes for Translators
2004-01-21 18:55:02 +08:00
// 0. Get some credit, put your name in the line above (optional)
2004-01-07 20:57:07 +08:00
// 1. When composing the language tokens in your language you should try and keep to roughly the
2004-01-08 19:45:57 +08:00
// same length text if possible. Abbreviate where necessary as spacing is quite close in a number of places.
2004-01-21 18:55:02 +08:00
// 2. There are four types of string replacement
2004-01-08 19:45:57 +08:00
// a) Simple replacements are words or short phrases that are static and used directly. This type of
// replacement can be used 'as is'.
// b) Complex replacements involve some dynamic element being included and so may require substitution
// or changing into a different order. The token listed in this file will be passed through sprintf as
// a formatting string. If the dynamic element is a number you will usually need to use a variable
// replacement also as described below.
// c) Variable replacements are used in conjunction with complex replacements and involve the generation
2004-01-21 18:55:02 +08:00
// of a singular or plural noun depending on the number passed into the zmVlang function. See the
// the zmVlang section below for a further description of this.
// d) Optional strings which can be used to replace the prompts and/or help text for the Options section
// of the web interface. These are not listed below as they are quite large and held in the database
// so that they can also be used by the zmconfig.pl script. However you can build up your own list
// quite easily from the Config table in the database if necessary.
2004-01-07 20:57:07 +08:00
// 3. The tokens listed below are not used to build up phrases or sentences from single words. Therefore
2004-01-08 19:45:57 +08:00
// you can safely assume that a single word token will only be used in that context.
2004-01-07 20:57:07 +08:00
// 4. In new language files, or if you are changing only a few words or phrases it makes sense from a
2004-01-08 19:45:57 +08:00
// maintenance point of view to include the original language file and override the old definitions rather
// than copy all the language tokens across. To do this change the line below to whatever your base language
// is and uncomment it.
2004-01-07 20:57:07 +08:00
// require_once( 'zm_lang_en_gb.php' );
2004-01-21 18:55:02 +08:00
// You may need to change the character set here, if your web server does not already
// do this by default, uncomment this if required.
//
// Example
// header( "Content-Type: text/html; charset=iso-8859-1" );
// You may need to change your locale here if your default one is incorrect for the
// language described in this file, or if you have multiple languages supported.
// If you do need to change your locale, be aware that the format of this function
// is subtlely different in versions of PHP before and after 4.3.0, see
// http://uk2.php.net/manual/en/function.setlocale.php for details.
// Also be aware that changing the whole locale may affect some floating point or decimal
// arithmetic in the database, if this is the case change only the individual locale areas
// that don't affect this rather than all at once. See the examples below.
// Finally, depending on your setup, PHP may not enjoy have multiple locales in a shared
// threaded environment, if you get funny errors it may be this.
//
// Examples
// setlocale( 'LC_ALL', 'en_GB' ); All locale settings pre-4.3.0
// setlocale( LC_ALL, 'en_GB' ); All locale settings 4.3.0 and after
// setlocale( LC_CTYPE, 'en_GB' ); Character class settings 4.3.0 and after
// setlocale( LC_TIME, 'en_GB' ); Date and time formatting 4.3.0 and after
2004-01-07 20:57:07 +08:00
// Simple String Replacements
$zmSlang24BitColour = '24 bit colour' ;
$zmSlang8BitGrey = '8 bit greyscale' ;
$zmSlangActual = 'Actual' ;
$zmSlangAddNewMonitor = 'Add New Monitor' ;
$zmSlangAddNewUser = 'Add New User' ;
$zmSlangAddNewZone = 'Add New Zone' ;
$zmSlangAlarm = 'Alarm' ;
$zmSlangAlarmBrFrames = 'Alarm<br/>Frames' ;
$zmSlangAlarmFrame = 'Alarm Frame' ;
$zmSlangAlarmLimits = 'Alarm Limits' ;
$zmSlangAlarmPx = 'Alarm Px' ;
$zmSlangAlert = 'Alert' ;
$zmSlangAll = 'All' ;
$zmSlangApply = 'Apply' ;
$zmSlangApplyingStateChange = 'Applying State Change' ;
$zmSlangArchArchived = 'Archived Only' ;
$zmSlangArchive = 'Archive' ;
$zmSlangArchUnarchived = 'Unarchived Only' ;
$zmSlangAttrAlarmFrames = 'Alarm Frames' ;
$zmSlangAttrArchiveStatus = 'Archive Status' ;
$zmSlangAttrAvgScore = 'Avg. Score' ;
$zmSlangAttrDate = 'Date' ;
$zmSlangAttrDateTime = 'Date/Time' ;
$zmSlangAttrDuration = 'Duration' ;
$zmSlangAttrFrames = 'Frames' ;
$zmSlangAttrMaxScore = 'Max. Score' ;
2004-02-16 03:42:00 +08:00
$zmSlangAttrMonitorId = 'Monitor Id' ;
$zmSlangAttrMonitorName = 'Monitor Name' ;
2004-01-07 20:57:07 +08:00
$zmSlangAttrTime = 'Time' ;
$zmSlangAttrTotalScore = 'Total Score' ;
$zmSlangAttrWeekday = 'Weekday' ;
$zmSlangAutoArchiveEvents = 'Automatically archive all matching events' ;
$zmSlangAutoDeleteEvents = 'Automatically delete all matching events' ;
$zmSlangAutoEmailEvents = 'Automatically email details of all matching events' ;
$zmSlangAutoMessageEvents = 'Automatically message details of all matching events' ;
$zmSlangAutoUploadEvents = 'Automatically upload all matching events' ;
$zmSlangAvgBrScore = 'Avg.<br/>Score' ;
2004-02-16 03:44:31 +08:00
$zmSlangBadMonitorChars = 'Monitor Names may only contain alphanumeric characters plus hyphen and underscore' ;
2004-01-07 20:57:07 +08:00
$zmSlangBandwidth = 'Bandwidth' ;
$zmSlangBlobPx = 'Blob Px' ;
$zmSlangBlobs = 'Blobs' ;
$zmSlangBlobSizes = 'Blob Sizes' ;
$zmSlangBrightness = 'Brightness' ;
$zmSlangBuffers = 'Buffers' ;
$zmSlangCancel = 'Cancel' ;
2004-01-07 22:30:21 +08:00
$zmSlangCancelForcedAlarm = 'Cancel Forced Alarm' ;
2004-01-07 20:57:07 +08:00
$zmSlangCaptureHeight = 'Capture Height' ;
$zmSlangCapturePalette = 'Capture Palette' ;
$zmSlangCaptureWidth = 'Capture Width' ;
$zmSlangCheckAll = 'Check All' ;
2004-02-16 07:17:00 +08:00
$zmSlangCheckMethod = 'Alarm Check Method' ;
2004-01-07 20:57:07 +08:00
$zmSlangChooseFilter = 'Choose Filter' ;
$zmSlangClose = 'Close' ;
$zmSlangColour = 'Colour' ;
2004-03-15 07:27:36 +08:00
$zmSlangConfig = 'Config' ;
2004-01-07 20:57:07 +08:00
$zmSlangConfiguredFor = 'Configured for' ;
$zmSlangConfirmPassword = 'Confirm Password' ;
$zmSlangConjAnd = 'and' ;
$zmSlangConjOr = 'or' ;
$zmSlangConsole = 'Console' ;
$zmSlangContactAdmin = 'Please contact your adminstrator for details.' ;
$zmSlangContrast = 'Contrast' ;
$zmSlangCycleWatch = 'Cycle Watch' ;
$zmSlangDay = 'Day' ;
$zmSlangDeleteAndNext = 'Delete & Next' ;
$zmSlangDeleteAndPrev = 'Delete & Prev' ;
$zmSlangDelete = 'Delete' ;
$zmSlangDeleteSavedFilter = 'Delete saved filter' ;
$zmSlangDescription = 'Description' ;
$zmSlangDeviceChannel = 'Device Channel' ;
$zmSlangDeviceFormat = 'Device Format (0=PAL,1=NTSC etc)' ;
2004-01-08 18:09:35 +08:00
$zmSlangDeviceNumber = 'Device Number (/dev/video?)' ;
2004-01-07 20:57:07 +08:00
$zmSlangDimensions = 'Dimensions' ;
$zmSlangDuration = 'Duration' ;
$zmSlangEdit = 'Edit' ;
$zmSlangEmail = 'Email' ;
$zmSlangEnabled = 'Enabled' ;
$zmSlangEnterNewFilterName = 'Enter new filter name' ;
$zmSlangErrorBrackets = 'Error, please check you have an equal number of opening and closing brackets' ;
$zmSlangError = 'Error' ;
$zmSlangErrorValidValue = 'Error, please check that all terms have a valid value' ;
$zmSlangEtc = 'etc' ;
$zmSlangEvent = 'Event' ;
$zmSlangEventFilter = 'Event Filter' ;
$zmSlangEvents = 'Events' ;
$zmSlangExclude = 'Exclude' ;
$zmSlangFeed = 'Feed' ;
$zmSlangFilterPx = 'Filter Px' ;
$zmSlangFirst = 'First' ;
2004-01-07 22:30:45 +08:00
$zmSlangForceAlarm = 'Force Alarm' ;
2004-01-07 20:57:07 +08:00
$zmSlangFPS = 'fps' ;
$zmSlangFPSReportInterval = 'FPS Report Interval' ;
$zmSlangFrame = 'Frame' ;
$zmSlangFrameId = 'Frame Id' ;
$zmSlangFrameRate = 'Frame Rate' ;
$zmSlangFrames = 'Frames' ;
$zmSlangFrameSkip = 'Frame Skip' ;
$zmSlangFTP = 'FTP' ;
$zmSlangFunc = 'Func' ;
$zmSlangFunction = 'Function' ;
$zmSlangGenerateVideo = 'Generate Video' ;
$zmSlangGeneratingVideo = 'Generating Video' ;
2004-01-27 18:17:23 +08:00
$zmSlangGoToZoneMinder = 'Go to ZoneMinder.com' ;
2004-01-07 20:57:07 +08:00
$zmSlangGrey = 'Grey' ;
$zmSlangHighBW = 'High B/W' ;
$zmSlangHigh = 'High' ;
$zmSlangHour = 'Hour' ;
$zmSlangHue = 'Hue' ;
$zmSlangId = 'Id' ;
$zmSlangIdle = 'Idle' ;
$zmSlangIgnore = 'Ignore' ;
2004-01-21 18:55:02 +08:00
$zmSlangImageBufferSize = 'Image Buffer Size (frames)' ;
2004-01-07 20:57:07 +08:00
$zmSlangImage = 'Image' ;
$zmSlangInclude = 'Include' ;
$zmSlangInverted = 'Inverted' ;
2004-01-07 21:13:14 +08:00
$zmSlangLanguage = 'Language' ;
2004-01-07 20:57:07 +08:00
$zmSlangLast = 'Last' ;
$zmSlangLocal = 'Local' ;
$zmSlangLoggedInAs = 'Logged In As' ;
$zmSlangLoggingIn = 'Logging In' ;
$zmSlangLogin = 'Login' ;
$zmSlangLogout = 'Logout' ;
$zmSlangLowBW = 'Low B/W' ;
$zmSlangLow = 'Low' ;
$zmSlangMark = 'Mark' ;
$zmSlangMaxBrScore = 'Max.<br/>Score' ;
$zmSlangMaximumFPS = 'Maximum FPS' ;
$zmSlangMax = 'Max' ;
$zmSlangMediumBW = 'Medium B/W' ;
$zmSlangMedium = 'Medium' ;
$zmSlangMinAlarmGeMinBlob = 'Minimum alarm pixels should be greater than or equal to minimum blob pixels' ;
$zmSlangMinAlarmGeMinFilter = 'Minimum alarm pixels should be greater than or equal to minimum filter pixels' ;
2004-01-27 20:27:22 +08:00
$zmSlangMinAlarmPixelsLtMax = 'Minimum alarm pixels should be less than maximum alarm pixels' ;
$zmSlangMinBlobAreaLtMax = 'Minimum blob area should be less than maximum blob area' ;
$zmSlangMinBlobsLtMax = 'Minimum blobs should be less than maximum blobs' ;
$zmSlangMinFilterPixelsLtMax = 'Minimum filter pixels should be less than maximum filter pixels' ;
$zmSlangMinPixelThresLtMax = 'Minimum pixel threshold should be less than maximum pixel threshold' ;
2004-01-07 20:57:07 +08:00
$zmSlangMisc = 'Misc' ;
$zmSlangMonitorIds = 'Monitor Ids' ;
$zmSlangMonitor = 'Monitor' ;
$zmSlangMonitors = 'Monitors' ;
$zmSlangMontage = 'Montage' ;
$zmSlangMonth = 'Month' ;
$zmSlangMustBeGe = 'must be greater than or equal to' ;
$zmSlangMustBeLe = 'must be less than or equal to' ;
$zmSlangMustConfirmPassword = 'You must confirm the password' ;
$zmSlangMustSupplyPassword = 'You must supply a password' ;
$zmSlangMustSupplyUsername = 'You must supply a username' ;
$zmSlangName = 'Name' ;
$zmSlangNetwork = 'Network' ;
$zmSlangNew = 'New' ;
$zmSlangNewPassword = 'New Password' ;
$zmSlangNewState = 'New State' ;
2004-01-07 21:13:14 +08:00
$zmSlangNewUser = 'New User' ;
2004-01-07 20:57:07 +08:00
$zmSlangNext = 'Next' ;
$zmSlangNoFramesRecorded = 'There are no frames recorded for this event' ;
$zmSlangNoneAvailable = 'None available' ;
$zmSlangNone = 'None' ;
$zmSlangNo = 'No' ;
$zmSlangNormal = 'Normal' ;
$zmSlangNoSavedFilters = 'NoSavedFilters' ;
$zmSlangNoStatisticsRecorded = 'There are no statistics recorded for this event/frame' ;
$zmSlangOpEq = 'equal to' ;
$zmSlangOpGtEq = 'greater than or equal to' ;
$zmSlangOpGt = 'greater than' ;
2004-02-16 03:42:00 +08:00
$zmSlangOpIn = 'in set' ;
2004-01-07 20:57:07 +08:00
$zmSlangOpLtEq = 'less than or equal to' ;
$zmSlangOpLt = 'less than' ;
2004-02-16 03:42:00 +08:00
$zmSlangOpMatches = 'matches' ;
2004-01-07 20:57:07 +08:00
$zmSlangOpNe = 'not equal to' ;
2004-02-16 03:42:00 +08:00
$zmSlangOpNotIn = 'not in set' ;
$zmSlangOpNotMatches = 'does not match' ;
2004-01-07 20:57:07 +08:00
$zmSlangOptionHelp = 'OptionHelp' ;
$zmSlangOptionRestartWarning = 'These changes may not come into effect fully\nwhile the system is running. When you have\nfinished making your changes please ensure that\nyou restart ZoneMinder.' ;
$zmSlangOptions = 'Options' ;
$zmSlangOrEnterNewName = 'or enter new name' ;
$zmSlangOrientation = 'Orientation' ;
$zmSlangOverwriteExisting = 'Overwrite Existing' ;
$zmSlangPaged = 'Paged' ;
$zmSlangParameter = 'Parameter' ;
$zmSlangPassword = 'Password' ;
$zmSlangPasswordsDifferent = 'The new and confirm passwords are different' ;
$zmSlangPaths = 'Paths' ;
$zmSlangPhoneBW = 'Phone B/W' ;
$zmSlangPixels = 'pixels' ;
$zmSlangPleaseWait = 'Please Wait' ;
$zmSlangPostEventImageBuffer = 'Post Event Image Buffer' ;
$zmSlangPreEventImageBuffer = 'Pre Event Image Buffer<' ;
$zmSlangPrev = 'Prev' ;
$zmSlangRate = 'Rate' ;
$zmSlangReal = 'Real' ;
$zmSlangRecord = 'Record' ;
$zmSlangRefImageBlendPct = 'Reference Image Blend %ge' ;
$zmSlangRefresh = 'Refresh' ;
$zmSlangRemoteHostName = 'Remote Host Name' ;
$zmSlangRemoteHostPath = 'Remote Host Path' ;
$zmSlangRemoteHostPort = 'Remote Host Port' ;
$zmSlangRemoteImageColours = 'Remote Image Colours' ;
$zmSlangRemote = 'Remote' ;
$zmSlangRename = 'Rename' ;
$zmSlangReplay = 'Replay' ;
$zmSlangResetEventCounts = 'Reset Event Counts' ;
$zmSlangRestarting = 'Restarting' ;
$zmSlangRestart = 'Restart' ;
2004-01-07 21:38:38 +08:00
$zmSlangRestrictedCameraIds = 'Restricted Camera Ids' ;
2004-01-07 20:57:07 +08:00
$zmSlangRotateLeft = 'Rotate Left' ;
$zmSlangRotateRight = 'Rotate Right' ;
$zmSlangRunMode = 'Run Mode' ;
$zmSlangRunning = 'Running' ;
$zmSlangRunState = 'Run State' ;
$zmSlangSaveAs = 'Save as' ;
$zmSlangSaveFilter = 'Save Filter' ;
$zmSlangSave = 'Save' ;
$zmSlangScale = 'Scale' ;
$zmSlangScore = 'Score' ;
$zmSlangSecs = 'Secs' ;
$zmSlangSectionlength = 'Section length' ;
$zmSlangServerLoad = 'Server Load' ;
$zmSlangSetLearnPrefs = 'Set Learn Prefs' ; // This can be ignored for now
$zmSlangSetNewBandwidth = 'Set New Bandwidth' ;
$zmSlangSettings = 'Settings' ;
$zmSlangShowFilterWindow = 'ShowFilterWindow' ;
$zmSlangSource = 'Source' ;
$zmSlangSourceType = 'Source Type' ;
$zmSlangStart = 'Start' ;
$zmSlangState = 'State' ;
$zmSlangStats = 'Stats' ;
$zmSlangStatus = 'Status' ;
$zmSlangStills = 'Stills' ;
$zmSlangStopped = 'Stopped' ;
$zmSlangStop = 'Stop' ;
$zmSlangStream = 'Stream' ;
$zmSlangSystem = 'System' ;
$zmSlangTimeDelta = 'Time Delta' ;
$zmSlangTimestampLabelFormat = 'Timestamp Label Format' ;
$zmSlangTimestampLabelX = 'Timestamp Label X' ;
$zmSlangTimestampLabelY = 'Timestamp Label Y' ;
$zmSlangTimestamp = 'Timestamp' ;
$zmSlangTimeStamp = 'Time Stamp' ;
$zmSlangTime = 'Time' ;
$zmSlangTools = 'Tools' ;
$zmSlangTotalBrScore = 'Total<br/>Score' ;
$zmSlangTriggers = 'Triggers' ;
$zmSlangType = 'Type' ;
$zmSlangUnarchive = 'Unarchive' ;
$zmSlangUnits = 'Units' ;
$zmSlangUnknown = 'Unknown' ;
2004-01-27 18:17:23 +08:00
$zmSlangUpdateAvailable = 'An update to ZoneMinder is available.' ;
2004-02-16 03:42:00 +08:00
$zmSlangUpdateNotNecessary = 'No update is necessary.' ;
2004-01-07 20:57:07 +08:00
$zmSlangUseFilterExprsPost = ' filter expressions' ; // This is used at the end of the phrase 'use N filter expressions'
2004-01-07 21:38:38 +08:00
$zmSlangUseFilterExprsPre = 'Use ' ; // This is used at the beginning of the phrase 'use N filter expressions'
2004-01-07 20:57:07 +08:00
$zmSlangUseFilter = 'Use Filter' ;
$zmSlangUsername = 'Username' ;
$zmSlangUsers = 'Users' ;
$zmSlangUser = 'User' ;
$zmSlangValue = 'Value' ;
2004-01-27 18:17:23 +08:00
$zmSlangVersionIgnore = 'Ignore this version' ;
$zmSlangVersionRemindDay = 'Remind again in 1 day' ;
2004-02-16 03:42:00 +08:00
$zmSlangVersionRemindHour = 'Remind again in 1 hour' ;
2004-01-27 18:17:23 +08:00
$zmSlangVersionRemindNever = 'Don\'t remind about new versions' ;
2004-02-16 03:42:00 +08:00
$zmSlangVersionRemindWeek = 'Remind again in 1 week' ;
$zmSlangVersion = 'Version' ;
2004-01-07 20:57:07 +08:00
$zmSlangVideoGenFailed = 'Video Generation Failed!' ;
2004-01-08 18:09:35 +08:00
$zmSlangVideoGenParms = 'Video Generation Parameters' ;
2004-01-07 20:57:07 +08:00
$zmSlangVideoSize = 'Video Size' ;
$zmSlangVideo = 'Video' ;
$zmSlangViewAll = 'View All' ;
$zmSlangViewPaged = 'View Paged' ;
$zmSlangView = 'View' ;
$zmSlangWarmupFrames = 'Warmup Frames' ;
$zmSlangWatch = 'Watch' ;
$zmSlangWeb = 'Web' ;
$zmSlangWeek = 'Week' ;
$zmSlangX10ActivationString = 'X10 Activation String' ;
$zmSlangX10InputAlarmString = 'X10 Input Alarm String' ;
$zmSlangX10OutputAlarmString = 'X10 Output Alarm String' ;
$zmSlangX10 = 'X10' ;
$zmSlangYes = 'Yes' ;
$zmSlangYouNoPerms = 'You do not have permissions to access this resource.' ;
$zmSlangZoneAlarmColour = 'Alarm Colour (RGB)' ;
$zmSlangZoneFilterHeight = 'Filter Height (pixels)' ;
$zmSlangZoneFilterWidth = 'Filter Width (pixels)' ;
$zmSlangZoneMaxAlarmedArea = 'Maximum Alarmed Area' ;
$zmSlangZoneMaxBlobArea = 'Maximum Blob Area' ;
$zmSlangZoneMaxBlobs = 'Maximum Blobs' ;
$zmSlangZoneMaxFilteredArea = 'Maximum Filtered Area' ;
2004-01-27 20:27:22 +08:00
$zmSlangZoneMaxPixelThres = 'Maximum Pixel Threshold (0>=?<=255)' ;
2004-01-07 20:57:07 +08:00
$zmSlangZoneMaxX = 'Maximum X (right)' ;
$zmSlangZoneMaxY = 'Maximum Y (bottom)' ;
$zmSlangZoneMinAlarmedArea = 'Minimum Alarmed Area' ;
$zmSlangZoneMinBlobArea = 'Minimum Blob Area' ;
$zmSlangZoneMinBlobs = 'Minimum Blobs' ;
$zmSlangZoneMinFilteredArea = 'Minimum Filtered Area' ;
2004-01-27 20:27:22 +08:00
$zmSlangZoneMinPixelThres = 'Minimum Pixel Threshold (0>=?<=255)' ;
2004-01-07 20:57:07 +08:00
$zmSlangZoneMinX = 'Minimum X (left)' ;
$zmSlangZoneMinY = 'Minimum Y (top)' ;
$zmSlangZones = 'Zones' ;
$zmSlangZone = 'Zone' ;
// Complex replacements with formatting and/or placements, must be passed through sprintf
$zmClangCurrentLogin = 'Current login is \'%1$s\'' ;
2004-01-14 17:53:14 +08:00
$zmClangEventCount = '%1$s %2$s' ; // For example '37 Events' (from Vlang below)
$zmClangLastEvents = 'Last %1$s %2$s' ; // For example 'Last 37 Events' (from Vlang below)
2004-01-27 18:17:23 +08:00
$zmClangLatestRelease = 'The latest release is v%1$s, you have v%2$s.' ;
2004-01-14 17:53:14 +08:00
$zmClangMonitorCount = '%1$s %2$s' ; // For example '4 Monitors' (from Vlang below)
2004-01-07 20:57:07 +08:00
$zmClangMonitorFunction = 'Monitor %1$s Function' ;
2004-01-27 18:17:23 +08:00
$zmClangRunningRecentVer = 'You are running the most recent version of ZoneMinder, v%s.' ;
2004-01-07 20:57:07 +08:00
2004-01-21 18:55:02 +08:00
// The next section allows you to describe a series of word ending and counts used to
// generate the correctly conjugated forms of words depending on a count that is associated
// with that word.
// This intended to allow phrases such a '0 potatoes', '1 potato', '2 potatoes' etc to
// conjugate correctly with the associated count.
// In some languages such as English this is fairly simple and can be expressed by assigning
// a count with a singular or plural form of a word and then finding the nearest (lower) value.
// So '0' of something generally ends in 's', 1 of something is singular and has no extra
// ending and 2 or more is a plural and ends in 's' also. So to find the ending for '187' of
// something you would find the nearest lower count (2) and use that ending.
//
// So examples of this would be
// $zmVlangPotato = array( 0=>'Potatoes', 1=>'Potato', 2=>'Potatoes' );
// $zmVlangSheep = array( 0=>'Sheep' );
//
// where you can have as few or as many entries in the array as necessary
// If your language is similar in form to this then use the same format and choose the
// appropriate zmVlang function below.
// If however you have a language with a different format of plural endings then another
// approach is required . For instance in Russian the word endings change continuously
// depending on the last digit (or digits) of the numerator. In this case then zmVlang
// arrays could be written so that the array index just represents an arbitrary 'type'
// and the zmVlang function does the calculation about which version is appropriate.
//
// So an example in Russian might be (using English words, and made up endings as I
// don't know any Russian!!)
// $zmVlangPotato = array( 1=>'Potati', 2=>'Potaton', 3=>'Potaten' );
//
// and the zmVlang function decides that the first form is used for counts ending in
// 0, 5-9 or 11-19 and the second form when ending in 1 etc.
//
// Variable arrays expressing plurality, see the zmVlang description above
2004-01-07 20:57:07 +08:00
$zmVlangEvent = array ( 0 => 'Events' , 1 => 'Event' , 2 => 'Events' );
$zmVlangMonitor = array ( 0 => 'Monitors' , 1 => 'Monitor' , 2 => 'Monitors' );
2004-01-21 18:55:02 +08:00
// You will need to choose or write a function that can correlate the plurality string arrays
// with variable counts. This is used to conjugate the Vlang arrays above with a number passed
// in to generate the correct noun form.
//
// In languages such as English this is fairly simple
// Note this still has to be used with printf etc to get the right formating
function zmVlang ( $lang_var_array , $count )
{
krsort ( $lang_var_array );
foreach ( $lang_var_array as $key => $value )
{
if ( abs ( $count ) >= $key )
{
return ( $value );
}
}
die ( 'Error, unable to correlate variable language string' );
}
// This is an version that could be used in the Russian example above
// The rules are that the first word form is used if the count ends in
// 0, 5-9 or 11-19. The second form is used then the count ends in 1
// (not including 11 as above) and the third form is used when the
// count ends in 2-4, again excluding any values ending in 12-14.
//
// function zmVlang( $lang_var_array, $count )
// {
// $secondlastdigit = substr( $count, -2, 1 );
// $lastdigit = substr( $count, -1, 1 );
// // or
// // $secondlastdigit = ($count/10)%10;
// // $lastdigit = $count%10;
//
// // Get rid of the special cases first, the teens
// if ( $secondlastdigit == 1 && $lastdigit != 0 )
// {
// return( $lang_var_array[1] );
// }
// switch ( $lastdigit )
// {
// case 0 :
// case 5 :
// case 6 :
// case 7 :
// case 8 :
// case 9 :
// {
// return( $lang_var_array[1] );
// break;
// }
// case 1 :
// {
// return( $lang_var_array[2] );
// break;
// }
// case 2 :
// case 3 :
// case 4 :
// {
// return( $lang_var_array[3] );
// break;
// }
// }
// die( 'Error, unable to correlate variable language string' );
// }
// This is an example of how the function is used in the code which you can uncomment and
// use to test your custom function.
//$monitors = array();
//$monitors[] = 1; // Choose any number
//echo sprintf( $zmClangMonitorCount, count($monitors), zmVlang( $zmVlangMonitor, count($monitors) ) );
// In this section you can override the default prompt and help texts for the options area
2004-01-21 22:20:53 +08:00
// These overrides are in the form of $zmOlangPrompt<option> and $zmOlangHelp<option>
2004-01-21 18:55:02 +08:00
// where <option> represents the option name minus the initial ZM_
// So for example, to override the help text for ZM_LANG_DEFAULT do
2004-01-27 20:27:22 +08:00
//$zmOlangPromptLANG_DEFAULT = "This is a new prompt for this option";
//$zmOlangHelpLANG_DEFAULT = "This is some new help for this option which will be displayed in the popup window when the ? is clicked";
2004-01-21 18:55:02 +08:00
//
2004-01-07 20:57:07 +08:00
?>