Fix up warnings/errors in phpdoc tags
[gitphp.git] / include / Resource.class.php
blob:a/include/Resource.class.php -> blob:b/include/Resource.class.php
--- a/include/Resource.class.php
+++ b/include/Resource.class.php
@@ -18,10 +18,14 @@
 define('GITPHP_LOCALE_COOKIE', 'GitPHPLocale');
 
 /**
- * Resource
+ * Locale cookie lifetime
+ */
+define('GITPHP_LOCALE_COOKIE_LIFETIME', 60*60*24*365);		// 1 year
+
+/**
+ * Resource factory class
  *
  * @package GitPHP
- * @subpackage Resource
  */
 class GitPHP_Resource
 {
@@ -119,6 +123,10 @@
 				return 'English';
 			case 'fr_FR':
 				return 'Français';
+			case 'de_DE':
+				return 'Deutsch';
+			case 'ru_RU':
+				return 'Русский';
 			case 'zz_Debug':
 				return 'Gibberish';
 		}

comments