[PLUGINS] Removed GNUsocial{Photo, Photos, Video} as we don't need them anymore

This commit is contained in:
Diogo Cordeiro 2019-08-08 14:44:56 +01:00 committed by Diogo Peralta Cordeiro
parent 3909d49982
commit 9bb6fc3f0d
223 changed files with 0 additions and 9623 deletions

View File

@ -1,144 +0,0 @@
<?php
/**
* GNU Social
* Copyright (C) 2011, Free Software Foundation, Inc.
*
* PHP version 5
*
* LICENCE:
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero 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 Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* @category Widget
* @package GNU Social
* @author Ian Denhardt <ian@zenhack.net>
* @copyright 2011 Free Software Foundation, Inc.
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPL 3.0
*/
if (!defined('STATUSNET')) {
exit(1);
}
class GNUsocialPhotoPlugin extends MicroAppPlugin
{
var $oldSaveNew = true;
function onCheckSchema()
{
$schema = Schema::get();
$schema->ensureTable('photo', Photo::schemaDef());
return true;
}
function onRouterInitialized($m)
{
$m->connect('main/photo/new', ['action' => 'newphoto']);
$m->connect('main/photo/:id', ['action' => 'showphoto']);
return true;
}
function entryForm($out)
{
return new NewPhotoForm($out);
}
function appTitle()
{
return _('Photo');
}
function tag()
{
return 'Photo';
}
function types()
{
return array(Photo::OBJECT_TYPE);
}
function saveNoticeFromActivity(Activity $activity, Profile $actor, array $options=array())
{
if(count($activity->objects) != 1) {
throw new Exception('Too many activity objects.');
}
$photoObj = $activity->objects[0];
if ($photoObj->type != Photo::OBJECT_TYPE) {
throw new Exception('Wrong type for object.');
}
$photo_uri = $photoObj->largerImage;
$thumb_uri = $photo_uri;
if(!empty($photoObj->thumbnail)){
$thumb_uri = $photoObj->thumbnail;
}
$description = $photoObj->description;
$title = $photoObj->title;
$options['object_type'] = Photo::OBJECT_TYPE;
Photo::saveNew($actor, $photo_uri, $thumb_uri, $title, $description, $options);
}
function activityObjectFromNotice(Notice $notice)
{
$photo = Photo::getByNotice($notice);
$object = new ActivityObject();
$object->id = $notice->uri;
$object->type = Photo::OBJECT_TYPE;
$object->title = $photo->title;
$object->summary = $notice->content;
$object->link = $notice->getUrl();
$object->largerImage = $photo->photo_uri;
$object->thumbnail = $photo->thumb_uri;
$object->description = $photo->description;
return $object;
}
function showNoticeContent(Notice $notice, HTMLOutputter $out)
{
$photo = Photo::getByNotice($notice);
if ($photo) {
if($photo->title){
// TODO: ugly. feel like we should have a more abstract way
// of choosing the h-level.
$out->element('h3', array(), $title);
}
$out->element('img', array('src' => $photo->photo_uri,
'width' => '100%'));
// TODO: add description
}
}
function deleteRelated(Notice $notice)
{
$photo = Photo::getByNotice($notice);
if ($photo) {
$photo->delete();
}
}
}

View File

@ -1,130 +0,0 @@
<?php
/**
* GNU Social
* Copyright (C) 2011, Free Software Foundation, Inc.
*
* PHP version 5
*
* LICENCE:
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero 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 Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* @package GNU Social
* @author Ian Denhardt <ian@zenhack.net>
* @copyright 2011 Free Software Foundation, Inc.
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPL 3.0
*/
if(!defined('STATUSNET')){
exit(1);
}
class NewphotoAction extends Action
{
var $user = null;
function prepare(array $args = array())
{
parent::prepare($args);
$this->user = common_current_user();
if(empty($this->user)){
throw new ClientException(_('Must be logged in to post a photo'),
403);
}
if($this->isPost()){
$this->checkSessionToken();
}
return true;
}
function handle()
{
parent::handle();
if ($this->isPost()) {
$this->handlePost($args);
} else {
$this->showPage();
}
}
function handlePost($args)
{
/*
// Workaround for PHP returning empty $_POST and $_FILES when POST
// length > post_max_size in php.ini
if (empty($_FILES)
&& empty($_POST)
&& ($_SERVER['CONTENT_LENGTH'] > 0)
) {
$msg = _('The server was unable to handle that much POST ' .
'data (%s bytes) due to its current configuration.');
$this->showForm(sprintf($msg, $_SERVER['CONTENT_LENGTH']));
return;
} */
$profile = $this->user->getProfile();
$options = array();
ToSelector::fillOptions($this, $options);
try {
$this->handleUpload();
} catch (Exception $e) {
$this->showForm($e->getMessage());
return;
}
common_redirect($photo->uri, 303);
}
function getUpload()
{
$imagefile = ImageFile::fromUpload('photo_upload');
if($imagefile === null) {
throw new Exception(_('No file uploaded'));
}
$title = $this->trimmed('title');
$description = $this->trimmed('description');
$new_filename = UUID::gen() . image_type_to_extension($imagefile->type);
move_uploaded_file($imagefile->filepath, INSTALLDIR . '/file/' . $new_filename);
// XXX: we should be using https where we can. TODO: detect whether the server
// supports this.
$photo_uri = 'http://' . common_config('site', 'server') . '/file/'
. $new_filename;
$thumb_uri = $photo_uri;
$photo = Photo::saveNew($profile, $photo_uri, $thumb_uri, $title,
$description, $options);
}
function showContent()
{
$form = new NewPhotoForm();
$form->show();
}
}

View File

@ -1,32 +0,0 @@
<?php
/**
* GNU Social
* Copyright (C) 2011, Free Software Foundation, Inc.
*
* PHP version 5
*
* LICENCE:
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero 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 Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* @package GNU Social
* @author Ian Denhardt <ian@zenhack.net>
* @copyright 2011 Free Software Foundation, Inc.
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPL 3.0
*/
if(!defined('STATUSNET')){
exit(1);
}

View File

@ -1,115 +0,0 @@
<?php
/**
* GNU Social
* Copyright (C) 2011, Free Software Foundation, Inc.
*
* PHP version 5
*
* LICENCE:
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero 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 Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* @package GNU Social
* @author Ian Denhardt <ian@zenhack.net>
* @copyright 2011 Free Software Foundation, Inc.
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPL 3.0
*/
if(!defined('STATUSNET')){
exit(1);
}
/**
* Data class for photos.
*/
class Photo extends Managed_DataObject
{
const OBJECT_TYPE = 'http://activitystrea.ms/schema/1.0/photo';
public $__table = 'photo'; // table name
public $id; // char (36) // UUID
public $uri; // varchar (191) // This is the corresponding notice's uri. not 255 because utf8mb4 takes more space
public $photo_uri; // varchar (191) not 255 because utf8mb4 takes more space
public $thumb_uri; // varchar (191) not 255 because utf8mb4 takes more space
public $title; // varchar (191) not 255 because utf8mb4 takes more space
public $description; // text
public $profile_id; // int
public static function getByNotice($notice)
{
return self::getKV('uri', $notice->uri);
}
public function getNotice()
{
return Notice::getKV('uri', $this->uri);
}
public static function schemaDef()
{
return array(
'description' => 'A photograph',
'fields' => array(
'id' => array('type' => 'char',
'length' => 36,
'not null' => true,
'description' => 'UUID'),
'uri' => array('type' => 'varchar',
'length' => 191,
'not null' => true),
'photo_uri' => array('type' => 'varchar',
'length' => 191,
'not null' => true),
'photo_uri' => array('type' => 'varchar',
'length' => 191,
'not null' => true),
'profile_id' => array('type' => 'int', 'not null' => true),
),
'primary key' => array('id'),
'foreign keys' => array('photo_profile_id__key' => array('profile' => array('profile_id' => 'id'))),
);
}
static function saveNew(Profile $profile, $photo_uri, $thumb_uri, $title, $description, $options=array())
{
$photo = new Photo();
$photo->id = UUID::gen();
$photo->profile_id = $profile->id;
$photo->photo_uri = $photo_uri;
$photo->thumb_uri = $thumb_uri;
$options['object_type'] = Photo::OBJECT_TYPE;
if (!array_key_exists('uri', $options)) {
$options['uri'] = common_local_url('showphoto', array('id' => $photo->id));
}
if (!array_key_exists('rendered', $options)) {
$options['rendered'] = sprintf("<img src=\"%s\" alt=\"%s\"></img>", $photo_uri,
$title);
}
$photo->uri = $options['uri'];
$photo->insert();
return Notice::saveNew($profile->id,
'',
'web',
$options);
}
}

View File

@ -1,82 +0,0 @@
<?php
/**
* GNU Social
* Copyright (C) 2011, Free Software Foundation, Inc.
*
* PHP version 5
*
* LICENCE:
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero 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 Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* @package GNU Social
* @author Ian Denhardt <ian@zenhack.net>
* @copyright 2011 Free Software Foundation, Inc.
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPL 3.0
*/
if(!defined('STATUSNET')){
exit(1);
}
class NewPhotoForm extends Form
{
function id()
{
return "form_new_photo";
}
function action()
{
return common_local_url('newphoto');
}
function formClass()
{
return 'form_settings ajax-notice';
}
function formData()
{
$this->out->elementStart('fieldset', array('id' => 'new_photo_data'));
$this->out->elementStart('ul', 'form_data');
$this->li();
$this->out->input('title', _('Title'), null, _('Photo title (optional).'));
$this->unli();
$this->li();
$this->out->element('input', array('name' => 'photo_upload',
'type' => 'file',
'id' => 'photo_upload'));
$this->unli();
$this->li();
$this->textarea('description', _('Description'), null, _('Description of the photo (optional).'));
$this->unli();
$this->out->elementEnd('ul');
$toWidget = new ToSelector($this->out,
common_current_user(),
null);
$toWidget->show();
$this->out->elementEnd('fieldset');
}
function formActions()
{
$this->out->submit('photo-submit', _m('BUTTON', 'Save'));
}
}

View File

@ -1,23 +0,0 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-08-14 14:51+0100\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=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
#: forms/newphoto.php:80
msgctxt "BUTTON"
msgid "Save"
msgstr ""

View File

@ -1,23 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-06 16:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Afrikaans (http://www.transifex.com/gnu-social/gnu-social/language/af/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: af\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: forms/newphoto.php:80
msgctxt "BUTTON"
msgid "Save"
msgstr "Stoor"

View File

@ -1,23 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-06 16:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Arabic (http://www.transifex.com/gnu-social/gnu-social/language/ar/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: ar\n"
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
#: forms/newphoto.php:80
msgctxt "BUTTON"
msgid "Save"
msgstr "احفظ"

View File

@ -1,23 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-06 16:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Arabic (Egypt) (http://www.transifex.com/gnu-social/gnu-social/language/ar_EG/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: ar_EG\n"
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
#: forms/newphoto.php:80
msgctxt "BUTTON"
msgid "Save"
msgstr "أرسل"

View File

@ -1,23 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-06 16:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Asturian (http://www.transifex.com/gnu-social/gnu-social/language/ast/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: ast\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: forms/newphoto.php:80
msgctxt "BUTTON"
msgid "Save"
msgstr ""

View File

@ -1,23 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-06 16:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Belarusian (Tarask) (http://www.transifex.com/gnu-social/gnu-social/language/be@tarask/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: be@tarask\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"
#: forms/newphoto.php:80
msgctxt "BUTTON"
msgid "Save"
msgstr "Захаваць"

View File

@ -1,23 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-06 16:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Bulgarian (http://www.transifex.com/gnu-social/gnu-social/language/bg/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: bg\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: forms/newphoto.php:80
msgctxt "BUTTON"
msgid "Save"
msgstr "Запазване"

View File

@ -1,23 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-06 16:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Bengali (India) (http://www.transifex.com/gnu-social/gnu-social/language/bn_IN/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: bn_IN\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: forms/newphoto.php:80
msgctxt "BUTTON"
msgid "Save"
msgstr ""

View File

@ -1,23 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-06 16:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Breton (http://www.transifex.com/gnu-social/gnu-social/language/br/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: br\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#: forms/newphoto.php:80
msgctxt "BUTTON"
msgid "Save"
msgstr "Enrollañ"

View File

@ -1,23 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-06 16:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Catalan (http://www.transifex.com/gnu-social/gnu-social/language/ca/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: ca\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: forms/newphoto.php:80
msgctxt "BUTTON"
msgid "Save"
msgstr "Desa"

View File

@ -1,23 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-06 16:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Czech (http://www.transifex.com/gnu-social/gnu-social/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"
#: forms/newphoto.php:80
msgctxt "BUTTON"
msgid "Save"
msgstr "Uložit"

View File

@ -1,23 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-06 16:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Danish (http://www.transifex.com/gnu-social/gnu-social/language/da/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: da\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: forms/newphoto.php:80
msgctxt "BUTTON"
msgid "Save"
msgstr "Gem"

View File

@ -1,23 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-06 16:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: German (http://www.transifex.com/gnu-social/gnu-social/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"
#: forms/newphoto.php:80
msgctxt "BUTTON"
msgid "Save"
msgstr "Speichern"

View File

@ -1,23 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-06 16:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Greek (http://www.transifex.com/gnu-social/gnu-social/language/el/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: el\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: forms/newphoto.php:80
msgctxt "BUTTON"
msgid "Save"
msgstr "Αποθήκευση"

View File

@ -1,23 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-06 16:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: English (United Kingdom) (http://www.transifex.com/gnu-social/gnu-social/language/en_GB/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: en_GB\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: forms/newphoto.php:80
msgctxt "BUTTON"
msgid "Save"
msgstr "Save"

View File

@ -1,23 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-06 16:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Esperanto (http://www.transifex.com/gnu-social/gnu-social/language/eo/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: eo\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: forms/newphoto.php:80
msgctxt "BUTTON"
msgid "Save"
msgstr "Konservi"

View File

@ -1,23 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-06 16:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Spanish (http://www.transifex.com/gnu-social/gnu-social/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"
#: forms/newphoto.php:80
msgctxt "BUTTON"
msgid "Save"
msgstr "Guardar"

View File

@ -1,23 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-06 16:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Basque (http://www.transifex.com/gnu-social/gnu-social/language/eu/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: eu\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: forms/newphoto.php:80
msgctxt "BUTTON"
msgid "Save"
msgstr "Gorde"

View File

@ -1,23 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-06 16:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Persian (http://www.transifex.com/gnu-social/gnu-social/language/fa/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: fa\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#: forms/newphoto.php:80
msgctxt "BUTTON"
msgid "Save"
msgstr "ذخیره‌کردن"

View File

@ -1,23 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-06 16:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Finnish (http://www.transifex.com/gnu-social/gnu-social/language/fi/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: fi\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: forms/newphoto.php:80
msgctxt "BUTTON"
msgid "Save"
msgstr "Tallenna"

View File

@ -1,23 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-06 16:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: French (http://www.transifex.com/gnu-social/gnu-social/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"
#: forms/newphoto.php:80
msgctxt "BUTTON"
msgid "Save"
msgstr "Enregistrer"

View File

@ -1,23 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-06 16:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Friulian (http://www.transifex.com/gnu-social/gnu-social/language/fur/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: fur\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: forms/newphoto.php:80
msgctxt "BUTTON"
msgid "Save"
msgstr "Salve"

View File

@ -1,23 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-06 16:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Galician (http://www.transifex.com/gnu-social/gnu-social/language/gl/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: gl\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: forms/newphoto.php:80
msgctxt "BUTTON"
msgid "Save"
msgstr "Gardar"

View File

@ -1,23 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-06 16:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Hebrew (http://www.transifex.com/gnu-social/gnu-social/language/he/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: he\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: forms/newphoto.php:80
msgctxt "BUTTON"
msgid "Save"
msgstr "שמור"

View File

@ -1,23 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-06 16:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Upper Sorbian (http://www.transifex.com/gnu-social/gnu-social/language/hsb/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: hsb\n"
"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n"
#: forms/newphoto.php:80
msgctxt "BUTTON"
msgid "Save"
msgstr "Składować"

View File

@ -1,23 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-06 16:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Hungarian (http://www.transifex.com/gnu-social/gnu-social/language/hu/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: hu\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: forms/newphoto.php:80
msgctxt "BUTTON"
msgid "Save"
msgstr "Mentés"

View File

@ -1,23 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-06 16:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Armenian (Armenia) (http://www.transifex.com/gnu-social/gnu-social/language/hy_AM/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: hy_AM\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: forms/newphoto.php:80
msgctxt "BUTTON"
msgid "Save"
msgstr ""

View File

@ -1,23 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-06 16:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Interlingua (http://www.transifex.com/gnu-social/gnu-social/language/ia/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: ia\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: forms/newphoto.php:80
msgctxt "BUTTON"
msgid "Save"
msgstr "Salveguardar"

View File

@ -1,24 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
# zk <zamani.karmana@gmail.com>, 2015
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-05-28 15:50+0000\n"
"Last-Translator: zk <zamani.karmana@gmail.com>\n"
"Language-Team: Indonesian (http://www.transifex.com/gnu-social/gnu-social/language/id/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: id\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#: forms/newphoto.php:80
msgctxt "BUTTON"
msgid "Save"
msgstr "Simpan"

View File

@ -1,23 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-06-15 03:05+0000\n"
"Last-Translator: Ciencisto Dementa <maliktunga@users.noreply.github.com>\n"
"Language-Team: Ido (http://www.transifex.com/gnu-social/gnu-social/language/io/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: io\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: forms/newphoto.php:80
msgctxt "BUTTON"
msgid "Save"
msgstr "Konservar"

View File

@ -1,23 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-06 16:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Icelandic (http://www.transifex.com/gnu-social/gnu-social/language/is/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: is\n"
"Plural-Forms: nplurals=2; plural=(n % 10 != 1 || n % 100 == 11);\n"
#: forms/newphoto.php:80
msgctxt "BUTTON"
msgid "Save"
msgstr "Vista"

View File

@ -1,23 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-06 16:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Italian (http://www.transifex.com/gnu-social/gnu-social/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"
#: forms/newphoto.php:80
msgctxt "BUTTON"
msgid "Save"
msgstr "Salva"

View File

@ -1,23 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-06 16:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Japanese (http://www.transifex.com/gnu-social/gnu-social/language/ja/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: ja\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#: forms/newphoto.php:80
msgctxt "BUTTON"
msgid "Save"
msgstr "保存"

View File

@ -1,23 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-06 16:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Georgian (http://www.transifex.com/gnu-social/gnu-social/language/ka/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: ka\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#: forms/newphoto.php:80
msgctxt "BUTTON"
msgid "Save"
msgstr "შენახვა"

View File

@ -1,23 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-06 16:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Korean (http://www.transifex.com/gnu-social/gnu-social/language/ko/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: ko\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#: forms/newphoto.php:80
msgctxt "BUTTON"
msgid "Save"
msgstr "저장"

View File

@ -1,23 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-06 16:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Colognian (http://www.transifex.com/gnu-social/gnu-social/language/ksh/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: ksh\n"
"Plural-Forms: nplurals=3; plural=(n==0) ? 0 : (n==1) ? 1 : 2;\n"
#: forms/newphoto.php:80
msgctxt "BUTTON"
msgid "Save"
msgstr ""

View File

@ -1,23 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-06 16:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Luxembourgish (http://www.transifex.com/gnu-social/gnu-social/language/lb/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: lb\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: forms/newphoto.php:80
msgctxt "BUTTON"
msgid "Save"
msgstr "Späicheren"

View File

@ -1,23 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-06 16:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Lithuanian (http://www.transifex.com/gnu-social/gnu-social/language/lt/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: lt\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
#: forms/newphoto.php:80
msgctxt "BUTTON"
msgid "Save"
msgstr "Išsaugoti"

View File

@ -1,23 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-07 09:39+0000\n"
"Last-Translator: digitaldreamer <digitaldreamer@email.cz>\n"
"Language-Team: Latvian (http://www.transifex.com/gnu-social/gnu-social/language/lv/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: lv\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);\n"
#: forms/newphoto.php:80
msgctxt "BUTTON"
msgid "Save"
msgstr ""

View File

@ -1,23 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-06 16:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Malagasy (http://www.transifex.com/gnu-social/gnu-social/language/mg/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: mg\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#: forms/newphoto.php:80
msgctxt "BUTTON"
msgid "Save"
msgstr "Tehirizina"

View File

@ -1,23 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-06 16:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Macedonian (http://www.transifex.com/gnu-social/gnu-social/language/mk/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: mk\n"
"Plural-Forms: nplurals=2; plural=(n % 10 == 1 && n % 100 != 11) ? 0 : 1;\n"
#: forms/newphoto.php:80
msgctxt "BUTTON"
msgid "Save"
msgstr "Зачувај"

View File

@ -1,23 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-06 16:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Malayalam (http://www.transifex.com/gnu-social/gnu-social/language/ml/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: ml\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: forms/newphoto.php:80
msgctxt "BUTTON"
msgid "Save"
msgstr "സേവ് ചെയ്യുക"

View File

@ -1,23 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-06 16:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Malay (http://www.transifex.com/gnu-social/gnu-social/language/ms/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: ms\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#: forms/newphoto.php:80
msgctxt "BUTTON"
msgid "Save"
msgstr "Simpan"

View File

@ -1,23 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-06 16:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Burmese (http://www.transifex.com/gnu-social/gnu-social/language/my/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: my\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#: forms/newphoto.php:80
msgctxt "BUTTON"
msgid "Save"
msgstr "သိမ်းရန်"

View File

@ -1,23 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-06 16:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Norwegian Bokmål (http://www.transifex.com/gnu-social/gnu-social/language/nb/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: nb\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: forms/newphoto.php:80
msgctxt "BUTTON"
msgid "Save"
msgstr "Lagre"

View File

@ -1,23 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-07 09:30+0000\n"
"Last-Translator: digitaldreamer <digitaldreamer@email.cz>\n"
"Language-Team: Nepali (http://www.transifex.com/gnu-social/gnu-social/language/ne/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: ne\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: forms/newphoto.php:80
msgctxt "BUTTON"
msgid "Save"
msgstr ""

View File

@ -1,23 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-06 16:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Dutch (http://www.transifex.com/gnu-social/gnu-social/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"
#: forms/newphoto.php:80
msgctxt "BUTTON"
msgid "Save"
msgstr "Opslaan"

View File

@ -1,23 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-06 16:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Norwegian Nynorsk (http://www.transifex.com/gnu-social/gnu-social/language/nn/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: nn\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: forms/newphoto.php:80
msgctxt "BUTTON"
msgid "Save"
msgstr "Lagra"

View File

@ -1,23 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-06 16:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Polish (http://www.transifex.com/gnu-social/gnu-social/language/pl/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: pl\n"
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
#: forms/newphoto.php:80
msgctxt "BUTTON"
msgid "Save"
msgstr "Zapisz"

View File

@ -1,23 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-06 16:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Portuguese (http://www.transifex.com/gnu-social/gnu-social/language/pt/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: pt\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: forms/newphoto.php:80
msgctxt "BUTTON"
msgid "Save"
msgstr "Gravar"

View File

@ -1,23 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-06 16:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Portuguese (Brazil) (http://www.transifex.com/gnu-social/gnu-social/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"
#: forms/newphoto.php:80
msgctxt "BUTTON"
msgid "Save"
msgstr "Salvar"

View File

@ -1,23 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-06 16:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Romanian (Romania) (http://www.transifex.com/gnu-social/gnu-social/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"
#: forms/newphoto.php:80
msgctxt "BUTTON"
msgid "Save"
msgstr ""

View File

@ -1,23 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-06 16:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Russian (http://www.transifex.com/gnu-social/gnu-social/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"
#: forms/newphoto.php:80
msgctxt "BUTTON"
msgid "Save"
msgstr "Сохранить"

View File

@ -1,23 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-06 16:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Slovenian (http://www.transifex.com/gnu-social/gnu-social/language/sl/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: sl\n"
"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n"
#: forms/newphoto.php:80
msgctxt "BUTTON"
msgid "Save"
msgstr ""

View File

@ -1,23 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-06 16:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Serbian (http://www.transifex.com/gnu-social/gnu-social/language/sr/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: sr\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
#: forms/newphoto.php:80
msgctxt "BUTTON"
msgid "Save"
msgstr "Сачувај"

View File

@ -1,23 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-06 16:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Swedish (http://www.transifex.com/gnu-social/gnu-social/language/sv/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: sv\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: forms/newphoto.php:80
msgctxt "BUTTON"
msgid "Save"
msgstr "Spara"

View File

@ -1,23 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-07 08:48+0000\n"
"Last-Translator: digitaldreamer <digitaldreamer@email.cz>\n"
"Language-Team: Tamil (http://www.transifex.com/gnu-social/gnu-social/language/ta/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: ta\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: forms/newphoto.php:80
msgctxt "BUTTON"
msgid "Save"
msgstr ""

View File

@ -1,23 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-06 16:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Telugu (http://www.transifex.com/gnu-social/gnu-social/language/te/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: te\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: forms/newphoto.php:80
msgctxt "BUTTON"
msgid "Save"
msgstr "భద్రపరచు"

View File

@ -1,23 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-06 16:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Tagalog (http://www.transifex.com/gnu-social/gnu-social/language/tl/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: tl\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#: forms/newphoto.php:80
msgctxt "BUTTON"
msgid "Save"
msgstr "Sagipin"

View File

@ -1,23 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-06 16:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Turkish (http://www.transifex.com/gnu-social/gnu-social/language/tr/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: tr\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#: forms/newphoto.php:80
msgctxt "BUTTON"
msgid "Save"
msgstr "Kaydet"

View File

@ -1,23 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-06 16:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Ukrainian (http://www.transifex.com/gnu-social/gnu-social/language/uk/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: uk\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
#: forms/newphoto.php:80
msgctxt "BUTTON"
msgid "Save"
msgstr "Зберегти"

View File

@ -1,23 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-06 16:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Urdu (Pakistan) (http://www.transifex.com/gnu-social/gnu-social/language/ur_PK/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: ur_PK\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: forms/newphoto.php:80
msgctxt "BUTTON"
msgid "Save"
msgstr "تبدیلیاں محفوظ کریں"

View File

@ -1,23 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-06 16:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Vietnamese (http://www.transifex.com/gnu-social/gnu-social/language/vi/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: vi\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#: forms/newphoto.php:80
msgctxt "BUTTON"
msgid "Save"
msgstr "Lưu"

View File

@ -1,23 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-06 16:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Chinese (http://www.transifex.com/gnu-social/gnu-social/language/zh/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: zh\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#: forms/newphoto.php:80
msgctxt "BUTTON"
msgid "Save"
msgstr ""

View File

@ -1,23 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-06 16:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Chinese (China) (http://www.transifex.com/gnu-social/gnu-social/language/zh_CN/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: zh_CN\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#: forms/newphoto.php:80
msgctxt "BUTTON"
msgid "Save"
msgstr "保存"

View File

@ -1,23 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-06 16:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Chinese (Taiwan) (http://www.transifex.com/gnu-social/gnu-social/language/zh_TW/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: zh_TW\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#: forms/newphoto.php:80
msgctxt "BUTTON"
msgid "Save"
msgstr ""

View File

@ -1,170 +0,0 @@
<?php
/**
* GNU Social
* Copyright (C) 2010, Free Software Foundation, Inc.
*
* PHP version 5
*
* LICENCE:
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero 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 Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* @category Widget
* @package GNU Social
* @author Ian Denhardt <ian@zenhack.net>
* @author Max Shinn <trombonechamp@gmail.com>
* @copyright 2010 Free Software Foundation, Inc.
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPL 3.0
*/
/* Photo sharing plugin */
if (!defined('STATUSNET')) {
exit(1);
}
include_once $dir . '/lib/photolib.php';
class GNUsocialPhotosPlugin extends Plugin
{
function onCheckSchema()
{
$schema = Schema::get();
$schema->ensureTable('GNUsocialPhoto', GNUsocialPhoto::schemaDef());
$schema->ensureTable('GNUsocialPhotoAlbum', GNUsocialPhotoAlbum::schemaDef());
}
function onRouterInitialized($m)
{
$m->connect(':nickname/photos', ['action' => 'photos']);
$m->connect(':nickname/photos/:albumid', ['action' => 'photos']);
$m->connect('main/uploadphoto', ['action' => 'photoupload']);
$m->connect('photo/:photoid', ['action' => 'photo']);
$m->connect('editphoto/:photoid', ['action' => 'editphoto']);
return true;
}
function onStartNoticeDistribute($notice)
{
common_log(LOG_INFO, "event: StartNoticeDistribute");
if (GNUsocialPhotoTemp::$tmp) {
GNUsocialPhotoTemp::$tmp->notice_id = $notice->id;
$photo_id = GNUsocialPhotoTemp::$tmp->insert();
if (!$photo_id) {
common_log_db_error($photo, 'INSERT', __FILE__);
throw new ServerException(_m('Problem saving photo.'));
}
}
return true;
}
function onEndNoticeAsActivity(Notice $stored, Activity $act, Profile $scoped=null)
{
common_log(LOG_INFO, 'photo plugin: EndNoticeAsActivity');
$photo = GNUsocialPhoto::getKV('notice_id', $stored->id);
if(!$photo) {
common_log(LOG_INFO, 'not a photo.');
return true;
}
$act->objects[0]->type = ActivityObject::PHOTO;
$act->objects[0]->thumbnail = $photo->thumb_uri;
$act->objects[0]->largerImage = $photo->uri;
return false;
}
function onStartHandleFeedEntry($activity)
{
common_log(LOG_INFO, 'photo plugin: onEndAtomPubNewActivity');
$oprofile = Ostatus_profile::ensureActorProfile($activity);
foreach ($activity->objects as $object) {
if($object->type == ActivityObject::PHOTO) {
$uri = $object->largerImage;
$thumb_uri = $object->thumbnail;
$profile_id = $oprofile->profile_id;
$source = 'unknown'; // TODO: put something better here.
common_log(LOG_INFO, 'uri : ' . $uri);
common_log(LOG_INFO, 'thumb_uri : ' . $thumb_uri);
// It's possible this is validated elsewhere, but I'm not sure and
// would rather be safe.
$uri = filter_var($uri, FILTER_SANITIZE_URL);
$thumb_uri = filter_var($thumb_uri, FILTER_SANITIZE_URL);
$uri = filter_var($uri, FILTER_VALIDATE_URL);
$thumb_uri = filter_var($thumb_uri, FILTER_VALIDATE_URL);
if(empty($thumb_uri)) {
// We need a thumbnail, so if we aren't given one, use the actual picture for now.
$thumb_uri = $uri;
}
if (!empty($uri) && !empty($thumb_uri)) {
GNUsocialPhoto::saveNew($profile_id, $thumb_uri, $uri, $source, false);
} else {
common_log(LOG_INFO, 'bad URI for photo');
}
return false;
}
}
return true;
}
function onStartShowNoticeItem($action)
{
$photo = GNUsocialPhoto::getKV('notice_id', $action->notice->id);
if($photo) {
$action->out->elementStart('div', 'entry-title');
$action->showAuthor();
$action->out->elementStart('a', array('href' => $photo->getPageLink()));
$action->out->element('img', array('src' => $photo->thumb_uri,
'width' => 256, 'height' => 192));
$action->out->elementEnd('a');
$action->out->elementEnd('div');
$action->showNoticeInfo();
$action->showNoticeOptions();
return false;
}
return true;
}
/* function onEndShowNoticeFormData($action)
{
$link = "/main/uploadphoto";
$action->out->element('label', array('for' => 'photofile'),_('Attach'));
$action->out->element('input', array('id' => 'photofile',
'type' => 'file',
'name' => 'photofile',
'title' => _('Upload a photo')));
}
*/
function onEndPersonalGroupNav(Menu $nav, Profile $target, Profile $scoped=null)
{
$nav->out->menuItem(common_local_url('photos',
array('nickname' => $nav->action->trimmed('nickname'))), _('Photos'),
_('Photo gallery'), $nav->action->trimmed('action') == 'photos', 'nav_photos');
}
function onEndShowStyles($action)
{
$action->cssLink('/plugins/GNUsocialPhotos/res/style.css');
}
function onEndShowScripts($action)
{
$action->script('plugins/GNUsocialPhotos/res/gnusocialphotos.js');
}
}

View File

@ -1,202 +0,0 @@
<?php
/**
* GNU Social
* Copyright (C) 2010, Free Software Foundation, Inc.
*
* PHP version 5
*
* LICENCE:
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero 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 Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* @category Widget
* @package GNU Social
* @author Ian Denhardt <ian@zenhack.net>
* @author Sean Corbett <sean@gnu.org>
* @author Max Shinn <trombonechamp@gmail.com>
* @copyright 2010 Free Software Foundation, Inc.
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPL 3.0
*/
if (!defined('STATUSNET')) {
exit(1);
}
class EditphotoAction extends Action
{
var $user = null;
function prepare(array $args = array())
{
parent::prepare($args);
$args = $this->returnToArgs();
$this->user = common_current_user();
$this->photoid = $args[1]['photoid'];
$this->photo = GNUsocialPhoto::getKV('id', $this->photoid);
return true;
}
function handle()
{
parent::handle();
if($_SERVER['REQUEST_METHOD'] == 'POST') {
$this->handlePost();
}
$this->showPage();
}
function title()
{
if ($this->photo->title)
return _m('Edit photo - ' . $this->photo->title);
else
return _m('Edit photo');
}
function showContent()
{
if ($this->photo->album_id == 0) {
$this->element('p', array(), _('This photo does not exist or was deleted.'));
return;
}
if ($this->user->profile_id != $this->photo->profile_id) {
$this->element('p', array(), _('You are not authorized to edit this photo.'));
return;
}
//showForm() data
if(!empty($this->msg)) {
$class = ($this->success) ? 'success' : 'error';
$this->element('p', array('class' => $class), $this->msg);
}
$this->element('img', array('src' => $this->photo->uri));
$this->elementStart('form', array('method' => 'post',
'action' => '/editphoto/' . $this->photo->id));
$this->elementStart('ul', 'form_data');
$this->elementStart('li');
$this->input('phototitle', _("Title"), $this->photo->title, _("The title of the photo. (Optional)"));
$this->elementEnd('li');
$this->elementStart('li');
$this->textarea('photo_description', _("Description"), $this->photo->photo_description, _("A description of the photo. (Optional)"));
$this->elementEnd('li');
$this->elementStart('li');
$this->dropdown('album', _("Album"), $this->albumList(), _("The album in which to place this photo"), false, $this->photo->album_id);
$this->elementEnd('li');
$this->elementEnd('ul');
$this->submit('update', _('Update'));
$this->elementEnd('form');
$this->element('br');
$this->elementStart('form', array('method' => 'post',
'action' => '/editphoto/' . $this->photo->id));
$this->element('input', array('type' => 'submit',
'name' => 'delete',
'value' => _('Delete Photo'),
'id' => 'delete',
'class' => 'submit',
'onclick' => 'return confirm(\'Are you sure you would like to delete this photo?\')'));
$this->elementEnd('form');
}
function handlePost()
{
common_log(LOG_INFO, 'handlPost()!');
if ($this->photo->album_id == 0) {
$this->element('p', array(), _('This photo does not exist or was deleted.'));
return;
}
if ($this->user->profile_id != $this->photo->profile_id) {
$this->element('p', array(), _('You are not authorized to edit this photo.'));
return;
}
if ($this->arg('update')) {
$this->updatePhoto();
}
if ($this->arg('delete')) {
$this->deletePhoto();
}
}
function showForm($msg, $success=false)
{
$this->msg = $msg;
$this->success = $success;
// $this->showPage();
}
function albumList()
{
$cur = common_current_user();
$album = new GNUsocialPhotoAlbum();
$album->user_id = $cur->id;
$albumlist = array();
if (!$album->find()) {
GNUsocialPhotoAlbum::newAlbum($cur->id, 'Default');
}
while ($album->fetch()) {
$albumlist[$album->album_id] = $album->album_name;
}
return $albumlist;
}
function updatePhoto()
{
$cur = common_current_user();
$this->photo->title = $this->trimmed('phototitle');
$this->photo->photo_description = $this->trimmed('photo_description');
$profile_id = $cur->id;
$album = GNUsocialPhotoAlbum::getKV('album_id', $this->trimmed('album'));
if ($album->profile_id != $profile_id) {
$this->showForm(_('Error: This is not your album!'));
return;
}
$this->photo->album_id = $album->album_id;
if ($this->photo->validate())
$this->photo->update();
else {
$this->showForm(_('Error: The photo data is not valid.'));
return;
}
common_redirect('/photo/' . $this->photo->id, '303');
// common_redirect exits
}
function deletePhoto()
{
//For redirection
$oldalbum = $this->album_id;
$notice = Notice::getKV('id', $this->photo->notice_id);
$this->photo->delete();
if (Event::handle('StartDeleteOwnNotice', array($this->user, $notice))) {
$notice->deleteAs($this->scoped);
Event::handle('EndDeleteOwnNotice', array($this->user, $notice));
}
$this->showForm(_('Success!'));
common_redirect('/' . $this->user->nickname . '/photos/' . $oldalbum, '303');
}
}

View File

@ -1,101 +0,0 @@
<?php
/**
* GNU Social
* Copyright (C) 2010, Free Software Foundation, Inc.
*
* PHP version 5
*
* LICENCE:
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero 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 Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* @category Widget
* @package GNU Social
* @author Ian Denhardt <ian@zenhack.net>
* @author Sean Corbett <sean@gnu.org>
* @author Max Shinn <trombonechamp@gmail.com>
* @copyright 2010 Free Software Foundation, Inc.
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPL 3.0
*/
if (!defined('GNUSOCIAL')) { exit(1); }
class PhotoAction extends ManagedAction
{
var $user = null;
var $conv = null; // Conversation dataobject
protected function prepare(array $args=array())
{
parent::prepare($args);
$args = $this->returnToArgs();
$this->photoid = $args[1]['photoid'];
$this->photo = GNUsocialPhoto::getKV('id', $this->photoid);
$this->notice = Notice::getKV('id', $this->photo->notice_id);
$this->user = Profile::getKV('id', $this->notice->profile_id);
$this->conv = $this->notice->getConversation();
return true;
}
function title()
{
if (empty($this->user)) {
return _m('No such user.');
} else if (empty($this->photo)) {
return _m('No such photo.');
} else if (!empty($this->photo->title)) {
return $this->photo->title;
} else {
return sprintf(_m("%s's Photo."), $this->user->nickname);
}
}
function showLocalNav()
{
$nav = new GNUsocialPhotoNav($this, $this->user->nickname);
$nav->show();
}
function showContent()
{
if(empty($this->user)) {
return;
}
$this->elementStart('a', array('href' => $this->photo->uri));
$this->element('img', array('src' => $this->photo->uri));
$this->elementEnd('a');
//Image "toolbar"
$cur = common_current_user();
if($this->photo->profile_id == $cur->profile_id) {
$this->elementStart('div', array('id' => 'image_toolbar'));
$this->element('a', array('href' => '/editphoto/' . $this->photo->id), 'Edit');
$this->elementEnd('div');
}
$this->element('p', array('class' => 'photodescription'), $this->photo->photo_description);
//This is a hack to hide the top-level comment
$this->element('style', array(), "#notice-{$this->photo->notice_id} div { display: none } #notice-{$this->photo->notice_id} ol li div { display: inline }");
if (Event::handle('StartShowConversation', array($this, $this->conv, $this->scoped))) {
$notices = $this->conv->getNotices($this->scoped);
$nl = new FullThreadedNoticeList($notices, $this, $this->scoped);
$cnt = $nl->show();
}
Event::handle('EndShowConversation', array($this, $this->conv, $this->scoped));
}
}

View File

@ -1,174 +0,0 @@
<?php
/**
* GNU Social
* Copyright (C) 2010, Free Software Foundation, Inc.
*
* PHP version 5
*
* LICENCE:
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero 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 Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* @category Widget
* @package GNU Social
* @author Ian Denhardt <ian@zenhack.net>
* @author Sean Corbett <sean@gnu.org>
* @author Max Shinn <trombonechamp@gmail.com>
* @copyright 2010 Free Software Foundation, Inc.
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPL 3.0
*/
if (!defined('STATUSNET')) {
exit(1);
}
require_once INSTALLDIR.'/lib/personalgroupnav.php';
class PhotosAction extends Action
{
var $user = null;
function prepare(array $args = array())
{
parent::prepare($args);
$args = $this->returnToArgs();
$username = $args[1]['nickname'];
$this->albumid = $args[1]['albumid'];
if (common_valid_profile_tag($username) == 0) {
$this->user = null;
} else {
$this->user = Profile::getKV('nickname', $username);
}
return true;
}
function handle()
{
parent::handle();
$this->showPage();
}
function title()
{
if (empty($this->user)) {
return _m('No such user.');
} else {
return sprintf(_m("%s's Photos."), $this->user->nickname);
}
}
function showLocalNav()
{
$nav = new PersonalGroupNav($this);
$nav->show();
}
function showResizeImagesBox()
{
$this->elementStart('select', array('onchange' => 'return scalePhotosToSize(this.value)'));
$this->element('option', array('value' => ''), "");
$this->element('option', array('value' => '60'), _("Thumbnail"));
$this->element('option', array('value' => '120'), _("Medium"));
$this->element('option', array('value' => '400'), _("Normal"));
$this->elementEnd('select');
}
function showAlbums()
{
$album = new GNUsocialPhotoAlbum();
$album->profile_id = $this->user->id;
$albums = array();
if (!$album->find()) {
GNUsocialPhotoAlbum::newAlbum($this->user->id, 'Default');
}
$this->elementStart('div', array('class' => 'galleryheader'));
//$this->element('a', array('href' => '#',
// 'onclick' => 'return increasePhotoSize()'), '+');
//$this->raw(' | ');
//$this->element('a', array('href' => '#',
// 'onclick' => 'return decreasePhotoSize()'), '-');
$this->showResizeImagesBox();
$this->elementEnd('div');
while ($album->fetch()) {
$this->elementStart('div', array('class' => 'photocontainer'));
$this->elementStart('a', array('href' => $album->getPageLink()));
$this->element('img', array('src' => $album->getThumbUri(),
'class' => 'albumingallery'));
$this->elementEnd('a');
$this->element('h3', array(), $album->album_name);
$this->elementEnd('div');
}
}
function showAlbum($album_id)
{
$album = GNUsocialPhotoAlbum::getKV('album_id', $album_id);
if (!$album) {
return;
}
$page = $_GET['pageid'];
if (!filter_var($page, FILTER_VALIDATE_INT)){
$page = 1;
}
$photos = GNUsocialPhoto::getGalleryPage($page, $album->album_id, 9);
$this->elementStart('div', array('class' => 'galleryheader'));
if ($page > 1) {
$this->element('a', array('href' => $album->getPageLink() . '?pageid=' . ($page-1)), 'Previous page');
$this->raw(' | ');
}
if (GNUsocialPhoto::getGalleryPage($page+1, $album->album_id, 9)) {
$this->element('a', array('href' => $album->getPageLink() . '?pageid=' . ($page+1) ), 'Next page');
$this->raw(' | ');
}
//$this->element('a', array('href' => '#',
// 'onclick' => 'return increasePhotoSize()'), '+');
//$this->raw(' | ');
//$this->element('a', array('href' => '#',
// 'onclick' => 'return decreasePhotoSize()'), '-');
//$this->raw(' | ');
$this->showResizeImagesBox();
$this->elementEnd('div');
foreach ($photos as $photo) {
$this->elementStart('a', array('href' => $photo->getPageLink()));
$this->elementStart('div', array('class' => 'photocontainer'));
$this->element('img', array('src' => $photo->thumb_uri,
'class' => 'photoingallery'));
$this->element('div', array('class' => 'phototitle'), $photo->title);
$this->elementEnd('div');
$this->elementEnd('a');
}
}
function showContent()
{
if (!empty($this->albumid))
$this->showAlbum($this->albumid);
else
$this->showAlbums();
}
}

View File

@ -1,259 +0,0 @@
<?php
/**
* GNU Social
* Copyright (C) 2010, Free Software Foundation, Inc.
*
* PHP version 5
*
* LICENCE:
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero 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 Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* @category Widget
* @package GNU Social
* @author Ian Denhardt <ian@zenhack.net>
* @author Sean Corbett <sean@gnu.org>
* @author Max Shinn <trombonechamp@gmail.com>
* @copyright 2010 Free Software Foundation, Inc.
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPL 3.0
*/
if (!defined('STATUSNET')) {
exit(1);
}
class PhotouploadAction extends Action
{
var $user = null;
function prepare(array $args = array())
{
parent::prepare($args);
$this->user = common_current_user();
return true;
}
function handle()
{
parent::handle();
if($_SERVER['REQUEST_METHOD'] == 'POST') {
$this->handlePost();
}
$this->showPage();
}
function title()
{
return _m('Upload Photos');
}
function showContent()
{
//Upload a photo
if(empty($this->user)) {
$this->element('p', array(), 'You are not logged in.');
} else {
//showForm() data
if(!empty($this->msg)) {
$class = ($this->success) ? 'success' : 'error';
$this->element('p', array('class' => $class), $this->msg);
}
$this->elementStart('form', array('enctype' => 'multipart/form-data',
'method' => 'post',
'action' => common_local_url('photoupload')));
$this->elementStart('ul', 'form_data');
$this->elementStart('li');
$this->element('input', array('name' => 'photofile',
'type' => 'file',
'id' => 'photofile'));
$this->elementEnd('li');
//$this->element('br');
$this->elementStart('li');
$this->input('phototitle', _("Title"), null, _("The title of the photo. (Optional)"));
$this->elementEnd('li');
$this->elementStart('li');
$this->textarea('photo_description', _("Description"), null, _("A description of the photo. (Optional)"));
$this->elementEnd('li');
$this->elementStart('li');
$this->dropdown('album', _("Album"), $this->albumList(), _("The album in which to place this photo"), false);
$this->elementEnd('li');
$this->elementEnd('ul');
$this->submit('upload', _('Upload'));
$this->elementEnd('form');
$this->element('br');
//Create a new album
$this->element('h3', array(), _("Create a new album"));
$this->elementStart('form', array('method' => 'post',
'action' =>common_local_url('photoupload')));
$this->elementStart('ul', 'form_data');
$this->elementStart('li');
$this->input('album_name', _("Title"), null, _("The title of the album."));
$this->elementEnd('li');
$this->elementStart('li');
$this->textarea('album_description', _("Description"), null, _("A description of the album. (Optional)"));
$this->elementEnd('li');
$this->elementEnd('ul');
$this->submit('create', _('Create'));
$this->elementEnd('form');
//Delete an album
$this->element('h3', array(), _("Delete an album"));
$this->elementStart('form', array('method' => 'post',
'action' =>common_local_url('photoupload')));
$this->elementStart('ul', 'form_data');
$this->elementStart('li');
$this->dropdown('album', _("Album"), $this->albumList(), _("The album in which to place this photo"), false);
$this->elementEnd('li');
$this->elementEnd('ul');
$this->submit('deletealbum', _('Delete'));
$this->elementEnd('form');
}
}
function handlePost()
{
common_log(LOG_INFO, 'handlPost()!');
// Workaround for PHP returning empty $_POST and $_FILES when POST
// length > post_max_size in php.ini
if (empty($_FILES)
&& empty($_POST)
&& ($_SERVER['CONTENT_LENGTH'] > 0)
) {
$msg = _('The server was unable to handle that much POST ' .
'data (%s bytes) due to its current configuration.');
$this->showForm(sprintf($msg, $_SERVER['CONTENT_LENGTH']));
return;
}
// CSRF protection
/* $token = $this->trimmed('token');
if (!$token || $token != common_session_token()) {
$this->showForm(_('There was a problem with your session token. '.
'Try again, please.'));
return;
} */
if ($this->arg('upload')) {
$this->uploadPhoto();
}
if ($this->arg('create')) {
$this->createAlbum();
}
if ($this->arg('deletealbum')) {
$this->deleteAlbum();
}
}
function showForm($msg, $success=false)
{
$this->msg = $msg;
$this->success = $success;
// $this->showPage();
}
function albumList()
{
$cur = common_current_user();
$album = new GNUsocialPhotoAlbum();
$album->user_id = $cur->id;
$albumlist = array();
if (!$album->find()) {
GNUsocialPhotoAlbum::newAlbum($cur->id, 'Default');
}
while ($album->fetch()) {
$albumlist[$album->album_id] = $album->album_name;
}
return $albumlist;
}
function uploadPhoto()
{
$cur = common_current_user();
if(empty($cur)) {
return;
}
try {
$imagefile = ImageFile::fromUpload('photofile');
} catch (Exception $e) {
$this->showForm($e->getMessage());
return;
}
if ($imagefile === null) {
$this->showForm(_('No file uploaded.'));
return;
}
$title = $this->trimmed('phototitle');
$photo_description = $this->trimmed('photo_description');
common_log(LOG_INFO, 'upload path : ' . $imagefile->filepath);
$filename = $cur->nickname . '-' . common_timestamp() . sha1_file($imagefile->filepath) . image_type_to_extension($imagefile->type);
move_uploaded_file($imagefile->filepath, INSTALLDIR . '/file/' . $filename);
photo_make_thumbnail($filename);
$uri = 'http://' . common_config('site', 'server') . '/file/' . $filename;
$thumb_uri = 'http://' . common_config('site', 'server') . '/file/thumb.' . $filename;
$profile_id = $cur->id;
$album = GNUsocialPhotoAlbum::getKV('album_id', $this->trimmed('album'));
if ($album->profile_id != $profile_id) {
$this->showForm(_('Error: This is not your album!'));
return;
}
GNUsocialPhoto::saveNew($profile_id, $album->album_id, $thumb_uri, $uri, 'web', false, $title, $photo_description);
}
function createAlbum()
{
$cur = common_current_user();
if(empty($cur)) {
return;
}
$album_name = $this->trimmed('album_name');
$album_description = $this->trimmed('album_description');
GNUsocialPhotoAlbum::newAlbum($cur->id, $album_name, $album_description);
}
function deleteAlbum()
{
$cur = common_current_user();
if(empty($cur)) return;
$album_id = $this->trimmed('album');
$album = GNUsocialPhotoAlbum::getKV('album_id', $album_id);
if (empty($album)) {
$this->showForm(_('This album does not exist or has been deleted.'));
return;
}
//Check if the album has any photos in it before deleting
$photos = GNUsocialPhoto::getKV('album_id', $album_id);
if(empty($photos)) {
$album->delete();
$this->showForm(_('Album deleted'), true);
}
else {
$this->showForm(_('Cannot delete album when there are photos in it!'), false);
}
}
}

View File

@ -1,138 +0,0 @@
<?php
/**
* GNU Social
* Copyright (C) 2010, Free Software Foundation, Inc.
*
* PHP version 5
*
* LICENCE:
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero 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 Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* @category Widget
* @package GNU Social
* @author Ian Denhardt <ian@zenhack.net>
* @copyright 2010 Free Software Foundation, Inc.
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPL 3.0
*/
if (!defined('STATUSNET')) {
exit(1);
}
require_once INSTALLDIR . '/classes/Memcached_DataObject.php';
class GNUsocialPhoto extends Managed_DataObject
{
public $__table = 'GNUsocialPhoto';
public $id; // int(11)
public $notice_id; // int(11)
public $album_id; // int(11)
public $uri; // varchar(191) not 255 because utf8mb4 takes more space
public $thumb_uri; // varchar(191) not 255 because utf8mb4 takes more space
public $title; // varchar(191) not 255 because utf8mb4 takes more space
public $photo_description; // text
public $created; // datetime() not_null
public $modified; // timestamp() not_null default_CURRENT_TIMESTAMP
/* function delete()
{
if(!unlink(INSTALLDIR . $this->thumb_uri)) {
return false;
}
if(!unlink(INSTALLDIR . $this->path)) {
return false;
}
return parent::delete();
} */
public static function schemaDef()
{
return array(
'fields' => array(
'id' => array('type' => 'serial', 'not null' => true, 'description' => 'Unique ID for Photo'),
'notice_id' => array('type' => 'int', 'not null' => true, 'description' => 'Notice ID for the related notice'),
'album_id' => array('type' => 'int', 'not null' => true, 'description' => 'The parent album ID'),
'uri' => array('type' => 'varchar', 'not null' => true, 'length' => 191, 'description' => 'unique address for this photo'),
'thumb_uri' => array('type' => 'varchar', 'not null' => true, 'length' => 191, 'description' => 'unique address for this photo thumbnail'),
'title' => array('type' => 'varchar', 'not null' => true, 'length' => 191, 'description' => 'The Photo title'),
'photo_description' => array('type' => 'text', 'not null' => true, 'description' => 'A description for this photo'),
'created' => array('type' => 'datetime', 'not null' => true, 'description' => 'date this record was created'),
'modified' => array('type' => 'timestamp', 'not null' => true, 'description' => 'date this record was modified'),
),
'primary key' => array('id'),
'unique keys' => array(
'gnusocialphoto_id_key' => array('notice_id'),
'gnusocialphoto_uri_key' => array('uri'),
),
'foreign keys' => array(
'gnusocialphoto_notice_id_fkey' => array('notice', array('notice_id' => 'id')),
'gnusocialphoto_album_id_fkey' => array('GNUsocialPhotoAlbum', array('album_id' => 'id')),
),
'indexes' => array(
'gnusocialphoto_title_idx' => array('title'),
),
);
}
static function saveNew($profile_id, $album_id, $thumb_uri, $uri, $source, $insert_now, $title = null, $photo_description = null)
{
$photo = new GNUsocialPhoto();
$photo->thumb_uri = $thumb_uri;
$photo->uri = $uri;
$photo->album_id = $album_id;
if(!empty($title)) $photo->title = $title;
if(!empty($photo_description)) $photo->photo_description = (string)$photo_description;
if($insert_now) {
$notice = Notice::saveNew($profile_id, $uri, $source);
$photo->notice_id = $notice->id;
$photo_id = $photo->insert();
if (!$photo_id) {
common_log_db_error($photo, 'INSERT', __FILE__);
throw new ServerException(_m('Problem Saving Photo.'));
}
} else {
GNUsocialPhotoTemp::$tmp = $photo;
Notice::saveNew($profile_id, $uri, $source);
}
}
function getPageLink()
{
return '/photo/' . $this->id;
}
/*
* TODO: -Sanitize input
* @param int page_id The desired page of the gallery to show.
* @param int album_id The id of the album to get photos from.
* @param int gallery_size The number of thumbnails to show per page in the gallery.
* @return array Array of GNUsocialPhotos for this gallery page.
*/
static function getGalleryPage($page_id, $album_id, $gallery_size)
{
$page_offset = ($page_id-1) * $gallery_size;
$sql = 'SELECT * FROM GNUsocialPhoto WHERE album_id = ' . $album_id .
' ORDER BY notice_id LIMIT ' . $page_offset . ',' . $gallery_size;
$photo = new GNUsocialPhoto();
$photo->query($sql);
$photos = array();
while ($photo->fetch()) {
$photos[] = clone($photo);
}
return $photos;
}
}

View File

@ -1,104 +0,0 @@
<?php
/**
* GNU Social
* Copyright (C) 2010, Free Software Foundation, Inc.
*
* PHP version 5
*
* LICENCE:
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero 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 Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* @category Widget
* @package GNU Social
* @author Ian Denhardt <ian@zenhack.net>
* @author Sean Corbett <sean@gnu.org>
* @copyright 2010 Free Software Foundation, Inc.
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPL 3.0
*/
if (!defined('STATUSNET')) {
exit(1);
}
require_once INSTALLDIR . '/classes/Memcached_DataObject.php';
class GNUsocialPhotoAlbum extends Managed_DataObject
{
public $__table = 'GNUsocialPhotoAlbum';
public $album_id; // int(11) -- Unique identifier for the album
public $profile_id; // int(11) -- Profile ID for the owner of the album
public $album_name; // varchar(191) -- Title for this album not 255 because utf8mb4 takes more space
public $album_description; // text -- A description of the album
public $created; // datetime() not_null
public $modified; // timestamp() not_null default_CURRENT_TIMESTAMP
/* TODO: Primary key on both album_id, profile_id / foriegn key on profile_id */
public static function schemaDef()
{
return array(
'fields' => array(
'album_id' => array('type' => 'serial', 'not null' => true, 'description' => 'Unique identifier for the album'),
'profile_id' => array('type' => 'int', 'not null' => true, 'description' => 'Profile ID for the owner of the album'),
'album_name' => array('type' => 'varchar', 'not null' => true, 'length' => 191, 'description' => 'Title for this album'),
'album_description' => array('type' => 'text', 'not null' => true, 'description' => 'A description for this album'),
'created' => array('type' => 'datetime', 'not null' => true, 'description' => 'date this record was created'),
'modified' => array('type' => 'timestamp', 'not null' => true, 'description' => 'date this record was modified'),
),
'primary key' => array('user_id'),
'foreign keys' => array(
'gnusocialphotoalbum_profile_id_fkey' => array('profile', array('profile_id' => 'id')),
),
'indexes' => array(
'gnusocialphotoalbum_album_name_idx' => array('album_name'),
),
);
}
function getPageLink()
{
$profile = Profile::getKV('id', $this->profile_id);
return '/' . $profile->nickname . '/photos/' . $this->album_id;
}
function getThumbUri()
{
$photo = GNUsocialPhoto::getKV('album_id', $this->album_id);
if (empty($photo))
return '/theme/default/default-avatar-profile.png'; //For now...
return $photo->thumb_uri;
}
static function newAlbum($profile_id, $album_name, $album_description)
{
//TODO: Should use foreign key instead...
if (!Profile::getKV('id', $profile_id)){
//Is this a bit extreme?
throw new ServerException(_m('No such user exists with id ' . $profile_id . ', couldn\'t create album.'));
}
$album = new GNUsocialPhotoAlbum();
$album->profile_id = $profile_id;
$album->album_name = $album_name;
$album->album_description = $album_description;
$album->album_id = $album->insert();
if (!$album->album_id){
common_log_db_error($album, 'INSERT', __FILE__);
throw new ServerException(_m('Error creating new album.'));
}
common_log(LOG_INFO, 'album_id : ' . $album->album_id);
return $album;
}
}

View File

@ -1,63 +0,0 @@
<?php
/**
* GNU Social
* Copyright (C) 2010, Free Software Foundation, Inc.
*
* PHP version 5
*
* LICENCE:
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero 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 Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* @package GNU Social
* @author Ian Denhardt <ian@zenhack.net>
* @author Max Shinn <trombonechamp@gmail.com>
* @copyright 2010 Free Software Foundation, Inc.
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPL 3.0
*/
if(!defined('STATUSNET')) {
exit(1);
}
class GNUsocialPhotoNav extends Widget {
var $action = null;
function __construct($action = null, $nickname = null)
{
parent::__construct($action);
$this->action = $action;
$this->nickname = $nickname;
}
function show()
{
if (empty($this->nickname))
$this->nickname = $this->action->trimmed('nickname');
$this->out->elementStart('ul', array('class' => 'nav'));
$this->out->menuItem(common_local_url('showstream', array('nickname' => $this->nickname)), _('Profile'));
$this->out->menuItem(common_local_url('photos', array('nickname' => $this->nickname)),
_('Photos'));
$user = common_current_user();
if (!empty($user)) {
$this->out->menuItem(common_local_url('photoupload', array()),
_('Upload Photos'));
}
$this->out->elementEnd('ul');
}
}

View File

@ -1,37 +0,0 @@
<?php
/**
* GNU Social
* Copyright (C) 2010, Free Software Foundation, Inc.
*
* PHP version 5
*
* LICENCE:
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero 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 Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* @package GNU Social
* @author Ian Denhardt <ian@zenhack.net>
* @copyright 2010 Free Software Foundation, Inc.
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPL 3.0
*/
if (!defined('STATUSNET')) {
exit(1);
}
// XXX: This entire file is an ugly hack and needs to be replaced. It is essentially a global variable
// used to store information about a photo we want to insert in onStartNoticeDistribute(), which we
// can't actually pass to that function.
class GNUsocialPhotoTemp {
public static $tmp = null;
}

View File

@ -1,87 +0,0 @@
<?php
/**
* GNU Social
* Copyright (C) 2010, Free Software Foundation, Inc.
*
* PHP version 5
*
* LICENCE:
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero 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 Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* @category Widget
* @package GNU Social
* @author Ian Denhardt <ian@zenhack.net>
* @copyright 2010 Free Software Foundation, Inc.
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPL 3.0
*/
function photo_make_thumbnail($filename)
{
$height_dest = 192;
$width_dest = 256;
$size_src = getimagesize(INSTALLDIR . '/file/' . $filename);
$image_type = $size_src[2];
switch($image_type) {
case IMAGETYPE_JPEG:
$image_src = imagecreatefromjpeg(INSTALLDIR . '/file/' . $filename);
break;
case IMAGETYPE_PNG:
$image_src = imagecreatefrompng(INSTALLDIR . '/file/' . $filename);
break;
case IMAGETYPE_GIF:
$image_src = imagecreatefromgif(INSTALLDIR . '/file/' . $filename);
break;
default:
return false;
}
$width_src = $size_src[0];
$height_src = $size_src[1];
$ratio_src = (float) $width_src / (float) $height_src;
$ratio_dest = (float) $width_dest / (float) $height_dest;
if ($ratio_src > $ratio_dest) {
$height_crop = $height_src;
$width_crop = (int)($height_crop * $ratio_dest);
$x_crop = ($width_src - $width_crop) / 2;
} else {
$width_crop = $width_src;
$height_crop = (int)($width_crop / $ratio_dest);
$x_crop = 0;
}
$image_dest = imagecreatetruecolor($width_dest, $height_dest);
imagecopyresampled($image_dest, $image_src, 0, 0, $x_crop, 0, $width_dest, $height_dest, $width_crop, $height_crop);
switch ($image_type) {
case IMAGETYPE_JPEG:
imagejpeg($image_dest, INSTALLDIR . '/file/' . 'thumb.' . $filename, 100);
break;
case IMAGETYPE_PNG:
imagepng($image_dest, INSTALLDIR . '/file/thumb.' . $filename);
break;
case IMAGETYPE_GIF:
imagegif($image_dest, INSTALLDIR . '/file/thumb.' . $filename);
break;
}
imagedestroy($image_src);
imagedestroy($image_dest);
return true;
}

View File

@ -1,64 +0,0 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-08-14 14:51+0100\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=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
#: GNUsocialPhotosPlugin.php:65
msgid "Problem saving photo."
msgstr ""
#: actions/photoupload.php:57
msgid "Upload Photos"
msgstr ""
#: actions/photo.php:56 actions/photos.php:65
msgid "No such user."
msgstr ""
#: actions/photo.php:58
msgid "No such photo."
msgstr ""
#: actions/photo.php:62
#, php-format
msgid "%s's Photo."
msgstr ""
#: actions/editphoto.php:61
msgid "Edit photo - "
msgstr ""
#: actions/editphoto.php:63
msgid "Edit photo"
msgstr ""
#: actions/photos.php:67
#, php-format
msgid "%s's Photos."
msgstr ""
#: classes/gnusocialphoto.php:103
msgid "Problem Saving Photo."
msgstr ""
#: classes/gnusocialphotoalbum.php:87
msgid "No such user exists with id "
msgstr ""
#: classes/gnusocialphotoalbum.php:98
msgid "Error creating new album."
msgstr ""

View File

@ -1,64 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-06 16:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Afrikaans (http://www.transifex.com/gnu-social/gnu-social/language/af/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: af\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: actions/photoupload.php:57
msgid "Upload Photos"
msgstr ""
#: actions/photo.php:56 actions/photos.php:65
msgid "No such user."
msgstr "Onbekende gebruiker."
#: actions/photo.php:58
msgid "No such photo."
msgstr ""
#: actions/photo.php:62
#, php-format
msgid "%s's Photo."
msgstr ""
#: actions/photos.php:67
#, php-format
msgid "%s's Photos."
msgstr ""
#: actions/editphoto.php:61
msgid "Edit photo - "
msgstr ""
#: actions/editphoto.php:63
msgid "Edit photo"
msgstr ""
#: classes/gnusocialphotoalbum.php:87
msgid "No such user exists with id "
msgstr ""
#: classes/gnusocialphotoalbum.php:98
msgid "Error creating new album."
msgstr ""
#: classes/gnusocialphoto.php:103
msgid "Problem Saving Photo."
msgstr ""
#: GNUsocialPhotosPlugin.php:65
msgid "Problem saving photo."
msgstr ""

View File

@ -1,64 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-06 16:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Arabic (http://www.transifex.com/gnu-social/gnu-social/language/ar/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: ar\n"
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
#: actions/photoupload.php:57
msgid "Upload Photos"
msgstr ""
#: actions/photo.php:56 actions/photos.php:65
msgid "No such user."
msgstr "لا يوجد مستخدم بهذا الاسم."
#: actions/photo.php:58
msgid "No such photo."
msgstr ""
#: actions/photo.php:62
#, php-format
msgid "%s's Photo."
msgstr ""
#: actions/photos.php:67
#, php-format
msgid "%s's Photos."
msgstr ""
#: actions/editphoto.php:61
msgid "Edit photo - "
msgstr ""
#: actions/editphoto.php:63
msgid "Edit photo"
msgstr ""
#: classes/gnusocialphotoalbum.php:87
msgid "No such user exists with id "
msgstr ""
#: classes/gnusocialphotoalbum.php:98
msgid "Error creating new album."
msgstr ""
#: classes/gnusocialphoto.php:103
msgid "Problem Saving Photo."
msgstr ""
#: GNUsocialPhotosPlugin.php:65
msgid "Problem saving photo."
msgstr ""

View File

@ -1,64 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-06 16:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Arabic (Egypt) (http://www.transifex.com/gnu-social/gnu-social/language/ar_EG/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: ar_EG\n"
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
#: actions/photoupload.php:57
msgid "Upload Photos"
msgstr ""
#: actions/photo.php:56 actions/photos.php:65
msgid "No such user."
msgstr "لا مستخدم كهذا."
#: actions/photo.php:58
msgid "No such photo."
msgstr ""
#: actions/photo.php:62
#, php-format
msgid "%s's Photo."
msgstr ""
#: actions/photos.php:67
#, php-format
msgid "%s's Photos."
msgstr ""
#: actions/editphoto.php:61
msgid "Edit photo - "
msgstr ""
#: actions/editphoto.php:63
msgid "Edit photo"
msgstr ""
#: classes/gnusocialphotoalbum.php:87
msgid "No such user exists with id "
msgstr ""
#: classes/gnusocialphotoalbum.php:98
msgid "Error creating new album."
msgstr ""
#: classes/gnusocialphoto.php:103
msgid "Problem Saving Photo."
msgstr ""
#: GNUsocialPhotosPlugin.php:65
msgid "Problem saving photo."
msgstr ""

View File

@ -1,64 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-06 16:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Asturian (http://www.transifex.com/gnu-social/gnu-social/language/ast/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: ast\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: actions/photoupload.php:57
msgid "Upload Photos"
msgstr ""
#: actions/photo.php:56 actions/photos.php:65
msgid "No such user."
msgstr ""
#: actions/photo.php:58
msgid "No such photo."
msgstr ""
#: actions/photo.php:62
#, php-format
msgid "%s's Photo."
msgstr ""
#: actions/photos.php:67
#, php-format
msgid "%s's Photos."
msgstr ""
#: actions/editphoto.php:61
msgid "Edit photo - "
msgstr ""
#: actions/editphoto.php:63
msgid "Edit photo"
msgstr ""
#: classes/gnusocialphotoalbum.php:87
msgid "No such user exists with id "
msgstr ""
#: classes/gnusocialphotoalbum.php:98
msgid "Error creating new album."
msgstr ""
#: classes/gnusocialphoto.php:103
msgid "Problem Saving Photo."
msgstr ""
#: GNUsocialPhotosPlugin.php:65
msgid "Problem saving photo."
msgstr ""

View File

@ -1,64 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-06 16:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Belarusian (Tarask) (http://www.transifex.com/gnu-social/gnu-social/language/be@tarask/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: be@tarask\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"
#: actions/photoupload.php:57
msgid "Upload Photos"
msgstr ""
#: actions/photo.php:56 actions/photos.php:65
msgid "No such user."
msgstr "Няма такога карыстальніка."
#: actions/photo.php:58
msgid "No such photo."
msgstr ""
#: actions/photo.php:62
#, php-format
msgid "%s's Photo."
msgstr ""
#: actions/photos.php:67
#, php-format
msgid "%s's Photos."
msgstr ""
#: actions/editphoto.php:61
msgid "Edit photo - "
msgstr ""
#: actions/editphoto.php:63
msgid "Edit photo"
msgstr ""
#: classes/gnusocialphotoalbum.php:87
msgid "No such user exists with id "
msgstr ""
#: classes/gnusocialphotoalbum.php:98
msgid "Error creating new album."
msgstr ""
#: classes/gnusocialphoto.php:103
msgid "Problem Saving Photo."
msgstr ""
#: GNUsocialPhotosPlugin.php:65
msgid "Problem saving photo."
msgstr ""

View File

@ -1,64 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-06 16:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Bulgarian (http://www.transifex.com/gnu-social/gnu-social/language/bg/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: bg\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: actions/photoupload.php:57
msgid "Upload Photos"
msgstr ""
#: actions/photo.php:56 actions/photos.php:65
msgid "No such user."
msgstr "Няма такъв потребител"
#: actions/photo.php:58
msgid "No such photo."
msgstr ""
#: actions/photo.php:62
#, php-format
msgid "%s's Photo."
msgstr ""
#: actions/photos.php:67
#, php-format
msgid "%s's Photos."
msgstr ""
#: actions/editphoto.php:61
msgid "Edit photo - "
msgstr ""
#: actions/editphoto.php:63
msgid "Edit photo"
msgstr ""
#: classes/gnusocialphotoalbum.php:87
msgid "No such user exists with id "
msgstr ""
#: classes/gnusocialphotoalbum.php:98
msgid "Error creating new album."
msgstr ""
#: classes/gnusocialphoto.php:103
msgid "Problem Saving Photo."
msgstr ""
#: GNUsocialPhotosPlugin.php:65
msgid "Problem saving photo."
msgstr ""

View File

@ -1,64 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-06 16:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Bengali (India) (http://www.transifex.com/gnu-social/gnu-social/language/bn_IN/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: bn_IN\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: actions/photoupload.php:57
msgid "Upload Photos"
msgstr ""
#: actions/photo.php:56 actions/photos.php:65
msgid "No such user."
msgstr ""
#: actions/photo.php:58
msgid "No such photo."
msgstr ""
#: actions/photo.php:62
#, php-format
msgid "%s's Photo."
msgstr ""
#: actions/photos.php:67
#, php-format
msgid "%s's Photos."
msgstr ""
#: actions/editphoto.php:61
msgid "Edit photo - "
msgstr ""
#: actions/editphoto.php:63
msgid "Edit photo"
msgstr ""
#: classes/gnusocialphotoalbum.php:87
msgid "No such user exists with id "
msgstr ""
#: classes/gnusocialphotoalbum.php:98
msgid "Error creating new album."
msgstr ""
#: classes/gnusocialphoto.php:103
msgid "Problem Saving Photo."
msgstr ""
#: GNUsocialPhotosPlugin.php:65
msgid "Problem saving photo."
msgstr ""

View File

@ -1,64 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-06 16:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Breton (http://www.transifex.com/gnu-social/gnu-social/language/br/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: br\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#: actions/photoupload.php:57
msgid "Upload Photos"
msgstr ""
#: actions/photo.php:56 actions/photos.php:65
msgid "No such user."
msgstr "N'eus ket eus an implijer-se."
#: actions/photo.php:58
msgid "No such photo."
msgstr ""
#: actions/photo.php:62
#, php-format
msgid "%s's Photo."
msgstr ""
#: actions/photos.php:67
#, php-format
msgid "%s's Photos."
msgstr ""
#: actions/editphoto.php:61
msgid "Edit photo - "
msgstr ""
#: actions/editphoto.php:63
msgid "Edit photo"
msgstr ""
#: classes/gnusocialphotoalbum.php:87
msgid "No such user exists with id "
msgstr ""
#: classes/gnusocialphotoalbum.php:98
msgid "Error creating new album."
msgstr ""
#: classes/gnusocialphoto.php:103
msgid "Problem Saving Photo."
msgstr ""
#: GNUsocialPhotosPlugin.php:65
msgid "Problem saving photo."
msgstr ""

View File

@ -1,64 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-06 16:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Catalan (http://www.transifex.com/gnu-social/gnu-social/language/ca/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: ca\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: actions/photoupload.php:57
msgid "Upload Photos"
msgstr ""
#: actions/photo.php:56 actions/photos.php:65
msgid "No such user."
msgstr "No existeix l'usuari."
#: actions/photo.php:58
msgid "No such photo."
msgstr ""
#: actions/photo.php:62
#, php-format
msgid "%s's Photo."
msgstr ""
#: actions/photos.php:67
#, php-format
msgid "%s's Photos."
msgstr ""
#: actions/editphoto.php:61
msgid "Edit photo - "
msgstr ""
#: actions/editphoto.php:63
msgid "Edit photo"
msgstr ""
#: classes/gnusocialphotoalbum.php:87
msgid "No such user exists with id "
msgstr ""
#: classes/gnusocialphotoalbum.php:98
msgid "Error creating new album."
msgstr ""
#: classes/gnusocialphoto.php:103
msgid "Problem Saving Photo."
msgstr ""
#: GNUsocialPhotosPlugin.php:65
msgid "Problem saving photo."
msgstr ""

View File

@ -1,64 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-06 16:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Czech (http://www.transifex.com/gnu-social/gnu-social/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"
#: actions/photoupload.php:57
msgid "Upload Photos"
msgstr ""
#: actions/photo.php:56 actions/photos.php:65
msgid "No such user."
msgstr "Uživatel neexistuje."
#: actions/photo.php:58
msgid "No such photo."
msgstr ""
#: actions/photo.php:62
#, php-format
msgid "%s's Photo."
msgstr ""
#: actions/photos.php:67
#, php-format
msgid "%s's Photos."
msgstr ""
#: actions/editphoto.php:61
msgid "Edit photo - "
msgstr ""
#: actions/editphoto.php:63
msgid "Edit photo"
msgstr ""
#: classes/gnusocialphotoalbum.php:87
msgid "No such user exists with id "
msgstr ""
#: classes/gnusocialphotoalbum.php:98
msgid "Error creating new album."
msgstr ""
#: classes/gnusocialphoto.php:103
msgid "Problem Saving Photo."
msgstr ""
#: GNUsocialPhotosPlugin.php:65
msgid "Problem saving photo."
msgstr ""

View File

@ -1,64 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-06 16:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Danish (http://www.transifex.com/gnu-social/gnu-social/language/da/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: da\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: actions/photoupload.php:57
msgid "Upload Photos"
msgstr ""
#: actions/photo.php:56 actions/photos.php:65
msgid "No such user."
msgstr "Ingen bruger fundet."
#: actions/photo.php:58
msgid "No such photo."
msgstr ""
#: actions/photo.php:62
#, php-format
msgid "%s's Photo."
msgstr ""
#: actions/photos.php:67
#, php-format
msgid "%s's Photos."
msgstr ""
#: actions/editphoto.php:61
msgid "Edit photo - "
msgstr ""
#: actions/editphoto.php:63
msgid "Edit photo"
msgstr ""
#: classes/gnusocialphotoalbum.php:87
msgid "No such user exists with id "
msgstr ""
#: classes/gnusocialphotoalbum.php:98
msgid "Error creating new album."
msgstr ""
#: classes/gnusocialphoto.php:103
msgid "Problem Saving Photo."
msgstr ""
#: GNUsocialPhotosPlugin.php:65
msgid "Problem saving photo."
msgstr ""

View File

@ -1,65 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
# D P, 2015
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-18 23:33+0000\n"
"Last-Translator: D P\n"
"Language-Team: German (http://www.transifex.com/gnu-social/gnu-social/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"
#: actions/photoupload.php:57
msgid "Upload Photos"
msgstr "Fotos hochladen"
#: actions/photo.php:56 actions/photos.php:65
msgid "No such user."
msgstr "Kein solcher Benutzer."
#: actions/photo.php:58
msgid "No such photo."
msgstr ""
#: actions/photo.php:62
#, php-format
msgid "%s's Photo."
msgstr ""
#: actions/photos.php:67
#, php-format
msgid "%s's Photos."
msgstr "Fotos von %s"
#: actions/editphoto.php:61
msgid "Edit photo - "
msgstr "Foto bearbeiten -"
#: actions/editphoto.php:63
msgid "Edit photo"
msgstr "Foto bearbeiten"
#: classes/gnusocialphotoalbum.php:87
msgid "No such user exists with id "
msgstr ""
#: classes/gnusocialphotoalbum.php:98
msgid "Error creating new album."
msgstr "Fehler beim Erstellen eines neuen Albums"
#: classes/gnusocialphoto.php:103
msgid "Problem Saving Photo."
msgstr ""
#: GNUsocialPhotosPlugin.php:65
msgid "Problem saving photo."
msgstr "Problem beim Speichern des Fotos."

View File

@ -1,64 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-06 16:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Greek (http://www.transifex.com/gnu-social/gnu-social/language/el/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: el\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: actions/photoupload.php:57
msgid "Upload Photos"
msgstr ""
#: actions/photo.php:56 actions/photos.php:65
msgid "No such user."
msgstr "Κανένας τέτοιος χρήστης."
#: actions/photo.php:58
msgid "No such photo."
msgstr ""
#: actions/photo.php:62
#, php-format
msgid "%s's Photo."
msgstr ""
#: actions/photos.php:67
#, php-format
msgid "%s's Photos."
msgstr ""
#: actions/editphoto.php:61
msgid "Edit photo - "
msgstr ""
#: actions/editphoto.php:63
msgid "Edit photo"
msgstr ""
#: classes/gnusocialphotoalbum.php:87
msgid "No such user exists with id "
msgstr ""
#: classes/gnusocialphotoalbum.php:98
msgid "Error creating new album."
msgstr ""
#: classes/gnusocialphoto.php:103
msgid "Problem Saving Photo."
msgstr ""
#: GNUsocialPhotosPlugin.php:65
msgid "Problem saving photo."
msgstr ""

View File

@ -1,65 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
# Luke Hollins <luke@farcry.ca>, 2015
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-03-07 19:41+0000\n"
"Last-Translator: Luke Hollins <luke@farcry.ca>\n"
"Language-Team: English (United Kingdom) (http://www.transifex.com/gnu-social/gnu-social/language/en_GB/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: en_GB\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: actions/photoupload.php:57
msgid "Upload Photos"
msgstr "Upload Photos"
#: actions/photo.php:56 actions/photos.php:65
msgid "No such user."
msgstr "No such user."
#: actions/photo.php:58
msgid "No such photo."
msgstr "No such photo."
#: actions/photo.php:62
#, php-format
msgid "%s's Photo."
msgstr "%s's Photo."
#: actions/photos.php:67
#, php-format
msgid "%s's Photos."
msgstr "%s's Photos."
#: actions/editphoto.php:61
msgid "Edit photo - "
msgstr "Edit photo - "
#: actions/editphoto.php:63
msgid "Edit photo"
msgstr "Edit photo"
#: classes/gnusocialphotoalbum.php:87
msgid "No such user exists with id "
msgstr "No such user exists with id "
#: classes/gnusocialphotoalbum.php:98
msgid "Error creating new album."
msgstr "Error creating new album."
#: classes/gnusocialphoto.php:103
msgid "Problem Saving Photo."
msgstr "Problem Saving Photo."
#: GNUsocialPhotosPlugin.php:65
msgid "Problem saving photo."
msgstr "Problem saving photo."

View File

@ -1,64 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-06 16:24+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Esperanto (http://www.transifex.com/gnu-social/gnu-social/language/eo/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: eo\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: actions/photoupload.php:57
msgid "Upload Photos"
msgstr ""
#: actions/photo.php:56 actions/photos.php:65
msgid "No such user."
msgstr "Ne ekzistas tiu uzanto."
#: actions/photo.php:58
msgid "No such photo."
msgstr ""
#: actions/photo.php:62
#, php-format
msgid "%s's Photo."
msgstr ""
#: actions/photos.php:67
#, php-format
msgid "%s's Photos."
msgstr ""
#: actions/editphoto.php:61
msgid "Edit photo - "
msgstr ""
#: actions/editphoto.php:63
msgid "Edit photo"
msgstr ""
#: classes/gnusocialphotoalbum.php:87
msgid "No such user exists with id "
msgstr ""
#: classes/gnusocialphotoalbum.php:98
msgid "Error creating new album."
msgstr ""
#: classes/gnusocialphoto.php:103
msgid "Problem Saving Photo."
msgstr ""
#: GNUsocialPhotosPlugin.php:65
msgid "Problem saving photo."
msgstr ""

View File

@ -1,66 +0,0 @@
# Translation file for GNU social - the free software social networking platform
# Copyright (C) 2015 - 2019 Free Software Foundation, Inc http://www.fsf.org
# This file is under https://www.gnu.org/licenses/agpl v3 or later
#
# Translators:
# Ismael Moral <jastertdc@gmail.com>, 2015
# Juan Riquelme González <soulchainer@gmail.com>, 2015
msgid ""
msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-02-27 12:21+0000\n"
"Last-Translator: Juan Riquelme González <soulchainer@gmail.com>\n"
"Language-Team: Spanish (http://www.transifex.com/gnu-social/gnu-social/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"
#: actions/photoupload.php:57
msgid "Upload Photos"
msgstr "Subir fotos"
#: actions/photo.php:56 actions/photos.php:65
msgid "No such user."
msgstr "No existe ese usuario."
#: actions/photo.php:58
msgid "No such photo."
msgstr "Foto no encontrada. "
#: actions/photo.php:62
#, php-format
msgid "%s's Photo."
msgstr "Foto de %s. "
#: actions/photos.php:67
#, php-format
msgid "%s's Photos."
msgstr "Fotos de %s. "
#: actions/editphoto.php:61
msgid "Edit photo - "
msgstr "Editar foto -"
#: actions/editphoto.php:63
msgid "Edit photo"
msgstr "Editar foto"
#: classes/gnusocialphotoalbum.php:87
msgid "No such user exists with id "
msgstr "No existe un usuario con ese identificador"
#: classes/gnusocialphotoalbum.php:98
msgid "Error creating new album."
msgstr "Ocurrió un error cuando se intentaba crear el álbum. "
#: classes/gnusocialphoto.php:103
msgid "Problem Saving Photo."
msgstr "Hubo un problema guardando la foto. "
#: GNUsocialPhotosPlugin.php:65
msgid "Problem saving photo."
msgstr "Hubo un problema guardando la foto. "

Some files were not shown because too many files have changed in this diff Show More