2017-04-07 18:37:17 +02:00
< ? php
/* μlogger
*
* Copyright ( C ) 2017 Bartek Fabiszewski ( www . fabiszewski . net )
*
* This 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 3 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 , see < http :// www . gnu . org / licenses />.
*/
2017-04-09 23:35:55 +02:00
2017-04-07 18:37:17 +02:00
// default language for translations
2017-04-17 13:15:44 +02:00
// strings only used in setup
$langSetup [ " dbconnectfailed " ] = " Database connection failed. " ;
$langSetup [ " serversaid " ] = " Server said: %s " ; // substitutes server error message
$langSetup [ " checkdbsettings " ] = " Please check database settings in 'config.php' file. " ;
$langSetup [ " dbqueryfailed " ] = " Database query failed. " ;
$langSetup [ " dbtablessuccess " ] = " Database tables successfully created! " ;
$langSetup [ " setupuser " ] = " Now please set up your µlogger user. " ;
$langSetup [ " congratulations " ] = " Congratulations! " ;
$langSetup [ " setupcomplete " ] = " Setup is now complete. You may go to the <a href= \" ../index.php \" >main page</a> now and log in with your new user account. " ;
$langSetup [ " disablewarn " ] = " IMPORTANT! YOU MUST DISABLE 'setup.php' SCRIPT OR REMOVE IT FROM YOUR SERVER. " ;
$langSetup [ " disabledesc " ] = " Leaving the script accessible from browser is a major security risk. Anybody will be able to run it, delete your database and set up new user account. Delete the file or disable it by setting %s value back to %s. " ; // substitutes variable name and value
$langSetup [ " setupfailed " ] = " Unfortunately something has gone wrong. You may try to find more info in your webserver logs. " ;
$langSetup [ " welcome " ] = " Welcome to µlogger! " ;
$langSetup [ " disabledwarn " ] = " For security reasons this script is disabled by default. To enable it you must edit 'scripts/setup.php' file in text editor and set %s variable at the beginning of the file to %s. " ; // substitutes variable name and value
$langSetup [ " lineshouldread " ] = " Line: %s should read: %s " ;
$langSetup [ " dorestart " ] = " Please restart this script when you are done. " ;
$langSetup [ " createconfig " ] = " Please create 'config.php' file in root folder. You may start by copying it from 'config.default.php'. Make sure that you adjust config values to match your needs and your database setup. " ;
$langSetup [ " nodbsettings " ] = " You must provide your database credentials in 'config.php' file (%s). " ; // substitutes variable names
2017-04-17 22:04:33 +02:00
$langSetup [ " scriptdesc " ] = " This script will set up tables needed for µlogger (%s). They will be created in your database named %s. Warning, if the tables already exist they will be dropped and recreated, their content will be destroyed. " ; // substitutes table names and db name
2017-04-17 13:15:44 +02:00
$langSetup [ " scriptdesc2 " ] = " When done the script will ask you to provide user name and password for your µlogger user. " ;
$langSetup [ " startbutton " ] = " Press to start " ;
$langSetup [ " restartbutton " ] = " Restart " ;
2019-05-15 12:03:55 +02:00
$langSetup [ " optionwarn " ] = " PHP configuration option %s must be set to %s. " ; // substitutes option name and value
$langSetup [ " extensionwarn " ] = " Required PHP extension %s is not available. " ; // substitutes extension name
2017-04-17 13:15:44 +02:00
// application strings
2017-04-07 18:37:17 +02:00
$lang [ " title " ] = " • μlogger • " ;
$lang [ " private " ] = " You need login and password to access this page. " ;
$lang [ " authfail " ] = " Wrong username or password " ;
$lang [ " user " ] = " User " ;
$lang [ " track " ] = " Track " ;
$lang [ " latest " ] = " latest position " ;
$lang [ " autoreload " ] = " autoreload " ;
$lang [ " reload " ] = " Reload now " ;
2017-05-09 09:06:23 +02:00
$lang [ " export " ] = " Export track " ;
2017-04-07 18:37:17 +02:00
$lang [ " chart " ] = " Altitudes chart " ;
$lang [ " close " ] = " close " ;
$lang [ " time " ] = " Time " ;
$lang [ " speed " ] = " Speed " ;
$lang [ " accuracy " ] = " Accuracy " ;
2020-02-16 12:21:35 +01:00
$lang [ " position " ] = " Position " ;
2017-04-07 18:37:17 +02:00
$lang [ " altitude " ] = " Altitude " ;
2020-02-16 23:06:07 +01:00
$lang [ " bearing " ] = " Bearing " ;
2017-04-07 18:37:17 +02:00
$lang [ " ttime " ] = " Total time " ;
$lang [ " aspeed " ] = " Average speed " ;
2017-04-09 14:03:43 +02:00
$lang [ " tdistance " ] = " Total distance " ;
2017-04-12 21:48:40 +02:00
$lang [ " pointof " ] = " Point %d of %d " ; // e.g. Point 3 of 10
2017-04-07 18:37:17 +02:00
$lang [ " summary " ] = " Trip summary " ;
$lang [ " suser " ] = " select user " ;
2017-04-07 19:13:39 +02:00
$lang [ " logout " ] = " Log out " ;
2017-04-07 18:37:17 +02:00
$lang [ " login " ] = " Log in " ;
$lang [ " username " ] = " Username " ;
$lang [ " password " ] = " Password " ;
$lang [ " language " ] = " Language " ;
$lang [ " newinterval " ] = " Enter new interval value (seconds) " ;
$lang [ " api " ] = " Map API " ;
$lang [ " units " ] = " Units " ;
$lang [ " metric " ] = " Metric " ;
$lang [ " imperial " ] = " Imperial/US " ;
2018-07-09 21:04:28 +02:00
$lang [ " nautical " ] = " Nautical " ;
2020-02-18 17:42:40 +01:00
$lang [ " admin " ] = " Administrator " ;
2017-04-07 18:37:17 +02:00
$lang [ " adminmenu " ] = " Administration " ;
$lang [ " passwordrepeat " ] = " Repeat password " ;
$lang [ " passwordenter " ] = " Enter password " ;
$lang [ " usernameenter " ] = " Enter username " ;
$lang [ " adduser " ] = " Add user " ;
$lang [ " userexists " ] = " User exists " ;
$lang [ " cancel " ] = " Cancel " ;
$lang [ " submit " ] = " Submit " ;
$lang [ " oldpassword " ] = " Old password " ;
$lang [ " newpassword " ] = " New password " ;
$lang [ " newpasswordrepeat " ] = " Repeat new password " ;
$lang [ " changepass " ] = " Change password " ;
2017-04-09 14:03:43 +02:00
$lang [ " gps " ] = " GPS " ;
$lang [ " network " ] = " Network " ;
2017-04-12 20:16:39 +02:00
$lang [ " deluser " ] = " Remove user " ;
$lang [ " edituser " ] = " Edit user " ;
2017-04-12 22:42:23 +02:00
$lang [ " servererror " ] = " Server error " ;
$lang [ " allrequired " ] = " All fields are required " ;
$lang [ " passnotmatch " ] = " Passwords don't match " ;
$lang [ " actionsuccess " ] = " Action completed successfully " ;
$lang [ " actionfailure " ] = " Something went wrong " ;
2019-12-20 14:11:06 +01:00
$lang [ " notauthorized " ] = " User not authorized " ;
2017-04-14 17:24:09 +02:00
$lang [ " userdelwarn " ] = " Warning! \n \n You are going to permanently delete user %s, together with all their routes and positions. \n \n Are you sure? " ; // substitutes user login
2017-04-12 22:42:23 +02:00
$lang [ " editinguser " ] = " You are editing user %s " ; // substitutes user login
$lang [ " selfeditwarn " ] = " Your can't edit your own user with this tool " ;
2019-03-18 10:08:12 +01:00
$lang [ " apifailure " ] = " Sorry, can't load %s API " ; // substitutes api name (gmaps or openlayers)
2017-04-14 17:24:09 +02:00
$lang [ " trackdelwarn " ] = " Warning! \n \n You are going to permanently delete track %s and all its positions. \n \n Are you sure? " ; // substitutes track name
$lang [ " editingtrack " ] = " You are editing track %s " ; // substitutes track name
$lang [ " deltrack " ] = " Remove track " ;
$lang [ " trackname " ] = " Track name " ;
$lang [ " edittrack " ] = " Edit track " ;
2020-01-13 22:57:13 +01:00
$lang [ " positiondelwarn " ] = " Warning! \n \n You are going to permanently delete position %d of track %s. \n \n Are you sure? " ; // substitutes position index and track name
$lang [ " editingposition " ] = " You are editing position #%d of track %s " ; // substitutes position index and track name
$lang [ " delposition " ] = " Remove position " ;
$lang [ " comment " ] = " Comment " ;
$lang [ " editposition " ] = " Edit position " ;
2017-04-14 15:55:00 +02:00
$lang [ " passlenmin " ] = " Password must be at least %d characters " ; // substitutes password minimum length
2019-01-30 22:03:58 +01:00
$lang [ " passrules_1 " ] = " It should contain at least one lower case letter, one upper case letter " ;
$lang [ " passrules_2 " ] = " It should contain at least one lower case letter, one upper case letter and one digit " ;
$lang [ " passrules_3 " ] = " It should contain at least one lower case letter, one upper case letter, one digit and one non-alphanumeric character " ;
2017-04-14 17:24:09 +02:00
$lang [ " owntrackswarn " ] = " Your can only edit your own tracks " ;
2017-05-05 09:14:46 +02:00
$lang [ " gmauthfailure " ] = " There may be problem with Google Maps API key on this page " ;
$lang [ " gmapilink " ] = " You may find more information about API keys on <a target= \" _blank \" href= \" https://developers.google.com/maps/documentation/javascript/get-api-key \" >this Google webpage</a> " ;
2017-05-09 09:06:23 +02:00
$lang [ " import " ] = " Import track " ;
2017-05-09 15:25:16 +02:00
$lang [ " iuploadfailure " ] = " Uploading failed " ;
2017-05-09 09:06:23 +02:00
$lang [ " iparsefailure " ] = " Parsing failed " ;
$lang [ " idatafailure " ] = " No track data in imported file " ;
2017-05-09 22:48:17 +02:00
$lang [ " isizefailure " ] = " The uploaded file size should not exceed %d bytes " ; // substitutes number of bytes
2017-05-09 16:00:02 +02:00
$lang [ " imultiple " ] = " Notice, multiple tracks imported (%d) " ; // substitutes number of imported tracks
2019-03-02 23:53:45 +01:00
$lang [ " allusers " ] = " All users " ;
2019-12-20 14:11:06 +01:00
$lang [ " unitday " ] = " d " ; // abbreviation for days, like 4 d 11:11:11
$lang [ " unitkmh " ] = " km/h " ; // kilometer per hour
$lang [ " unitm " ] = " m " ; // meter
$lang [ " unitkm " ] = " km " ; // kilometer
$lang [ " unitmph " ] = " mph " ; // mile per hour
$lang [ " unitft " ] = " ft " ; // feet
$lang [ " unitmi " ] = " mi " ; // mile
$lang [ " unitkt " ] = " kt " ; // knot
$lang [ " unitnm " ] = " nm " ; // nautical mile
2020-02-23 22:21:17 +01:00
$lang [ " config " ] = " Settings " ;
$lang [ " editingconfig " ] = " Default application settings " ;
$lang [ " latitude " ] = " Initial latitude " ;
$lang [ " longitude " ] = " Initial longitude " ;
$lang [ " interval " ] = " Interval " ;
$lang [ " googlekey " ] = " Google Maps API key " ;
$lang [ " passlength " ] = " Minimum password length " ;
$lang [ " passstrength " ] = " Minimum password strength " ;
$lang [ " requireauth " ] = " Require authorization " ;
$lang [ " publictracks " ] = " Public tracks " ;
$lang [ " strokeweight " ] = " Stroke weight " ;
$lang [ " strokeopacity " ] = " Stroke opacity " ;
$lang [ " strokecolor " ] = " Stroke color " ;
$lang [ " colornormal " ] = " Marker color " ;
$lang [ " colorstart " ] = " Start marker color " ;
$lang [ " colorstop " ] = " Stop marker color " ;
$lang [ " colorextra " ] = " Extra marker color " ;
$lang [ " colorhilite " ] = " Hilite marker color " ;
$lang [ " ollayers " ] = " OpenLayers layer " ;
$lang [ " layername " ] = " Layer name " ;
$lang [ " layerurl " ] = " Layer URL " ;
$lang [ " add " ] = " Add " ;
$lang [ " edit " ] = " Edit " ;
$lang [ " delete " ] = " Delete " ;
$lang [ " settings " ] = " Settings " ;
2017-04-07 18:37:17 +02:00
?>