Browse Source

Language Strings

added more language strings
causefx 9 years ago
parent
commit
82c51db268
9 changed files with 89 additions and 11 deletions
  1. 13 1
      lang/de.ini
  2. 6 0
      lang/en.ini
  3. 13 1
      lang/es.ini
  4. 13 1
      lang/fr.ini
  5. 13 1
      lang/it.ini
  6. 13 1
      lang/nl.ini
  7. 13 1
      lang/pl.ini
  8. 4 4
      settings.php
  9. 1 1
      user.php

+ 13 - 1
lang/de.ini

@@ -224,4 +224,16 @@ EMBY_URL = "Emby URL"
 EMBY_PORT = "Emby Port"
 EMBY_TOKEN = "Emby Token"
 PLAYING_NOW_ON_EMBY = "Playing Now on EMBY"
-RECENTLY_ADDED_TO_EMBY = "Recently Added to EMBY"
+RECENTLY_ADDED_TO_EMBY = "Recently Added to EMBY"
+AUTHTYPE = "Which databases should be used to allow login"
+AUTHBACKEND = "Select backend to use"
+AUTHBACKENDCREATE = "Should accounts be created in Organizr if successfully authenticated against backend"
+AUTHBACKENDHOST = "http(s)://192.168.1.100"
+AUTHBACKENDPORT = "Backend Port (eg 21 for FTP, 389 for LDAP, 8096 for Emby)"
+AUTHBACKENDDOMAIN = "Domain to use for LDAP"
+PLEX_USERNAME = "Plex Username"
+PLEX_PASSWORD = "Plex Password"
+BOTH = "Both"
+ONLY = "Only"
+NO_CREATE = "Do Not Create Accounts"
+YES_CREATE = "Create Accounts As Needed"

+ 6 - 0
lang/en.ini

@@ -231,3 +231,9 @@ AUTHBACKENDCREATE = "Should accounts be created in Organizr if successfully auth
 AUTHBACKENDHOST = "http(s)://192.168.1.100"
 AUTHBACKENDPORT = "Backend Port (eg 21 for FTP, 389 for LDAP, 8096 for Emby)"
 AUTHBACKENDDOMAIN = "Domain to use for LDAP"
+PLEX_USERNAME = "Plex Username"
+PLEX_PASSWORD = "Plex Password"
+BOTH = "Both"
+ONLY = "Only"
+NO_CREATE = "Do Not Create Accounts"
+YES_CREATE = "Create Accounts As Needed"

+ 13 - 1
lang/es.ini

@@ -224,4 +224,16 @@ EMBY_URL = "Emby URL"
 EMBY_PORT = "Emby Port"
 EMBY_TOKEN = "Emby Token"
 PLAYING_NOW_ON_EMBY = "Playing Now on EMBY"
-RECENTLY_ADDED_TO_EMBY = "Recently Added to EMBY"
+RECENTLY_ADDED_TO_EMBY = "Recently Added to EMBY"
+AUTHTYPE = "Which databases should be used to allow login"
+AUTHBACKEND = "Select backend to use"
+AUTHBACKENDCREATE = "Should accounts be created in Organizr if successfully authenticated against backend"
+AUTHBACKENDHOST = "http(s)://192.168.1.100"
+AUTHBACKENDPORT = "Backend Port (eg 21 for FTP, 389 for LDAP, 8096 for Emby)"
+AUTHBACKENDDOMAIN = "Domain to use for LDAP"
+PLEX_USERNAME = "Plex Username"
+PLEX_PASSWORD = "Plex Password"
+BOTH = "Both"
+ONLY = "Only"
+NO_CREATE = "Do Not Create Accounts"
+YES_CREATE = "Create Accounts As Needed"

+ 13 - 1
lang/fr.ini

@@ -224,4 +224,16 @@ EMBY_URL = "Emby URL"
 EMBY_PORT = "Emby Port"
 EMBY_TOKEN = "Emby Token"
 PLAYING_NOW_ON_EMBY = "Playing Now on EMBY"
-RECENTLY_ADDED_TO_EMBY = "Recently Added to EMBY"
+RECENTLY_ADDED_TO_EMBY = "Recently Added to EMBY"
+AUTHTYPE = "Which databases should be used to allow login"
+AUTHBACKEND = "Select backend to use"
+AUTHBACKENDCREATE = "Should accounts be created in Organizr if successfully authenticated against backend"
+AUTHBACKENDHOST = "http(s)://192.168.1.100"
+AUTHBACKENDPORT = "Backend Port (eg 21 for FTP, 389 for LDAP, 8096 for Emby)"
+AUTHBACKENDDOMAIN = "Domain to use for LDAP"
+PLEX_USERNAME = "Plex Username"
+PLEX_PASSWORD = "Plex Password"
+BOTH = "Both"
+ONLY = "Only"
+NO_CREATE = "Do Not Create Accounts"
+YES_CREATE = "Create Accounts As Needed"

+ 13 - 1
lang/it.ini

@@ -224,4 +224,16 @@ EMBY_URL = "Emby URL"
 EMBY_PORT = "Emby Port"
 EMBY_TOKEN = "Emby Token"
 PLAYING_NOW_ON_EMBY = "Playing Now on EMBY"
-RECENTLY_ADDED_TO_EMBY = "Recently Added to EMBY"
+RECENTLY_ADDED_TO_EMBY = "Recently Added to EMBY"
+AUTHTYPE = "Which databases should be used to allow login"
+AUTHBACKEND = "Select backend to use"
+AUTHBACKENDCREATE = "Should accounts be created in Organizr if successfully authenticated against backend"
+AUTHBACKENDHOST = "http(s)://192.168.1.100"
+AUTHBACKENDPORT = "Backend Port (eg 21 for FTP, 389 for LDAP, 8096 for Emby)"
+AUTHBACKENDDOMAIN = "Domain to use for LDAP"
+PLEX_USERNAME = "Plex Username"
+PLEX_PASSWORD = "Plex Password"
+BOTH = "Both"
+ONLY = "Only"
+NO_CREATE = "Do Not Create Accounts"
+YES_CREATE = "Create Accounts As Needed"

+ 13 - 1
lang/nl.ini

@@ -224,4 +224,16 @@ EMBY_URL = "Emby URL"
 EMBY_PORT = "Emby Port"
 EMBY_TOKEN = "Emby Token"
 PLAYING_NOW_ON_EMBY = "Playing Now on EMBY"
-RECENTLY_ADDED_TO_EMBY = "Recently Added to EMBY"
+RECENTLY_ADDED_TO_EMBY = "Recently Added to EMBY"
+AUTHTYPE = "Which databases should be used to allow login"
+AUTHBACKEND = "Select backend to use"
+AUTHBACKENDCREATE = "Should accounts be created in Organizr if successfully authenticated against backend"
+AUTHBACKENDHOST = "http(s)://192.168.1.100"
+AUTHBACKENDPORT = "Backend Port (eg 21 for FTP, 389 for LDAP, 8096 for Emby)"
+AUTHBACKENDDOMAIN = "Domain to use for LDAP"
+PLEX_USERNAME = "Plex Username"
+PLEX_PASSWORD = "Plex Password"
+BOTH = "Both"
+ONLY = "Only"
+NO_CREATE = "Do Not Create Accounts"
+YES_CREATE = "Create Accounts As Needed"

+ 13 - 1
lang/pl.ini

@@ -224,4 +224,16 @@ EMBY_URL = "Emby URL"
 EMBY_PORT = "Emby Port"
 EMBY_TOKEN = "Emby Token"
 PLAYING_NOW_ON_EMBY = "Playing Now on EMBY"
-RECENTLY_ADDED_TO_EMBY = "Recently Added to EMBY"
+RECENTLY_ADDED_TO_EMBY = "Recently Added to EMBY"
+AUTHTYPE = "Which databases should be used to allow login"
+AUTHBACKEND = "Select backend to use"
+AUTHBACKENDCREATE = "Should accounts be created in Organizr if successfully authenticated against backend"
+AUTHBACKENDHOST = "http(s)://192.168.1.100"
+AUTHBACKENDPORT = "Backend Port (eg 21 for FTP, 389 for LDAP, 8096 for Emby)"
+AUTHBACKENDDOMAIN = "Domain to use for LDAP"
+PLEX_USERNAME = "Plex Username"
+PLEX_PASSWORD = "Plex Password"
+BOTH = "Both"
+ONLY = "Only"
+NO_CREATE = "Do Not Create Accounts"
+YES_CREATE = "Create Accounts As Needed"

+ 4 - 4
settings.php

@@ -1724,9 +1724,9 @@ endif;?></textarea>
 							
                                                     <div class="form-group" style="background-color: #fafafa; border: 2px solid black; border-radius: 5px; padding: 5px; margin: 5px;">
 														<select id="authType" name="authType" class="form-control material input-sm" required>
-															<option value="internal" <?php echo (AUTHTYPE=='internal' || !AUTHTYPE?'selected':''); ?>>Organizr Only</option>
+															<option value="internal" <?php echo (AUTHTYPE=='internal' || !AUTHTYPE?'selected':''); ?>>Organizr <?php echo $language->translate("ONLY"); ?></option>
 															<!--<option value="external" <?php echo (AUTHTYPE=='external'?'selected':''); ?>>External Only</option>-->
-															<option value="both" <?php echo (AUTHTYPE=='both'?'selected':''); ?>>Both</option>
+															<option value="both" <?php echo (AUTHTYPE=='both'?'selected':''); ?>><?php echo $language->translate("BOTH"); ?></option>
 														</select>
 														<p class="help-text"><?php echo $language->translate("AUTHTYPE"); ?></p>
 														
@@ -1742,8 +1742,8 @@ endif;?></textarea>
 														<p class="help-text"><?php echo $language->translate("AUTHBACKEND"); ?></p>
 														
 														<select id="authBackendCreate" name="authBackendCreate" class="form-control material input-sm" required>
-															<option value="false" <?php echo (AUTHBACKENDCREATE=='false' || !AUTHBACKENDCREATE?'selected':''); ?>>Do Not Create Accounts</option>
-															<option value="true" <?php echo (AUTHBACKENDCREATE=='true'?'selected':''); ?>>Create Accounts As Needed</option>
+															<option value="false" <?php echo (AUTHBACKENDCREATE=='false' || !AUTHBACKENDCREATE?'selected':''); ?>><?php echo $language->translate("NO_CREATE"); ?></option>
+															<option value="true" <?php echo (AUTHBACKENDCREATE=='true'?'selected':''); ?>><?php echo $language->translate("YES_CREATE"); ?></option>
 														</select>
 														<p class="help-text"><?php echo $language->translate("AUTHBACKENDCREATE"); ?></p>
 														

+ 1 - 1
user.php

@@ -28,7 +28,7 @@
 	}
 	// Upgrade Friendly END
 	 
-    define('INSTALLEDVERSION', '1.30');
+    define('INSTALLEDVERSION', '1.31');
     require __DIR__ . '/vendor/autoload.php';
     $databaseConfig = parse_ini_file('databaseLocation.ini.php', true);
     define('USER_HOME', $databaseConfig['databaseLocation'] . '/users/');