bug #159 multiple definition of string_plural_form function when changing languages

pull/1/head
Friendika 2011-09-21 07:09:37 -07:00
parent 11ca81adba
commit c63adcfae0
9 changed files with 551 additions and 24 deletions

View File

@ -90,8 +90,11 @@ if(! function_exists('load_translation_table')) {
function load_translation_table($lang) { function load_translation_table($lang) {
global $a; global $a;
if(file_exists("view/$lang/strings.php")) if(file_exists("view/$lang/strings.php")) {
include("view/$lang/strings.php"); include("view/$lang/strings.php");
}
else
$a->strings = array();
}} }}
// translate string if translation exists // translate string if translation exists
@ -110,12 +113,13 @@ function t($s) {
if(! function_exists('tt')){ if(! function_exists('tt')){
function tt($singular, $plural, $count){ function tt($singular, $plural, $count){
global $lang;
$a = get_app(); $a = get_app();
if(x($a->strings,$singular)) { if(x($a->strings,$singular)) {
$t = $a->strings[$singular]; $t = $a->strings[$singular];
$k = string_plural_select($count); $f = 'string_plural_select_' . str_replace('-','_',$lang);
$k = $f($count);
return is_array($t)?$t[$k]:$t; return is_array($t)?$t[$k]:$t;
} }

View File

@ -11,6 +11,13 @@ function po2php_run($argv, $argc) {
$pofile = $argv[1]; $pofile = $argv[1];
$outfile = dirname($pofile)."/strings.php"; $outfile = dirname($pofile)."/strings.php";
if(strstr($outfile,'util'))
$lang = 'en';
else
$lang = str_replace('-','_',basename(dirname($pofile)));
if (!file_exists($pofile)){ if (!file_exists($pofile)){
print "Unable to find '$pofile'\n"; print "Unable to find '$pofile'\n";
return; return;
@ -37,7 +44,7 @@ function po2php_run($argv, $argc) {
$match=Array(); $match=Array();
preg_match("|nplurals=([0-9]*); *plural=(.*)[;\\\\]|", $l, $match); preg_match("|nplurals=([0-9]*); *plural=(.*)[;\\\\]|", $l, $match);
$cond = str_replace('n','$n',$match[2]); $cond = str_replace('n','$n',$match[2]);
$out .= 'function string_plural_select($n){'."\n"; $out .= 'function string_plural_select_' . $lang . '($n){'."\n";
$out .= ' return '.$cond.';'."\n"; $out .= ' return '.$cond.';'."\n";
$out .= '}'."\n"; $out .= '}'."\n";
} }

View File

@ -1,6 +1,6 @@
<?php <?php
function string_plural_select($n){ function string_plural_select_cs($n){
return ($n==1) ? 0 : ($n>=2 && $n<=4) ? 1 : 2; return ($n==1) ? 0 : ($n>=2 && $n<=4) ? 1 : 2;
} }
; ;

View File

@ -1,6 +1,6 @@
<?php <?php
function string_plural_select($n){ function string_plural_select_de($n){
return ($n != 1); return ($n != 1);
} }
; ;
@ -380,8 +380,8 @@ $a->strings["View New Items"] = "Neue Einträge anzeigen";
$a->strings["View Any Items"] = "Alle Einträge anzeigen"; $a->strings["View Any Items"] = "Alle Einträge anzeigen";
$a->strings["View Starred Items"] = "Gesternte Einträge anzeigen"; $a->strings["View Starred Items"] = "Gesternte Einträge anzeigen";
$a->strings["Warning: This group contains %s member from an insecure network."] = array( $a->strings["Warning: This group contains %s member from an insecure network."] = array(
0 => "Warnung: Diese Gruppe beinhaltet %s Mitglied aus unsicheren Netzwerken.", 0 => "",
1 => "Warnung: Diese Gruppe beinhaltet %s Mitglieder aus unsicheren Netzwerken.", 1 => "",
); );
$a->strings["Private messages to this group are at risk of public disclosure."] = "Private Nachrichten an diese Gruppe könnten an die Öffentlichkeit geraten."; $a->strings["Private messages to this group are at risk of public disclosure."] = "Private Nachrichten an diese Gruppe könnten an die Öffentlichkeit geraten.";
$a->strings["No such group"] = "Es gibt keine solche Gruppe"; $a->strings["No such group"] = "Es gibt keine solche Gruppe";
@ -603,7 +603,7 @@ $a->strings["Log settings updated."] = "Protokolleinstellungen aktualisiert.";
$a->strings["Clear"] = "löschen"; $a->strings["Clear"] = "löschen";
$a->strings["Debugging"] = "Protokoll führen"; $a->strings["Debugging"] = "Protokoll führen";
$a->strings["Log file"] = "Protokolldatei"; $a->strings["Log file"] = "Protokolldatei";
$a->strings["Must be writable by web server. Relative to your Friendika index.php."] = "Muss schreibbar durch den Webserver sein. Angabe relativ zu Friendikas index.php."; $a->strings["Must be writable by web server. Relative to your Friendika index.php."] = "Muss schreibbar durch den Webserver sein. Angabe relativ zu Friendikas indes.php.";
$a->strings["Log level"] = "Protokollevel"; $a->strings["Log level"] = "Protokollevel";
$a->strings["Close"] = "Schließen"; $a->strings["Close"] = "Schließen";
$a->strings["FTP Host"] = "FTP Host"; $a->strings["FTP Host"] = "FTP Host";

View File

@ -1,20 +1,17 @@
<?php <?php
function string_plural_select($n){
return ($n != 1);
}
; ;
$a->strings["Not Found"] = "No se ha encontrado"; $a->strings["Not Found"] = "No se ha encontrado";
$a->strings["Page not found."] = "Página no encontrada."; $a->strings["Page not found."] = "Página no encontrada.";
$a->strings["Permission denied"] = "Permiso denegado"; $a->strings["Permission denied"] = "Permiso denegado";
$a->strings["Permission denied."] = "Permiso denegado."; $a->strings["Permission denied."] = "Permiso denegado.";
$a->strings["Create a New Account"] = "Crea una nueva cuenta"; $a->strings["Create a New Account"] = "Crear una nueva cuenta";
$a->strings["Register"] = "Registrarse"; $a->strings["Register"] = "Registrarse";
$a->strings["Nickname or Email address: "] = "Apodo o dirección de email: "; $a->strings["Nickname or Email address: "] = "Apodo o dirección de email: ";
$a->strings["Password: "] = "Contraseña: "; $a->strings["Password: "] = "Contrasea: ";
$a->strings["Login"] = "Acceder"; $a->strings["Login"] = "Acceder";
$a->strings["Nickname/Email/OpenID: "] = "Apodo/Email/OpenID: "; $a->strings["Nickname/Email/OpenID: "] = "Apodo/Email/OpenID: ";
$a->strings["Password (if not OpenID): "] = "Contraseña (si no OpenID): "; $a->strings["Password (if not OpenID): "] = "Contrasea (si no OpenID): ";
$a->strings["Forgot your password?"] = "¿Olvidó la contraseña?"; $a->strings["Forgot your password?"] = "¿Olvidó la contraseña?";
$a->strings["Password Reset"] = "Resetear la contraseña"; $a->strings["Password Reset"] = "Resetear la contraseña";
$a->strings["Logout"] = "Salir"; $a->strings["Logout"] = "Salir";
@ -34,7 +31,7 @@ $a->strings["No contacts"] = "Nigún contacto";
$a->strings["Contacts"] = "Contactos"; $a->strings["Contacts"] = "Contactos";
$a->strings["View Contacts"] = "Ver contactos"; $a->strings["View Contacts"] = "Ver contactos";
$a->strings["Search"] = "Busca"; $a->strings["Search"] = "Busca";
$a->strings["No profile"] = "Nigún perfil"; $a->strings["No profile"] = "Nign perfil";
$a->strings["Connect"] = "Conecta"; $a->strings["Connect"] = "Conecta";
$a->strings["Location:"] = "Ubicación:"; $a->strings["Location:"] = "Ubicación:";
$a->strings[", "] = ", "; $a->strings[", "] = ", ";
@ -329,9 +326,9 @@ $a->strings["Please login to confirm introduction."] = "Inicia sesión para conf
$a->strings["Incorrect identity currently logged in. Please login to <strong>this</strong> profile."] = "Inicio de sesión con la identificación incorrecta. Entra en <strong>este</ strong> perfil."; $a->strings["Incorrect identity currently logged in. Please login to <strong>this</strong> profile."] = "Inicio de sesión con la identificación incorrecta. Entra en <strong>este</ strong> perfil.";
$a->strings["[Name Withheld]"] = "[Nombre oculto]"; $a->strings["[Name Withheld]"] = "[Nombre oculto]";
$a->strings["Introduction received at "] = "Presentación recibida en"; $a->strings["Introduction received at "] = "Presentación recibida en";
$a->strings["Friend/Connection Request"] = "Solicitud de Amistad/Conexión"; $a->strings["Friend/Connection Request"] = "Solicitud de Amistad/Conexin";
$a->strings["Please answer the following:"] = "Por favor responda lo siguiente:"; $a->strings["Please answer the following:"] = "Por favor responda lo siguiente:";
$a->strings["Does \$name know you?"] = "\$name te conoce?"; $a->strings["Does \$name know you?"] = "$name te conoce?";
$a->strings["Add a personal note:"] = "Agregar una nota personal:"; $a->strings["Add a personal note:"] = "Agregar una nota personal:";
$a->strings["Please enter your profile address from one of the following supported social networks:"] = "Por favor, introduzca su dirección de perfil de uno de las siguientes redes sociales soportadas:"; $a->strings["Please enter your profile address from one of the following supported social networks:"] = "Por favor, introduzca su dirección de perfil de uno de las siguientes redes sociales soportadas:";
$a->strings["Friendika"] = "Friendika"; $a->strings["Friendika"] = "Friendika";
@ -577,3 +574,522 @@ $a->strings["%d Contact"] = array(
0 => "%d Contacto", 0 => "%d Contacto",
1 => "%d Contactos", 1 => "%d Contactos",
); );
$a->strings["Post successful."] = "";
$a->strings["Contact settings applied."] = "";
$a->strings["Contact update failed."] = "";
$a->strings["Repair Contact Settings"] = "";
$a->strings["<strong>WARNING: This is highly advanced</strong> and if you enter incorrect information your communications with this contact will stop working."] = "";
$a->strings["Please use your browser 'Back' button <strong>now</strong> if you are uncertain what to do on this page."] = "";
$a->strings["Name"] = "";
$a->strings["Account Nickname"] = "";
$a->strings["@Tagname - overrides Name/Nickname"] = "";
$a->strings["Account URL"] = "";
$a->strings["Friend Request URL"] = "";
$a->strings["Friend Confirm URL"] = "";
$a->strings["Notification Endpoint URL"] = "";
$a->strings["Poll/Feed URL"] = "";
$a->strings["Help:"] = "";
$a->strings["Help"] = "";
$a->strings["File exceeds size limit of %d"] = "";
$a->strings["File upload failed."] = "";
$a->strings["Friend suggestion sent."] = "";
$a->strings["Suggest Friends"] = "";
$a->strings["Suggest a friend for %s"] = "";
$a->strings["Status"] = "";
$a->strings["Profile"] = "";
$a->strings["Photos"] = "";
$a->strings["Events"] = "";
$a->strings["Personal Notes"] = "";
$a->strings["Create New Event"] = "";
$a->strings["Previous"] = "";
$a->strings["Next"] = "";
$a->strings["l, F j"] = "";
$a->strings["Edit event"] = "";
$a->strings["hour:minute"] = "";
$a->strings["Event details"] = "";
$a->strings["Format is %s %s. Starting date and Description are required."] = "";
$a->strings["Event Starts:"] = "";
$a->strings["Finish date/time is not known or not relevant"] = "";
$a->strings["Event Finishes:"] = "";
$a->strings["Adjust for viewer timezone"] = "";
$a->strings["Description:"] = "";
$a->strings["Share this event"] = "";
$a->strings["everybody"] = "";
$a->strings["Image file is empty."] = "";
$a->strings["Public access denied."] = "";
$a->strings["Access to this item is restricted."] = "";
$a->strings["Comment"] = "";
$a->strings["Not available."] = "";
$a->strings["Community"] = "";
$a->strings["Post to Email"] = "";
$a->strings["Attach file"] = "";
$a->strings["Public post"] = "";
$a->strings["Welcome home %s."] = "";
$a->strings["Please confirm your introduction/connection request to %s."] = "";
$a->strings["Confirm"] = "";
$a->strings["Diaspora members: Please do not use this form. Instead, enter \"%s\" into your Diaspora search bar."] = "";
$a->strings["Please enter your 'Identity Address' from one of the following supported social networks:"] = "";
$a->strings["Examples: jojo@demo.friendika.com, http://demo.friendika.com/profile/jojo, testuser@identi.ca"] = "";
$a->strings["Does %s know you?"] = "";
$a->strings["Diaspora"] = "";
$a->strings["- please share from your own site as noted above"] = "";
$a->strings["Your Identity Address:"] = "";
$a->strings["Proceed with Installation"] = "";
$a->strings["Your Friendika site database has been installed."] = "";
$a->strings["Proceed to registration"] = "";
$a->strings["Friendika Social Network"] = "";
$a->strings["Installation"] = "";
$a->strings["In order to install Friendika we need to know how to connect to your database."] = "";
$a->strings["Please contact your hosting provider or site administrator if you have questions about these settings."] = "";
$a->strings["The database you specify below should already exist. If it does not, please create it before continuing."] = "";
$a->strings["Database Server Name"] = "";
$a->strings["Database Login Name"] = "";
$a->strings["Database Login Password"] = "";
$a->strings["Database Name"] = "";
$a->strings["Please select a default timezone for your website"] = "";
$a->strings["Site administrator email address. Your account email address must match this in order to use the web admin panel."] = "";
$a->strings["Error: mb_string PHP module required but not installed."] = "";
$a->strings["l F d, Y \\@ g:i A"] = "";
$a->strings["Time Conversion"] = "";
$a->strings["Friendika provides this service for sharing events with other networks and friends in unknown timezones."] = "";
$a->strings["Converted localtime: %s"] = "";
$a->strings["UTC time: %s"] = "";
$a->strings["Please select your timezone:"] = "";
$a->strings["[Embedded content - reload page to view]"] = "";
$a->strings["Profile Match"] = "";
$a->strings["No keywords to match. Please add keywords to your default profile."] = "";
$a->strings["No matches"] = "";
$a->strings["Pending Friend/Connect Notifications"] = "";
$a->strings["Friend Suggestion"] = "";
$a->strings["suggested by %s"] = "";
$a->strings["Sharer"] = "";
$a->strings["%d invitation available"] = array(
0 => "",
1 => "",
);
$a->strings["Find People With Shared Interests"] = "";
$a->strings["Privacy Unavailable"] = "";
$a->strings["Private communications are not available for this contact."] = "";
$a->strings["Suggest friends"] = "";
$a->strings["Network type: %s"] = "";
$a->strings["Profile Visibility"] = "";
$a->strings["Please choose the profile you would like to display to %s when viewing your profile securely."] = "";
$a->strings["Contact Information / Notes"] = "";
$a->strings["Online Reputation"] = "";
$a->strings["Occasionally your friends may wish to inquire about this person's online legitimacy."] = "";
$a->strings["You may help them choose whether or not to interact with this person by providing a <em>reputation</em> to guide them."] = "";
$a->strings["Please take a moment to elaborate on this selection if you feel it could be helpful to others."] = "";
$a->strings["Visit %s's profile [%s]"] = "";
$a->strings["Repair contact URL settings"] = "";
$a->strings["Repair contact URL settings (WARNING: Advanced)"] = "";
$a->strings["View conversations"] = "";
$a->strings["No valid account found."] = "";
$a->strings["Password reset request issued. Check your email."] = "";
$a->strings["Request could not be verified. (You may have previously submitted it.) Password reset failed."] = "";
$a->strings["Your password has been reset as requested."] = "";
$a->strings["Your new password is"] = "";
$a->strings["Save or copy your new password - and then"] = "";
$a->strings["click here to login"] = "";
$a->strings["Your password may be changed from the <em>Settings</em> page after successful login."] = "";
$a->strings["Forgot your Password?"] = "";
$a->strings["Enter your email address and submit to have your password reset. Then check your email for further instructions."] = "";
$a->strings["Nickname or Email: "] = "";
$a->strings["Reset"] = "";
$a->strings["Failed to connect with email account using the settings provided."] = "";
$a->strings["Account settings"] = "";
$a->strings["Plugin settings"] = "";
$a->strings["Normal Account"] = "";
$a->strings["This account is a normal personal profile"] = "";
$a->strings["Soapbox Account"] = "";
$a->strings["Automatically approve all connection/friend requests as read-only fans"] = "";
$a->strings["Community/Celebrity Account"] = "";
$a->strings["Automatically approve all connection/friend requests as read-write fans"] = "";
$a->strings["Automatic Friend Account"] = "";
$a->strings["Automatically approve all connection/friend requests as friends"] = "";
$a->strings["OpenID:"] = "";
$a->strings["(Optional) Allow this OpenID to login to this account."] = "";
$a->strings["Publish your default profile in your local site directory?"] = "";
$a->strings["Publish your default profile in the global social directory?"] = "";
$a->strings["Hide your contact/friend list from viewers of your default profile?"] = "";
$a->strings["Hide profile details and all your messages from unknown viewers?"] = "";
$a->strings["or"] = "";
$a->strings["Your Identity Address is"] = "";
$a->strings["Export Personal Data"] = "";
$a->strings["Password Settings"] = "";
$a->strings["New Password:"] = "";
$a->strings["Confirm:"] = "";
$a->strings["Leave password fields blank unless changing"] = "";
$a->strings["Basic Settings"] = "";
$a->strings["Full Name:"] = "";
$a->strings["Email Address:"] = "";
$a->strings["Your Timezone:"] = "";
$a->strings["Default Post Location:"] = "";
$a->strings["Use Browser Location:"] = "";
$a->strings["Display Theme:"] = "";
$a->strings["Security and Privacy Settings"] = "";
$a->strings["Maximum Friend Requests/Day:"] = "";
$a->strings["(to prevent spam abuse)"] = "";
$a->strings["(click to open/close)"] = "";
$a->strings["Allow friends to post to your profile page:"] = "";
$a->strings["Automatically expire posts after days:"] = "";
$a->strings["If empty, posts will not expire. Expired posts will be deleted"] = "";
$a->strings["Notification Settings"] = "";
$a->strings["Send a notification email when:"] = "";
$a->strings["You receive an introduction"] = "";
$a->strings["Your introductions are confirmed"] = "";
$a->strings["Someone writes on your profile wall"] = "";
$a->strings["Someone writes a followup comment"] = "";
$a->strings["You receive a private message"] = "";
$a->strings["Email/Mailbox Setup"] = "";
$a->strings["If you wish to communicate with email contacts using this service (optional), please specify how to connect to your mailbox."] = "";
$a->strings["Last successful email check:"] = "";
$a->strings["Email access is disabled on this site."] = "";
$a->strings["IMAP server name:"] = "";
$a->strings["IMAP port:"] = "";
$a->strings["Security:"] = "";
$a->strings["None"] = "";
$a->strings["Email login name:"] = "";
$a->strings["Email password:"] = "";
$a->strings["Reply-to address:"] = "";
$a->strings["Send public posts to all email contacts:"] = "";
$a->strings["Advanced Page Settings"] = "";
$a->strings["View Conversations"] = "";
$a->strings["View New Items"] = "";
$a->strings["View Any Items"] = "";
$a->strings["View Starred Items"] = "";
$a->strings["View Bookmarks"] = "";
$a->strings["Saved Searches"] = "";
$a->strings["Remove term"] = "";
$a->strings["Warning: This group contains %s member from an insecure network."] = array(
0 => "",
1 => "",
);
$a->strings["Private messages to this group are at risk of public disclosure."] = "";
$a->strings["Contact: "] = "";
$a->strings["Private messages to this person are at risk of public disclosure."] = "";
$a->strings["Invalid contact."] = "";
$a->strings["Save"] = "";
$a->strings["Welcome to Friendika"] = "";
$a->strings["New Member Checklist"] = "";
$a->strings["We would like to offer some tips and links to help make your experience enjoyable. Click any item to visit the relevant page."] = "";
$a->strings["On your <em>Settings</em> page - change your initial password. Also make a note of your Identity Address. This will be useful in making friends."] = "";
$a->strings["Review the other settings, particularly the privacy settings. An unpublished directory listing is like having an unlisted phone number. In general, you should probably publish your listing - unless all of your friends and potential friends know exactly how to find you."] = "";
$a->strings["Upload a profile photo if you have not done so already. Studies have shown that people with real photos of themselves are ten times more likely to make friends than people who do not."] = "";
$a->strings["Authorise the Facebook Connector if you currently have a Facebook account and we will (optionally) import all your Facebook friends and conversations."] = "";
$a->strings["Enter your email access information on your Settings page if you wish to import and interact with friends or mailing lists from your email INBOX"] = "";
$a->strings["Edit your <strong>default</strong> profile to your liking. Review the settings for hiding your list of friends and hiding the profile from unknown visitors."] = "";
$a->strings["Set some public keywords for your default profile which describe your interests. We may be able to find other people with similar interests and suggest friendships."] = "";
$a->strings["Your Contacts page is your gateway to managing friendships and connecting with friends on other networks. Typically you enter their address or site URL in the <em>Connect</em> dialog."] = "";
$a->strings["The Directory page lets you find other people in this network or other federated sites. Look for a <em>Connect</em> or <em>Follow</em> link on their profile page. Provide your own Identity Address if requested."] = "";
$a->strings["Once you have made some friends, organize them into private conversation groups from the sidebar of your Contacts page and then you can interact with each group privately on your Network page."] = "";
$a->strings["Our <strong>help</strong> pages may be consulted for detail on other program features and resources."] = "";
$a->strings["Item not available."] = "";
$a->strings["Item was not found."] = "";
$a->strings["Create a group of contacts/friends."] = "";
$a->strings["Group Name: "] = "";
$a->strings["Click on a contact to add or remove."] = "";
$a->strings["Group Editor"] = "";
$a->strings["Members"] = "";
$a->strings["All Contacts"] = "";
$a->strings["Invalid profile identifier."] = "";
$a->strings["Profile Visibility Editor"] = "";
$a->strings["Visible To"] = "";
$a->strings["All Contacts (with secure profile access)"] = "";
$a->strings["An invitation is required."] = "";
$a->strings["Invitation could not be verified."] = "";
$a->strings["That doesn't appear to be your full (First Last) name."] = "";
$a->strings["Membership on this site is by invitation only."] = "";
$a->strings["Your invitation ID: "] = "";
$a->strings["This is Friendika version"] = "";
$a->strings["running at web location"] = "";
$a->strings["Shared content within the Friendika network is provided under the <a href=\"http://creativecommons.org/licenses/by/3.0/\">Creative Commons Attribution 3.0 license</a>"] = "";
$a->strings["Please visit <a href=\"http://project.friendika.com\">Project.Friendika.com</a> to learn more about the Friendika project."] = "";
$a->strings["Bug reports and issues: please visit"] = "";
$a->strings["Suggestions, praise, donations, etc. - please email \"Info\" at Friendika - dot com"] = "";
$a->strings["Installed plugins/addons/apps"] = "";
$a->strings["No installed plugins/addons/apps"] = "";
$a->strings["Administrator@"] = "";
$a->strings["%s posted to your profile wall at %s"] = "";
$a->strings["You may visit them online at %s"] = "";
$a->strings["Upload File:"] = "";
$a->strings["Upload Profile Photo"] = "";
$a->strings["Upload"] = "";
$a->strings["skip this step"] = "";
$a->strings["select a photo from your photo albums"] = "";
$a->strings["Crop Image"] = "";
$a->strings["Please adjust the image cropping for optimum viewing."] = "";
$a->strings["Done Editing"] = "";
$a->strings["Please enter a link URL:"] = "";
$a->strings["D, d M Y - g:i A"] = "";
$a->strings["Site"] = "";
$a->strings["Users"] = "";
$a->strings["Plugins"] = "";
$a->strings["Update"] = "";
$a->strings["Logs"] = "";
$a->strings["User registrations waiting for confirmation"] = "";
$a->strings["Administration"] = "";
$a->strings["Summary"] = "";
$a->strings["Registered users"] = "";
$a->strings["Pending registrations"] = "";
$a->strings["Version"] = "";
$a->strings["Active plugins"] = "";
$a->strings["Site settings updated."] = "";
$a->strings["Closed"] = "";
$a->strings["Requires approval"] = "";
$a->strings["Open"] = "";
$a->strings["File upload"] = "";
$a->strings["Policies"] = "";
$a->strings["Advanced"] = "";
$a->strings["Site name"] = "";
$a->strings["Banner/Logo"] = "";
$a->strings["System language"] = "";
$a->strings["System theme"] = "";
$a->strings["Maximum image size"] = "";
$a->strings["Register policy"] = "";
$a->strings["Register text"] = "";
$a->strings["Allowed friend domains"] = "";
$a->strings["Allowed email domains"] = "";
$a->strings["Block public"] = "";
$a->strings["Force publish"] = "";
$a->strings["Global directory update URL"] = "";
$a->strings["Block multiple registrations"] = "";
$a->strings["OpenID support"] = "";
$a->strings["Gravatar support"] = "";
$a->strings["Fullname check"] = "";
$a->strings["UTF-8 Regular expressions"] = "";
$a->strings["Show Community Page"] = "";
$a->strings["Enable OStatus support"] = "";
$a->strings["Enable Diaspora support"] = "";
$a->strings["Only allow Friendika contacts"] = "";
$a->strings["Verify SSL"] = "";
$a->strings["Proxy user"] = "";
$a->strings["Proxy URL"] = "";
$a->strings["Network timeout"] = "";
$a->strings["%s user blocked"] = array(
0 => "",
1 => "",
);
$a->strings["%s user deleted"] = array(
0 => "",
1 => "",
);
$a->strings["User '%s' deleted"] = "";
$a->strings["User '%s' unblocked"] = "";
$a->strings["User '%s' blocked"] = "";
$a->strings["select all"] = "";
$a->strings["User registrations waiting for confirm"] = "";
$a->strings["Request date"] = "";
$a->strings["Email"] = "";
$a->strings["Deny"] = "";
$a->strings["Block"] = "";
$a->strings["Unblock"] = "";
$a->strings["Register date"] = "";
$a->strings["Last login"] = "";
$a->strings["Last item"] = "";
$a->strings["Account"] = "";
$a->strings["Selected users will be deleted!\\n\\nEverything these users had posted on this site will be permanently deleted!\\n\\nAre you sure?"] = "";
$a->strings["The user {0} will be deleted!\\n\\nEverything this user has posted on this site will be permanently deleted!\\n\\nAre you sure?"] = "";
$a->strings["Plugin %s disabled."] = "";
$a->strings["Plugin %s enabled."] = "";
$a->strings["Disable"] = "";
$a->strings["Enable"] = "";
$a->strings["Toggle"] = "";
$a->strings["Log settings updated."] = "";
$a->strings["Clear"] = "";
$a->strings["Debugging"] = "";
$a->strings["Log file"] = "";
$a->strings["Must be writable by web server. Relative to your Friendika index.php."] = "";
$a->strings["Log level"] = "";
$a->strings["Close"] = "";
$a->strings["FTP Host"] = "";
$a->strings["FTP Path"] = "";
$a->strings["FTP User"] = "";
$a->strings["FTP Password"] = "";
$a->strings["Access to this profile has been restricted."] = "";
$a->strings["Tips for New Members"] = "";
$a->strings["Welcome "] = "";
$a->strings["Please upload a profile photo."] = "";
$a->strings["This site is not configured to allow communications with other networks."] = "";
$a->strings["No compatible communication protocols or feeds were discovered."] = "";
$a->strings["An author or name was not found."] = "";
$a->strings["No browser URL could be matched to this address."] = "";
$a->strings["The profile address specified belongs to a network which has been disabled on this site."] = "";
$a->strings["No installed applications."] = "";
$a->strings["Hide your contact/friend list from viewers of this profile?"] = "";
$a->strings["Edit Profile Details"] = "";
$a->strings["View this profile"] = "";
$a->strings["Create a new profile using these settings"] = "";
$a->strings["Clone this profile"] = "";
$a->strings["Delete this profile"] = "";
$a->strings["Profile Name:"] = "";
$a->strings["Your Full Name:"] = "";
$a->strings["Title/Description:"] = "";
$a->strings["Your Gender:"] = "";
$a->strings["Birthday (%s):"] = "";
$a->strings["Street Address:"] = "";
$a->strings["Locality/City:"] = "";
$a->strings["Postal/Zip Code:"] = "";
$a->strings["Country:"] = "";
$a->strings["Region/State:"] = "";
$a->strings["<span class=\"heart\">&hearts;</span> Marital Status:"] = "";
$a->strings["Who: (if applicable)"] = "";
$a->strings["Examples: cathy123, Cathy Williams, cathy@example.com"] = "";
$a->strings["Sexual Preference:"] = "";
$a->strings["Homepage URL:"] = "";
$a->strings["Political Views:"] = "";
$a->strings["Religious Views:"] = "";
$a->strings["Public Keywords:"] = "";
$a->strings["Private Keywords:"] = "";
$a->strings["Example: fishing photography software"] = "";
$a->strings["(Used for suggesting potential friends, can be seen by others)"] = "";
$a->strings["(Used for searching profiles, never shown to others)"] = "";
$a->strings["Tell us about yourself..."] = "";
$a->strings["Hobbies/Interests"] = "";
$a->strings["Contact information and Social Networks"] = "";
$a->strings["Musical interests"] = "";
$a->strings["Books, literature"] = "";
$a->strings["Television"] = "";
$a->strings["Film/dance/culture/entertainment"] = "";
$a->strings["Love/romance"] = "";
$a->strings["Work/employment"] = "";
$a->strings["School/education"] = "";
$a->strings["Change profile photo"] = "";
$a->strings["Create New Profile"] = "";
$a->strings["visible to everybody"] = "";
$a->strings["Edit visibility"] = "";
$a->strings["Normal site view"] = "";
$a->strings["View all site entries"] = "";
$a->strings["Site Directory"] = "";
$a->strings["Gender: "] = "";
$a->strings["No entries (some entries may be hidden)."] = "";
$a->strings["You have no more invitations available"] = "";
$a->strings["You will need to supply this invitation code: \$invite_code"] = "";
$a->strings["%1\$s is now friends with %2\$s"] = "";
$a->strings["Site public key not available in contact record for URL %s."] = "";
$a->strings["Updating contacts"] = "";
$a->strings["Install Facebook connector for this account."] = "";
$a->strings["Remove Facebook connector"] = "";
$a->strings["Link all your Facebook friends and conversations"] = "";
$a->strings["Do not link your Facebook profile wall posts - as these could be visible to people that would not be able to see them on Facebook."] = "";
$a->strings["Post to Facebook cancelled because of multi-network access permission conflict."] = "";
$a->strings["View on Friendika"] = "";
$a->strings["Facebook post failed. Queued for retry."] = "";
$a->strings["Generate new key"] = "";
$a->strings["Widgets key"] = "";
$a->strings["Widgets available"] = "";
$a->strings["Connect on Friendika!"] = "";
$a->strings["Impressum"] = "";
$a->strings["Site Owner"] = "";
$a->strings["Email Address"] = "";
$a->strings["Postal Address"] = "";
$a->strings["The impressum addon needs to be configured!<br />Please add at least the <tt>owner</tt> variable to your config file. For other variables please refer to the README file of the addon."] = "";
$a->strings["Site Owners Profile"] = "";
$a->strings["Notes"] = "";
$a->strings["OEmbed settings updated"] = "";
$a->strings["Use OEmbed for YouTube videos"] = "";
$a->strings["URL to embed:"] = "";
$a->strings["Please contact your site administrator.<br />The provided API URL is not valid."] = "";
$a->strings["We could not contact the StatusNet API with the Path you entered."] = "";
$a->strings["StatusNet settings updated."] = "";
$a->strings["Globally Available StatusNet OAuthKeys"] = "";
$a->strings["There are preconfigured OAuth key pairs for some StatusNet servers available. If you are useing one of them, please use these credentials. If not feel free to connect to any other StatusNet instance (see below)."] = "";
$a->strings["Provide your own OAuth Credentials"] = "";
$a->strings["Cancel Connection Process"] = "";
$a->strings["Current StatusNet API is"] = "";
$a->strings["Cancel StatusNet Connection"] = "";
$a->strings["If enabled all your <strong>public</strong> postings can be posted to the associated StatusNet account. You can choose to do so by default (here) or for every posting separately in the posting options when writing the entry."] = "";
$a->strings["Allow posting to StatusNet"] = "";
$a->strings["Send public postings to StatusNet by default"] = "";
$a->strings["API URL"] = "";
$a->strings["Consumer Secret"] = "";
$a->strings["Consumer Key"] = "";
$a->strings["Post to Wordpress"] = "";
$a->strings["WordPress Post Settings"] = "";
$a->strings["Enable WordPress Post Plugin"] = "";
$a->strings["WordPress username"] = "";
$a->strings["WordPress password"] = "";
$a->strings["WordPress API URL"] = "";
$a->strings["Post to WordPress by default"] = "";
$a->strings["This website is tracked using the <a href='http://www.piwik.org'>Piwik</a> analytics tool."] = "";
$a->strings["If you do not want that your visits are logged this way you <a href='%s'>can set a cookie to prevent Piwik from tracking further visits of the site</a> (opt-out)."] = "";
$a->strings["Piwik Base URL"] = "";
$a->strings["Site ID"] = "";
$a->strings["Show opt-out cookie link?"] = "";
$a->strings["Twitter settings updated."] = "";
$a->strings["If enabled all your <strong>public</strong> postings can be posted to the associated Twitter account. You can choose to do so by default (here) or for every posting separately in the posting options when writing the entry."] = "";
$a->strings["Allow posting to Twitter"] = "";
$a->strings["Send public postings to Twitter by default"] = "";
$a->strings["Consumer key"] = "";
$a->strings["Consumer secret"] = "";
$a->strings["j F, Y"] = "";
$a->strings["j F"] = "";
$a->strings["Age:"] = "";
$a->strings["<span class=\"heart\">&hearts;</span> Status:"] = "";
$a->strings["Religion:"] = "";
$a->strings["About:"] = "";
$a->strings["Hobbies/Interests:"] = "";
$a->strings["Contact information and Social Networks:"] = "";
$a->strings["Musical interests:"] = "";
$a->strings["Books, literature:"] = "";
$a->strings["Television:"] = "";
$a->strings["Film/dance/culture/entertainment:"] = "";
$a->strings["Love/Romance:"] = "";
$a->strings["Work/employment:"] = "";
$a->strings["School/education:"] = "";
$a->strings["OStatus"] = "";
$a->strings["RSS/Atom"] = "";
$a->strings["Zot!"] = "";
$a->strings["Starts:"] = "";
$a->strings["Finishes:"] = "";
$a->strings["(no subject)"] = "";
$a->strings["bytes"] = "";
$a->strings["Select an alternate language"] = "";
$a->strings["Sharing notification from Diaspora network"] = "";
$a->strings["link"] = "";
$a->strings["[Relayed] Comment authored by %s from network %s"] = "";
$a->strings["End this session"] = "";
$a->strings["Sign in"] = "";
$a->strings["Home Page"] = "";
$a->strings["Create an account"] = "";
$a->strings["Help and documentation"] = "";
$a->strings["Addon applications, utilities, games"] = "";
$a->strings["Search site content"] = "";
$a->strings["Conversations on this site"] = "";
$a->strings["People directory"] = "";
$a->strings["Conversations from your friends"] = "";
$a->strings["Your posts and conversations"] = "";
$a->strings["Friend requests"] = "";
$a->strings["Private mail"] = "";
$a->strings["Manage other pages"] = "";
$a->strings["Manage/edit profiles"] = "";
$a->strings["Manage/edit friends and contacts"] = "";
$a->strings["Admin"] = "";
$a->strings["Site setup and configuration"] = "";
$a->strings["never"] = "";
$a->strings["From: "] = "";
$a->strings["Image/photo"] = "";
$a->strings["Visible to everybody"] = "";
$a->strings["show"] = "";
$a->strings["don't show"] = "";
$a->strings["View status"] = "";
$a->strings["View profile"] = "";
$a->strings["View photos"] = "";
$a->strings["View recent"] = "";
$a->strings["Send PM"] = "";
$a->strings["event"] = "";
$a->strings["View %s's profile"] = "";
$a->strings["%s from %s"] = "";
$a->strings["See more posts like this"] = "";
$a->strings["See all %d comments"] = "";
$a->strings["Select"] = "";
$a->strings["toggle star status"] = "";
$a->strings["Delete Selected Items"] = "";
$a->strings["Visible to <strong>everybody</strong>"] = "";
$a->strings["Please enter a YouTube link:"] = "";
$a->strings["Please enter a video(.ogg) link/URL:"] = "";
$a->strings["Please enter an audio(.ogg) link/URL:"] = "";
$a->strings["Where are you right now?"] = "";
$a->strings["Enter a title for this item"] = "";
$a->strings["Set title"] = "";
$a->strings["Delete this item?"] = "";
$a->strings["g A l F d"] = "";

View File

@ -1,6 +1,6 @@
<?php <?php
function string_plural_select($n){ function string_plural_select_fr($n){
return ($n != 1); return ($n != 1);
} }
; ;

View File

@ -1,6 +1,6 @@
<?php <?php
function string_plural_select($n){ function string_plural_select_it($n){
return ($n != 1); return ($n != 1);
} }
; ;

View File

@ -1,6 +1,6 @@
<?php <?php
function string_plural_select($n){ function string_plural_select_pt_br($n){
return ($n > 1); return ($n > 1);
} }
; ;

View File

@ -1,6 +1,6 @@
<?php <?php
function string_plural_select($n){ function string_plural_select_ru($n){
return ($n%10==1 && $n%100!=11 ? 0 : $n%10>=2 && $n%10<=4 && ($n%100<10 || $n%100>=20) ? 1 : 2); return ($n%10==1 && $n%100!=11 ? 0 : $n%10>=2 && $n%10<=4 && ($n%100<10 || $n%100>=20) ? 1 : 2);
} }
; ;