removed yourls addon

pull/611/head
Tobias Diekershoff 2018-06-02 11:40:31 +02:00
parent eb0e7ba01b
commit 8c154f8f2e
31 changed files with 0 additions and 852 deletions

View File

@ -1,8 +0,0 @@
YourLS
For server admins only.
Defines a YourLS url shortener for the Statusnet & Twitter addons.
This addon will not do anything else unless the Statusnet and/or Twitter addons are installed.
The message is entered in the admin account at Settings -> Addon settings.

View File

@ -1,46 +0,0 @@
# ADDON yourls
# Copyright (C)
# This file is distributed under the same license as the Friendica yourls addon package.
#
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-02-27 05:01-0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: yourls.php:55
msgid "YourLS Settings"
msgstr ""
#: yourls.php:57
msgid "URL: http://"
msgstr ""
#: yourls.php:62
msgid "Username:"
msgstr ""
#: yourls.php:67
msgid "Password:"
msgstr ""
#: yourls.php:72
msgid "Use SSL "
msgstr ""
#: yourls.php:76
msgid "Submit"
msgstr ""
#: yourls.php:92
msgid "yourls Settings saved."
msgstr ""

View File

@ -1,9 +0,0 @@
<?php
$a->strings["YourLS Settings"] = "La Teva Configuració de LS";
$a->strings["URL: http://"] = "URL: http://";
$a->strings["Username:"] = "Nom d'usuari:";
$a->strings["Password:"] = "Contrasenya:";
$a->strings["Use SSL "] = "Emprar SSL";
$a->strings["Submit"] = "Enviar";
$a->strings["yourls Settings saved."] = "Guardar la seva configuració.";

View File

@ -1,48 +0,0 @@
# ADDON yourls
# Copyright (C)
# This file is distributed under the same license as the Friendica yourls addon package.
#
#
# Translators:
# Michal Šupler <msupler@gmail.com>, 2014
msgid ""
msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-06-23 14:45+0200\n"
"PO-Revision-Date: 2014-07-02 15:15+0000\n"
"Last-Translator: Michal Šupler <msupler@gmail.com>\n"
"Language-Team: Czech (http://www.transifex.com/projects/p/friendica/language/cs/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: cs\n"
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
#: yourls.php:55 yourls.php:59
msgid "YourLS"
msgstr "YourLS"
#: yourls.php:63
msgid "URL: http://"
msgstr "URL: http://"
#: yourls.php:68
msgid "Username:"
msgstr "Uživatelské jméno:"
#: yourls.php:73
msgid "Password:"
msgstr "Heslo: "
#: yourls.php:78
msgid "Use SSL "
msgstr "Použít SSL"
#: yourls.php:82
msgid "Save Settings"
msgstr "Uložit Nastavení"
#: yourls.php:98
msgid "yourls Settings saved."
msgstr "yourls nastavení uloženo."

View File

@ -1,14 +0,0 @@
<?php
if(! function_exists("string_plural_select_cs")) {
function string_plural_select_cs($n){
return ($n==1) ? 0 : ($n>=2 && $n<=4) ? 1 : 2;;
}}
;
$a->strings["YourLS"] = "YourLS";
$a->strings["URL: http://"] = "URL: http://";
$a->strings["Username:"] = "Uživatelské jméno:";
$a->strings["Password:"] = "Heslo: ";
$a->strings["Use SSL "] = "Použít SSL";
$a->strings["Save Settings"] = "Uložit Nastavení";
$a->strings["yourls Settings saved."] = "yourls nastavení uloženo.";

View File

@ -1,48 +0,0 @@
# ADDON yourls
# Copyright (C)
# This file is distributed under the same license as the Friendica yourls addon package.
#
#
# Translators:
# bavatar <tobias.diekershoff@gmx.net>, 2014
msgid ""
msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-06-23 14:45+0200\n"
"PO-Revision-Date: 2014-07-06 12:12+0000\n"
"Last-Translator: bavatar <tobias.diekershoff@gmx.net>\n"
"Language-Team: German (http://www.transifex.com/projects/p/friendica/language/de/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: de\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: yourls.php:55 yourls.php:59
msgid "YourLS"
msgstr "YourLS"
#: yourls.php:63
msgid "URL: http://"
msgstr "URL: http://"
#: yourls.php:68
msgid "Username:"
msgstr "Nutzername:"
#: yourls.php:73
msgid "Password:"
msgstr "Passwort:"
#: yourls.php:78
msgid "Use SSL "
msgstr "SSL verwenden"
#: yourls.php:82
msgid "Save Settings"
msgstr "Einstellungen speichern"
#: yourls.php:98
msgid "yourls Settings saved."
msgstr "yourls Einstellungen gespeichert"

View File

@ -1,14 +0,0 @@
<?php
if(! function_exists("string_plural_select_de")) {
function string_plural_select_de($n){
return ($n != 1);;
}}
;
$a->strings["YourLS"] = "YourLS";
$a->strings["URL: http://"] = "URL: http://";
$a->strings["Username:"] = "Nutzername:";
$a->strings["Password:"] = "Passwort:";
$a->strings["Use SSL "] = "SSL verwenden";
$a->strings["Save Settings"] = "Einstellungen speichern";
$a->strings["yourls Settings saved."] = "yourls Einstellungen gespeichert";

View File

@ -1,9 +0,0 @@
<?php
$a->strings["YourLS Settings"] = "\"YourLS\" Agordoj";
$a->strings["URL: http://"] = "URL adreso: http://";
$a->strings["Username:"] = "Salutnomo:";
$a->strings["Password:"] = "Pasvorto:";
$a->strings["Use SSL "] = "Uzi SSL ";
$a->strings["Submit"] = "Sendi";
$a->strings["yourls Settings saved."] = "Konservis la agordojn de YourLS.";

View File

@ -1,48 +0,0 @@
# ADDON yourls
# Copyright (C)
# This file is distributed under the same license as the Friendica yourls addon package.
#
#
# Translators:
# Albert, 2016
msgid ""
msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-02-27 05:01-0500\n"
"PO-Revision-Date: 2016-11-19 11:40+0000\n"
"Last-Translator: Albert\n"
"Language-Team: Spanish (http://www.transifex.com/Friendica/friendica/language/es/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: es\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: yourls.php:55
msgid "YourLS Settings"
msgstr "Sus Ajustes LS"
#: yourls.php:57
msgid "URL: http://"
msgstr "URL: http://"
#: yourls.php:62
msgid "Username:"
msgstr "Nombre de usuario:"
#: yourls.php:67
msgid "Password:"
msgstr "Contraseña:"
#: yourls.php:72
msgid "Use SSL "
msgstr "Usar SSL "
#: yourls.php:76
msgid "Submit"
msgstr "Enviar"
#: yourls.php:92
msgid "yourls Settings saved."
msgstr "Sus Ajustes de han guardado."

View File

@ -1,14 +0,0 @@
<?php
if(! function_exists("string_plural_select_es")) {
function string_plural_select_es($n){
return ($n != 1);;
}}
;
$a->strings["YourLS Settings"] = "Sus Ajustes LS";
$a->strings["URL: http://"] = "URL: http://";
$a->strings["Username:"] = "Nombre de usuario:";
$a->strings["Password:"] = "Contraseña:";
$a->strings["Use SSL "] = "Usar SSL ";
$a->strings["Submit"] = "Enviar";
$a->strings["yourls Settings saved."] = "Sus Ajustes de han guardado.";

View File

@ -1,48 +0,0 @@
# ADDON yourls
# Copyright (C)
# This file is distributed under the same license as the Friendica yourls addon package.
#
#
# Translators:
# Kris, 2018
msgid ""
msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-02-27 05:01-0500\n"
"PO-Revision-Date: 2018-04-03 19:16+0000\n"
"Last-Translator: Kris\n"
"Language-Team: Finnish (Finland) (http://www.transifex.com/Friendica/friendica/language/fi_FI/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: fi_FI\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: yourls.php:55
msgid "YourLS Settings"
msgstr "YourLS -asetukset"
#: yourls.php:57
msgid "URL: http://"
msgstr "URL-osoite: http://"
#: yourls.php:62
msgid "Username:"
msgstr "Käyttäjätunnus:"
#: yourls.php:67
msgid "Password:"
msgstr "Salasana:"
#: yourls.php:72
msgid "Use SSL "
msgstr "Käytä SSL"
#: yourls.php:76
msgid "Submit"
msgstr "Lähetä"
#: yourls.php:92
msgid "yourls Settings saved."
msgstr "yourls -asetukset tallennettu."

View File

@ -1,14 +0,0 @@
<?php
if(! function_exists("string_plural_select_fi_fi")) {
function string_plural_select_fi_fi($n){
return ($n != 1);;
}}
;
$a->strings["YourLS Settings"] = "YourLS -asetukset";
$a->strings["URL: http://"] = "URL-osoite: http://";
$a->strings["Username:"] = "Käyttäjätunnus:";
$a->strings["Password:"] = "Salasana:";
$a->strings["Use SSL "] = "Käytä SSL";
$a->strings["Submit"] = "Lähetä";
$a->strings["yourls Settings saved."] = "yourls -asetukset tallennettu.";

View File

@ -1,48 +0,0 @@
# ADDON yourls
# Copyright (C)
# This file is distributed under the same license as the Friendica yourls addon package.
#
#
# Translators:
# Tubuntu <tubuntu@testimonium.be>, 2014
msgid ""
msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-06-23 14:45+0200\n"
"PO-Revision-Date: 2014-06-25 14:21+0000\n"
"Last-Translator: Tubuntu <tubuntu@testimonium.be>\n"
"Language-Team: French (http://www.transifex.com/projects/p/friendica/language/fr/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: fr\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#: yourls.php:55 yourls.php:59
msgid "YourLS"
msgstr "YourLS"
#: yourls.php:63
msgid "URL: http://"
msgstr "URL: http://"
#: yourls.php:68
msgid "Username:"
msgstr "Nom d'utilisateur :"
#: yourls.php:73
msgid "Password:"
msgstr "Mot de passe :"
#: yourls.php:78
msgid "Use SSL "
msgstr "Utiliser SSL"
#: yourls.php:82
msgid "Save Settings"
msgstr "Sauvegarder les paramètres"
#: yourls.php:98
msgid "yourls Settings saved."
msgstr "paramètres YourLS sauvegardés."

View File

@ -1,14 +0,0 @@
<?php
if(! function_exists("string_plural_select_fr")) {
function string_plural_select_fr($n){
return ($n > 1);;
}}
;
$a->strings["YourLS"] = "YourLS";
$a->strings["URL: http://"] = "URL: http://";
$a->strings["Username:"] = "Nom d'utilisateur :";
$a->strings["Password:"] = "Mot de passe :";
$a->strings["Use SSL "] = "Utiliser SSL";
$a->strings["Save Settings"] = "Sauvegarder les paramètres";
$a->strings["yourls Settings saved."] = "paramètres YourLS sauvegardés.";

View File

@ -1,9 +0,0 @@
<?php
$a->strings["YourLS Settings"] = "";
$a->strings["URL: http://"] = "";
$a->strings["Username:"] = "Notendanafn:";
$a->strings["Password:"] = "Aðgangsorð:";
$a->strings["Use SSL "] = "Nota SSL";
$a->strings["Submit"] = "Senda inn";
$a->strings["yourls Settings saved."] = "";

View File

@ -1,48 +0,0 @@
# ADDON yourls
# Copyright (C)
# This file is distributed under the same license as the Friendica yourls addon package.
#
#
# Translators:
# fabrixxm <fabrix.xm@gmail.com>, 2014-2015
msgid ""
msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-02-27 05:01-0500\n"
"PO-Revision-Date: 2017-09-20 06:09+0000\n"
"Last-Translator: fabrixxm <fabrix.xm@gmail.com>\n"
"Language-Team: Italian (http://www.transifex.com/Friendica/friendica/language/it/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: it\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: yourls.php:55
msgid "YourLS Settings"
msgstr "Impostazioni YourLS"
#: yourls.php:57
msgid "URL: http://"
msgstr "Inidirizzo: http://"
#: yourls.php:62
msgid "Username:"
msgstr "Nome utente:"
#: yourls.php:67
msgid "Password:"
msgstr "Password:"
#: yourls.php:72
msgid "Use SSL "
msgstr "Usa SSL"
#: yourls.php:76
msgid "Submit"
msgstr "Invia"
#: yourls.php:92
msgid "yourls Settings saved."
msgstr "Impostazioni \"YourLS\" salvate."

View File

@ -1,14 +0,0 @@
<?php
if(! function_exists("string_plural_select_it")) {
function string_plural_select_it($n){
return ($n != 1);;
}}
;
$a->strings["YourLS Settings"] = "Impostazioni YourLS";
$a->strings["URL: http://"] = "Inidirizzo: http://";
$a->strings["Username:"] = "Nome utente:";
$a->strings["Password:"] = "Password:";
$a->strings["Use SSL "] = "Usa SSL";
$a->strings["Submit"] = "Invia";
$a->strings["yourls Settings saved."] = "Impostazioni \"YourLS\" salvate.";

View File

@ -1,9 +0,0 @@
<?php
$a->strings["YourLS Settings"] = "";
$a->strings["URL: http://"] = "";
$a->strings["Username:"] = "";
$a->strings["Password:"] = "";
$a->strings["Use SSL "] = "";
$a->strings["Submit"] = "Lagre";
$a->strings["yourls Settings saved."] = "";

View File

@ -1,48 +0,0 @@
# ADDON yourls
# Copyright (C)
# This file is distributed under the same license as the Friendica yourls addon package.
#
#
# Translators:
# Karel Vandecandelaere <karel@dasrakel.eu>, 2018
msgid ""
msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-02-27 05:01-0500\n"
"PO-Revision-Date: 2018-03-20 13:29+0000\n"
"Last-Translator: Karel Vandecandelaere <karel@dasrakel.eu>\n"
"Language-Team: Dutch (http://www.transifex.com/Friendica/friendica/language/nl/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: nl\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: yourls.php:55
msgid "YourLS Settings"
msgstr "YourLS-instellingen"
#: yourls.php:57
msgid "URL: http://"
msgstr "URL: http://"
#: yourls.php:62
msgid "Username:"
msgstr "Gebruikersnaam:"
#: yourls.php:67
msgid "Password:"
msgstr "Wachtwoord:"
#: yourls.php:72
msgid "Use SSL "
msgstr "Gebruik SSL"
#: yourls.php:76
msgid "Submit"
msgstr "Toepassen"
#: yourls.php:92
msgid "yourls Settings saved."
msgstr "YourLS-instellingen bijgewerkt."

View File

@ -1,14 +0,0 @@
<?php
if(! function_exists("string_plural_select_nl")) {
function string_plural_select_nl($n){
return ($n != 1);;
}}
;
$a->strings["YourLS Settings"] = "YourLS-instellingen";
$a->strings["URL: http://"] = "URL: http://";
$a->strings["Username:"] = "Gebruikersnaam:";
$a->strings["Password:"] = "Wachtwoord:";
$a->strings["Use SSL "] = "Gebruik SSL";
$a->strings["Submit"] = "Toepassen";
$a->strings["yourls Settings saved."] = "YourLS-instellingen bijgewerkt.";

View File

@ -1,9 +0,0 @@
<?php
$a->strings["YourLS Settings"] = "";
$a->strings["URL: http://"] = "URL: http://";
$a->strings["Username:"] = "Nazwa użytkownika:";
$a->strings["Password:"] = "Hasło:";
$a->strings["Use SSL "] = "Użyj SSL";
$a->strings["Submit"] = "Potwierdź";
$a->strings["yourls Settings saved."] = "";

View File

@ -1,48 +0,0 @@
# ADDON yourls
# Copyright (C)
# This file is distributed under the same license as the Friendica yourls addon package.
#
#
# Translators:
# Beatriz Vital <vitalb@riseup.net>, 2016
msgid ""
msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-02-27 05:01-0500\n"
"PO-Revision-Date: 2016-08-19 20:33+0000\n"
"Last-Translator: Beatriz Vital <vitalb@riseup.net>\n"
"Language-Team: Portuguese (Brazil) (http://www.transifex.com/Friendica/friendica/language/pt_BR/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: pt_BR\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#: yourls.php:55
msgid "YourLS Settings"
msgstr "Configurações do YourLS"
#: yourls.php:57
msgid "URL: http://"
msgstr "URL: http://"
#: yourls.php:62
msgid "Username:"
msgstr "Nome de usuário:"
#: yourls.php:67
msgid "Password:"
msgstr "Senha:"
#: yourls.php:72
msgid "Use SSL "
msgstr ""
#: yourls.php:76
msgid "Submit"
msgstr "Enviar"
#: yourls.php:92
msgid "yourls Settings saved."
msgstr ""

View File

@ -1,14 +0,0 @@
<?php
if(! function_exists("string_plural_select_pt_br")) {
function string_plural_select_pt_br($n){
return ($n > 1);;
}}
;
$a->strings["YourLS Settings"] = "Configurações do YourLS";
$a->strings["URL: http://"] = "URL: http://";
$a->strings["Username:"] = "Nome de usuário:";
$a->strings["Password:"] = "Senha:";
$a->strings["Use SSL "] = "";
$a->strings["Submit"] = "Enviar";
$a->strings["yourls Settings saved."] = "";

View File

@ -1,47 +0,0 @@
# ADDON yourls
# Copyright (C)
# This file is distributed under the same license as the Friendica yourls addon package.
#
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-06-23 14:45+0200\n"
"PO-Revision-Date: 2014-07-08 12:12+0000\n"
"Last-Translator: Arian - Cazare Muncitori <arianserv@gmail.com>\n"
"Language-Team: Romanian (Romania) (http://www.transifex.com/projects/p/friendica/language/ro_RO/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: ro_RO\n"
"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));\n"
#: yourls.php:55 yourls.php:59
msgid "YourLS"
msgstr "YourLS"
#: yourls.php:63
msgid "URL: http://"
msgstr "URL: http://"
#: yourls.php:68
msgid "Username:"
msgstr "Utilizator:"
#: yourls.php:73
msgid "Password:"
msgstr "Parola:"
#: yourls.php:78
msgid "Use SSL "
msgstr "Utilizează SSL"
#: yourls.php:82
msgid "Save Settings"
msgstr "Salvare Configurări"
#: yourls.php:98
msgid "yourls Settings saved."
msgstr "Configurările YourLS au fost salvate."

View File

@ -1,14 +0,0 @@
<?php
if(! function_exists("string_plural_select_ro")) {
function string_plural_select_ro($n){
return ($n==1?0:((($n%100>19)||(($n%100==0)&&($n!=0)))?2:1));;
}}
;
$a->strings["YourLS"] = "YourLS";
$a->strings["URL: http://"] = "URL: http://";
$a->strings["Username:"] = "Utilizator:";
$a->strings["Password:"] = "Parola:";
$a->strings["Use SSL "] = "Utilizează SSL";
$a->strings["Save Settings"] = "Salvare Configurări";
$a->strings["yourls Settings saved."] = "Configurările YourLS au fost salvate.";

View File

@ -1,48 +0,0 @@
# ADDON yourls
# Copyright (C)
# This file is distributed under the same license as the Friendica yourls addon package.
#
#
# Translators:
# Stanislav N. <pztrn@pztrn.name>, 2017
msgid ""
msgstr ""
"Project-Id-Version: friendica\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-02-27 05:01-0500\n"
"PO-Revision-Date: 2017-04-08 17:20+0000\n"
"Last-Translator: Stanislav N. <pztrn@pztrn.name>\n"
"Language-Team: Russian (http://www.transifex.com/Friendica/friendica/language/ru/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: ru\n"
"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n"
#: yourls.php:55
msgid "YourLS Settings"
msgstr "Настройки YourLS"
#: yourls.php:57
msgid "URL: http://"
msgstr "URL: http://"
#: yourls.php:62
msgid "Username:"
msgstr "Имя пользователя:"
#: yourls.php:67
msgid "Password:"
msgstr "Пароль:"
#: yourls.php:72
msgid "Use SSL "
msgstr "Использовать SSL"
#: yourls.php:76
msgid "Submit"
msgstr "Добавить"
#: yourls.php:92
msgid "yourls Settings saved."
msgstr "Настройки YourLS сохранены."

View File

@ -1,14 +0,0 @@
<?php
if(! function_exists("string_plural_select_ru")) {
function string_plural_select_ru($n){
return ($n%10==1 && $n%100!=11 ? 0 : $n%10>=2 && $n%10<=4 && ($n%100<12 || $n%100>14) ? 1 : $n%10==0 || ($n%10>=5 && $n%10<=9) || ($n%100>=11 && $n%100<=14)? 2 : 3);;
}}
;
$a->strings["YourLS Settings"] = "Настройки YourLS";
$a->strings["URL: http://"] = "URL: http://";
$a->strings["Username:"] = "Имя пользователя:";
$a->strings["Password:"] = "Пароль:";
$a->strings["Use SSL "] = "Использовать SSL";
$a->strings["Submit"] = "Добавить";
$a->strings["yourls Settings saved."] = "Настройки YourLS сохранены.";

View File

@ -1,3 +0,0 @@
<?php
$a->strings["Submit"] = "Spara";

View File

@ -1,9 +0,0 @@
<?php
$a->strings["YourLS Settings"] = "YourLS配置";
$a->strings["URL: http://"] = "URL: http://";
$a->strings["Username:"] = "用户名:";
$a->strings["Password:"] = "密码:";
$a->strings["Use SSL "] = "用SSL";
$a->strings["Submit"] = "提交";
$a->strings["yourls Settings saved."] = "yourls配置保存了。";

View File

@ -1,21 +0,0 @@
#yourls-label {
float: left;
width: 300px;
margin-top: 10px;
}
yourls-url {
float: left;
margin-top: 10px;
}
#yourls-submit {
margin-top: 15px;
}
.yourls {
text-align: left;
width: 100%;
margin-top: 25px;
font-size: 20px;
}

View File

@ -1,101 +0,0 @@
<?php
/**
* Name: Yourls
* Description: Defines a YourLS url shortener for the Statusnet & Twitter addons
* Version: 1.0
* Author: Keith Fernie <http://friendika.me4.it/profile/keith>
* Status: Unsupported
*/
use Friendica\Core\Addon;
use Friendica\Core\Config;
use Friendica\Core\L10n;
function yourls_install() {
Addon::registerHook('addon_settings', 'addon/yourls/yourls.php', 'yourls_addon_settings');
Addon::registerHook('addon_settings_post', 'addon/yourls/yourls.php', 'yourls_addon_settings_post');
}
function yourls_uninstall() {
Addon::unregisterHook('addon_settings', 'addon/yourls/yourls.php', 'yourls_addon_settings');
Addon::unregisterHook('addon_settings_post', 'addon/yourls/yourls.php', 'yourls_addon_settings_post');
Config::set('yourls','url1',trim($_POST['']));
Config::set('yourls','username1',trim($_POST['']));
Config::set('yourls','password1',trim($_POST['']));
Config::set('yourls','ssl1',trim($_POST['']));
}
function yourls_addon_settings(&$a,&$s) {
if(! is_site_admin())
return;
/* Add our stylesheet to the page so we can make our settings look nice */
$a->page['htmlhead'] .= '<link rel="stylesheet" type="text/css" href="' . $a->get_baseurl() . '/addon/yourls/yourls.css' . '" media="all" />' . "\r\n";
$yourls_url = Config::get('yourls','url1');
$yourls_username = Config::get('yourls','username1');
$yourls_password = Config::get('yourls', 'password1');
$ssl_enabled = Config::get('yourls','ssl1');
$ssl_checked = (($ssl_enabled) ? ' checked="checked" ' : '');
$yourls_ssl = Config::get('yourls', 'ssl1');
$s .= '<span id="settings_yourls_inflated" class="settings-block fakelink" style="display: block;" onclick="openClose(\'settings_yourls_expanded\'); openClose(\'settings_yourls_inflated\');">';
$s .= '<h3>' . L10n::t('YourLS') . '</h3>';
$s .= '</span>';
$s .= '<div id="settings_yourls_expanded" class="settings-block" style="display: none;">';
$s .= '<span class="fakelink" onclick="openClose(\'settings_yourls_expanded\'); openClose(\'settings_yourls_inflated\');">';
$s .= '<h3>' . L10n::t('YourLS') . '</h3>';
$s .= '</span>';
$s .= '<div id="yourls-url-wrapper">';
$s .= '<label id="yourls-url-label" for="yourls-url">' . L10n::t('URL: http://') . '</label>';
$s .= '<input id="yourls-url" type="text" name="yourls_url" value="' . $yourls_url .'" />';
$s .= '</div><div class="clear"></div>';
$s .= '<div id="yourls-username-wrapper">';
$s .= '<label id="yourls-username-label" for="yourls-username">' . L10n::t('Username:') . '</label>';
$s .= '<input id="yourls-username" type="text" name="yourls_username" value="' . $yourls_username .'" />';
$s .= '</div><div class="clear"></div>';
$s .= '<div id="yourls-password-wrapper">';
$s .= '<label id="yourls-password-label" for="yourls-password">' . L10n::t('Password:') . '</label>';
$s .= '<input id="yourls-password" type="password" name="yourls_password" value="' . $yourls_password .'" />';
$s .= '</div><div class="clear"></div>';
$s .= '<div id="yourls-ssl-wrapper">';
$s .= '<label id="yourls-ssl-label" for="yourls-ssl">' . L10n::t('Use SSL ') . '</label>';
$s .= '<input id="yourls-ssl" type="checkbox" name="yourls_ssl" value="1" ' . $ssl_checked . ' />';
$s .= '</div><div class="clear"></div>';
$s .= '<div class="settings-submit-wrapper" ><input type="submit" id="yourls-submit" name="yourls-submit" class="settings-submit" value="' . L10n::t('Save Settings') . '" /></div></div>';
return;
}
function yourls_addon_settings_post(&$a,&$b) {
if(! is_site_admin())
return;
if($_POST['yourls-submit']) {
Config::set('yourls','url1',trim($_POST['yourls_url']));
Config::set('yourls','username1',trim($_POST['yourls_username']));
Config::set('yourls','password1',trim($_POST['yourls_password']));
Config::set('yourls','ssl1',intval($_POST['yourls_ssl']));
info(L10n::t('yourls Settings saved.') . EOL);
}
}