Merge remote-tracking branch 'upstream/master'

This commit is contained in:
Roman Leuprecht 2017-10-16 14:23:37 +02:00
commit 897f84bc7a
111 changed files with 700 additions and 1078 deletions

View File

@ -5,7 +5,6 @@
### What do you get instead?
### Additional info
| Q | A
@ -13,3 +12,6 @@
| HumHub version | 1.?
| PHP version |
| Operating system |
> Note: Please use the [community](https://community.humhub.com) site for any questions on customizing HumHub.
> Note: Also provide the full error stacks from `Administratoin --> Information --> Logging` and errors from your browser console if possible.

View File

@ -4,6 +4,7 @@ RewriteEngine on
# uncomment to force https requests
#RewriteCond %{HTTPS} !=on
#RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/.*$ [NC]
#RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

View File

@ -0,0 +1,26 @@
<?php
/**
* @link https://www.humhub.org/
* @copyright Copyright (c) 2017 HumHub GmbH & Co. KG
* @license https://www.humhub.com/licences
*/
namespace humhub\components;
/**
* Event is the base class for all event classes.
*
* @since 1.2.3
* @author Luke
*/
class Event extends \yii\base\Event
{
/**
* @var mixed an optional result which can be manipulated by the event handler.
* Note that this varies according to which event is currently executing.
*/
public $result;
}

View File

@ -40,6 +40,13 @@ Important note for LDAP users: There is a new setting "ID Attribute" which shoul
- Enh: Added `MobileTargetProvider` abstraction for mobile push notifications
- Enh: Added `humhub:notification:updateCount` js event
- Enh: Show space administrators and moderators in member snippet
- Fix: `humhub\modules\live\Module::getLegitimateContentContainerIds` behaviour with friendship module enabled
- Enh: Added `BaseNotification:priority` to mark high priority notifications
- Enh: Added new `User::isVisible` and `ActiveQueryUser::visible` methods
- Fix: MarkdownEditor cursor position after inserting file/
- Fix: Make sure own profile content is always visible to user
- Fix #2501: Do not try to embed Youtube unauthorized videos (acs-ferreira)
- Fix #2613: Wrong username encoding with pretty url (githubjeka)
1.2.2 (August 2, 2017)
--------------------------------

View File

@ -0,0 +1,28 @@
<?php
/**
* @link https://www.humhub.org/
* @copyright Copyright (c) 2017 HumHub GmbH & Co. KG
* @license https://www.humhub.com/licences
*/
namespace humhub\events;
use yii\base\Event;
use yii\db\ActiveQuery;
/**
* ActiveQueryEvent represents the parameter needed by [[ActiveQuery]] events.
*
* @since 1.2.3
* @author Luke
*/
class ActiveQueryEvent extends Event
{
/**
* @var ActiveQuery the active query
*/
public $query;
}

File diff suppressed because one or more lines are too long

View File

@ -31,7 +31,7 @@ return array (
'Error while running your last action (Invalid request method).' => 'Fehler bei der Ausführung der letzten Aktion (Invalid request method).',
'Error:' => 'Fehler:',
'Expand' => 'Erweitern',
'Export' => '',
'Export' => 'Exportieren',
'Info:' => 'Info:',
'Invalid request method!' => '',
'It looks like you may have taken the wrong turn.' => 'Du hast womöglich den falschen Weg eingeschlagen.',

View File

@ -1,29 +1,12 @@
<?php
/**
* Message translations.
*
* This file is automatically generated by 'yii message/extract' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
*
* Each array element represents the translation (value) of a message (key).
* If the value is empty, the message is considered as not translated.
* Messages that no longer need translation will have their translations
* enclosed between a pair of '@@' marks.
*
* Message string can be used with plural forms format. Check i18n section
* of the guide for details.
*
* NOTE: this file must be saved in UTF-8 encoding.
*/
return [
'Guest mode not active, please login first.' => '',
'Login required for this section.' => '',
'You are not permitted to access this section.' => '',
'You need admin permissions to access this section.' => '',
'Your user account has not been approved yet, please try again later or contact a network administrator.' => '',
'Your user account is inactive, please login with an active account or contact a network administrator.' => '',
'<strong>Login</strong> required' => '<strong>Anmelden</strong> erforderlich',
'An internal server error occurred.' => 'Es ist ein interner Fehler aufgetreten.',
'You are not allowed to perform this action.' => 'Du hast keine Berechtigung für diesen Vorgang.',
];
return array (
'<strong>Login</strong> required' => '<strong>Anmelden</strong> erforderlich',
'An internal server error occurred.' => 'Es ist ein interner Fehler aufgetreten.',
'Guest mode not active, please login first.' => 'Gastmodus nicht aktiv, bitte zuerst einloggen.',
'Login required for this section.' => 'Für diesen Abschnitt ist ein Login erforderlich',
'You are not allowed to perform this action.' => 'Du hast keine Berechtigung für diesen Vorgang.',
'You are not permitted to access this section.' => 'Sie haben keinen Zugriff auf diesen Bereich.',
'You need admin permissions to access this section.' => 'Um auf diesen Abschnitt zugreifen zu können, benötigen Sie Admin-Rechte.',
'Your user account has not been approved yet, please try again later or contact a network administrator.' => 'Ihr Benutzerkonto wurde noch nicht freigegeben, bitte versuchen Sie es später noch einmal oder wenden Sie sich an einen Netzwerkadministrator.',
'Your user account is inactive, please login with an active account or contact a network administrator.' => 'Ihr Benutzerkonto ist inaktiv, bitte melden Sie sich mit einem aktiven Konto an oder kontaktieren Sie einen Netzwerkadministrator.',
);

File diff suppressed because one or more lines are too long

View File

@ -1,95 +1,78 @@
<?php
/**
* Message translations.
*
* This file is automatically generated by 'yii message/extract' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
*
* Each array element represents the translation (value) of a message (key).
* If the value is empty, the message is considered as not translated.
* Messages that no longer need translation will have their translations
* enclosed between a pair of '@@' marks.
*
* Message string can be used with plural forms format. Check i18n section
* of the guide for details.
*
* NOTE: this file must be saved in UTF-8 encoding.
*/
return [
'Export' => '',
'Invalid request method!' => '',
'Select Me' => '',
'Time Zone' => '',
'<strong>Confirm</strong> Action' => '<strong>Confirmer</strong> l\'opération',
'<strong>Latest</strong> updates' => '<strong>Dernières</strong> mises à jour',
'<strong>Mail</strong> summary' => '<strong>E-mail</strong> résumé',
'Account settings' => 'Paramètres du compte',
'Administration' => 'Administration',
'Allow' => 'Autoriser',
'An error occurred while handling your last action. (Handler not found).' => 'Une erreur s\'est produite lors de la manipulation de votre dernière action. (Gestionnaire introuvable).',
'An unexpected error occurred while loading the search result.' => 'Une erreur inattendue s\'est produite lors du chargement du résultat de la recherche.',
'An unexpected error occurred. If this keeps happening, please contact a site administrator.' => 'Une erreur inattendue est survenue. Si cela se reproduis, contactez un administrateur du site.',
'An unexpected server error occurred. If this keeps happening, please contact a site administrator.' => 'Une erreur de serveur inattendue s\'est produite. Si cela continue, contactez un administrateur du site.',
'An unknown error occurred while uploading.' => 'Une erreur inconnue s\'est produite lors du chargement de fichier.',
'An unknown error occurred while uploading. Hint: check your upload_max_filesize and post_max_size php settings.' => 'Une erreur inconnue s\'est produite lors du chargement de fichier. Astuce : vérifiez les paramètres php upload_max_filesize et post_max_size.',
'Back' => 'Retour',
'Back to dashboard' => 'Retour au tableau de bord',
'Cancel' => 'Annuler',
'Choose language:' => 'Choisir la langue :',
'Close' => 'Fermer',
'Collapse' => 'Réduire',
'Confirm' => 'Confirmer',
'Content Addon source must be instance of HActiveRecordContent or HActiveRecordContentAddon!' => 'Le contenu d\'un add-on doit être une instance de HActiveRecordContent ou HActiveRecordContentAddon !',
'Copy to clipboard' => 'Copier vers le presse-papier',
'Could not determine content container!' => 'Le contenu du conteneur n\'a pas pu être déterminé !',
'Could not find content of addon!' => 'Le contenu du add-on n\'a pu être trouvé !',
'Default' => 'Défaut',
'Deny' => 'Interdire',
'Do you really want to perform this action?' => 'Voulez-vous vraiment effectuer cette action ?',
'Error' => 'Erreur',
'Error while running your last action (Invalid request method).' => 'Erreur lors de l\'exécution de votre dernière action (méthode de demande non valide).',
'Error:' => 'Erreur :',
'Expand' => 'Agrandir',
'Info:' => 'Info :',
'It looks like you may have taken the wrong turn.' => 'Il semble que vous n\'êtes pas au bon endroit.',
'Language' => 'Langue',
'Loading...' => 'Chargement...',
'Login' => 'S\'identifier',
'Logo of {appName}' => 'Logo de {appName}',
'Logout' => 'Se déconnecter',
'Menu' => 'Menu',
'Module is not enabled on this content container!' => 'Le module n\'est pas activé pour ce conteneur !',
'My profile' => 'Mon profil',
'My profile image' => 'Mon image de profil',
'New profile image' => 'Nouvelle image de profil',
'Next' => 'Suivant',
'No error information given.' => 'Aucune information d\'erreur fournie.',
'Oooops...' => 'Oups...',
'Open' => 'Ouvrir',
'Please type at least 3 characters' => 'Merci de taper au moins 3 caractères',
'Profile dropdown' => 'Liste déroulante de profil',
'Profile image of {displayName}' => 'Image de profil de {displayName}',
'Profile picture of {displayName}' => 'Photo de profil de {displayName}',
'Save' => 'Enregistrer',
'Saved' => 'Enregistré',
'Search' => 'Rechercher',
'Show less' => 'Montrer moins',
'Show more' => 'Montrer plus',
'Some files could not be uploaded:' => 'Certains fichiers n\'ont pas pu être téléchargés :',
'Space not found!' => 'Espace non trouvé !',
'The date has to be in the past.' => 'La date doit être révolue.',
'The file has been deleted.' => 'Le fichier a été supprimé.',
'The requested resource could not be found.' => 'Impossible de trouver la ressource demandée.',
'The space has been archived.' => 'L\'espace à été archivé.',
'The space has been unarchived.' => 'L\'espace à été désarchivé.',
'Toggle comment menu' => 'Bascule du menu de commentaire',
'Toggle panel menu' => 'Bascule du menu du panneau',
'Toggle post menu' => 'Bascule du menu de contribution',
'Toggle stream entry menu' => 'Bascule du menu du flux d\'activité',
'Unsubscribe' => 'désinscrition',
'Upload' => 'Ajouter',
'Upload file' => 'Charger un fichier',
'User not found!' => 'Utilisateur non trouvé !',
'You are not allowed to run this action.' => 'Vous n\'êtes pas autorisé à exécuter cette action.',
];
return array (
'<strong>Confirm</strong> Action' => '<strong>Confirmer</strong> l\'opération',
'<strong>Latest</strong> updates' => '<strong>Dernières</strong> mises à jour',
'<strong>Mail</strong> summary' => '<strong>E-mail</strong> résumé',
'Account settings' => 'Paramètres du compte',
'Administration' => 'Administration',
'Allow' => 'Autoriser',
'An error occurred while handling your last action. (Handler not found).' => 'Une erreur s\'est produite lors de la manipulation de votre dernière action. (Gestionnaire introuvable).',
'An unexpected error occurred while loading the search result.' => 'Une erreur inattendue s\'est produite lors du chargement du résultat de la recherche.',
'An unexpected error occurred. If this keeps happening, please contact a site administrator.' => 'Une erreur inattendue est survenue. Si cela se reproduis, contactez un administrateur du site.',
'An unexpected server error occurred. If this keeps happening, please contact a site administrator.' => 'Une erreur de serveur inattendue s\'est produite. Si cela continue, contactez un administrateur du site.',
'An unknown error occurred while uploading.' => 'Une erreur inconnue s\'est produite lors du chargement de fichier.',
'An unknown error occurred while uploading. Hint: check your upload_max_filesize and post_max_size php settings.' => 'Une erreur inconnue s\'est produite lors du chargement de fichier. Astuce : vérifiez les paramètres php upload_max_filesize et post_max_size.',
'Back' => 'Retour',
'Back to dashboard' => 'Retour au tableau de bord',
'Cancel' => 'Annuler',
'Choose language:' => 'Choisir la langue :',
'Close' => 'Fermer',
'Collapse' => 'Réduire',
'Confirm' => 'Confirmer',
'Content Addon source must be instance of HActiveRecordContent or HActiveRecordContentAddon!' => 'Le contenu d\'un add-on doit être une instance de HActiveRecordContent ou HActiveRecordContentAddon !',
'Copy to clipboard' => 'Copier vers le presse-papier',
'Could not determine content container!' => 'Le contenu du conteneur n\'a pas pu être déterminé !',
'Could not find content of addon!' => 'Le contenu du add-on n\'a pu être trouvé !',
'Default' => 'Défaut',
'Deny' => 'Interdire',
'Do you really want to perform this action?' => 'Voulez-vous vraiment effectuer cette action ?',
'Error' => 'Erreur',
'Error while running your last action (Invalid request method).' => 'Erreur lors de l\'exécution de votre dernière action (méthode de demande non valide).',
'Error:' => 'Erreur :',
'Expand' => 'Agrandir',
'Export' => 'Exporter',
'Info:' => 'Info :',
'Invalid request method!' => 'Méthode de requête invalide !',
'It looks like you may have taken the wrong turn.' => 'Il semble que vous n\'êtes pas au bon endroit.',
'Language' => 'Langue',
'Loading...' => 'Chargement...',
'Login' => 'S\'identifier',
'Logo of {appName}' => 'Logo de {appName}',
'Logout' => 'Se déconnecter',
'Menu' => 'Menu',
'Module is not enabled on this content container!' => 'Le module n\'est pas activé pour ce conteneur !',
'My profile' => 'Mon profil',
'My profile image' => 'Mon image de profil',
'New profile image' => 'Nouvelle image de profil',
'Next' => 'Suivant',
'No error information given.' => 'Aucune information d\'erreur fournie.',
'Oooops...' => 'Oups...',
'Open' => 'Ouvrir',
'Please type at least 3 characters' => 'Merci de taper au moins 3 caractères',
'Profile dropdown' => 'Liste déroulante de profil',
'Profile image of {displayName}' => 'Image de profil de {displayName}',
'Profile picture of {displayName}' => 'Photo de profil de {displayName}',
'Save' => 'Enregistrer',
'Saved' => 'Enregistré',
'Search' => 'Rechercher',
'Select Me' => 'Me choisir',
'Show less' => 'Montrer moins',
'Show more' => 'Montrer plus',
'Some files could not be uploaded:' => 'Certains fichiers n\'ont pas pu être téléchargés :',
'Space not found!' => 'Espace non trouvé !',
'The date has to be in the past.' => 'La date doit être révolue.',
'The file has been deleted.' => 'Le fichier a été supprimé.',
'The requested resource could not be found.' => 'Impossible de trouver la ressource demandée.',
'The space has been archived.' => 'L\'espace à été archivé.',
'The space has been unarchived.' => 'L\'espace à été désarchivé.',
'Time Zone' => 'Fuseau horaire',
'Toggle comment menu' => 'Bascule du menu de commentaire',
'Toggle panel menu' => 'Bascule du menu du panneau',
'Toggle post menu' => 'Bascule du menu de contribution',
'Toggle stream entry menu' => 'Bascule du menu du flux d\'activité',
'Unsubscribe' => 'désinscrition',
'Upload' => 'Ajouter',
'Upload file' => 'Charger un fichier',
'User not found!' => 'Utilisateur non trouvé !',
'You are not allowed to run this action.' => 'Vous n\'êtes pas autorisé à exécuter cette action.',
);

View File

@ -1,29 +1,12 @@
<?php
/**
* Message translations.
*
* This file is automatically generated by 'yii message/extract' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
*
* Each array element represents the translation (value) of a message (key).
* If the value is empty, the message is considered as not translated.
* Messages that no longer need translation will have their translations
* enclosed between a pair of '@@' marks.
*
* Message string can be used with plural forms format. Check i18n section
* of the guide for details.
*
* NOTE: this file must be saved in UTF-8 encoding.
*/
return [
'Guest mode not active, please login first.' => '',
'Login required for this section.' => '',
'You are not permitted to access this section.' => '',
'You need admin permissions to access this section.' => '',
'Your user account has not been approved yet, please try again later or contact a network administrator.' => '',
'Your user account is inactive, please login with an active account or contact a network administrator.' => '',
'<strong>Login</strong> required' => '<strong>Indentification</strong> requise',
'An internal server error occurred.' => 'Une erreur interne au serveur est survenue.',
'You are not allowed to perform this action.' => 'Vous n\'êtes pas autorisé à effectuer cette action.',
];
return array (
'<strong>Login</strong> required' => '<strong>Indentification</strong> requise',
'An internal server error occurred.' => 'Une erreur interne au serveur est survenue.',
'Guest mode not active, please login first.' => 'Mode invité inactif, merci de vous identifier d\'abord.',
'Login required for this section.' => 'Identification nécessaire pour accéder à cette section.',
'You are not allowed to perform this action.' => 'Vous n\'êtes pas autorisé à effectuer cette action.',
'You are not permitted to access this section.' => 'Vous n\'avez pas le droit d\'accéder à cette section.',
'You need admin permissions to access this section.' => 'Vous avez besoin des droits administrateur pour accéder à cette section.',
'Your user account has not been approved yet, please try again later or contact a network administrator.' => 'Votre compte utilisateur n\'a pas encore été approuvé, merci de réessayer ultérieurement ou de contacter un administrateur du réseau.',
'Your user account is inactive, please login with an active account or contact a network administrator.' => 'Votre compte d\'utilisateur est inactif, merci de vous connecter avec un autre compte actif ou de contacter un administrateur du réseau.',
);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -65,7 +65,7 @@ class UrlOembed extends \yii\db\ActiveRecord
// Check if the given URL has OEmbed Support
if (UrlOembed::HasOEmbedSupport($url)) {
// Lookup Cached OEmebed Item from Datbase
// Lookup Cached OEmebed Item from Database
$urlOembed = UrlOembed::findOne(['url' => $url]);
if ($urlOembed !== null) {
return $urlOembed->preview;
@ -112,7 +112,7 @@ class UrlOembed extends \yii\db\ActiveRecord
if ($urlOembed->getProviderUrl() != "") {
// Build OEmbed Preview
$jsonOut = UrlOembed::fetchUrl($urlOembed->getProviderUrl());
if ($jsonOut != "") {
if ($jsonOut != "" && $jsonOut != "Unauthorized") {
try {
$data = \yii\helpers\Json::decode($jsonOut);
if (isset($data['html']) && isset($data['type']) && ($data['type'] === "video" || $data['type'] === 'rich' || $data['type'] === 'photo')) {

View File

@ -17,6 +17,6 @@
* NOTE: this file must be saved in UTF-8 encoding.
*/
return [
'You can add an statistics HTML code snippet - which will added to all rendered pags.' => '',
'You can add an statistics HTML code snippet - which will added to all rendered pages.' => '',
'Save' => 'Uložit',
];

View File

@ -17,6 +17,6 @@
* NOTE: this file must be saved in UTF-8 encoding.
*/
return [
'You can add an statistics HTML code snippet - which will added to all rendered pags.' => '',
'You can add an statistics HTML code snippet - which will added to all rendered pages.' => '',
'Save' => 'حفظ',
];

View File

@ -17,6 +17,6 @@
* NOTE: this file must be saved in UTF-8 encoding.
*/
return [
'You can add an statistics HTML code snippet - which will added to all rendered pags.' => '',
'You can add an statistics HTML code snippet - which will added to all rendered pages.' => '',
'Save' => 'Запази',
];

View File

@ -17,6 +17,6 @@
* NOTE: this file must be saved in UTF-8 encoding.
*/
return [
'You can add an statistics HTML code snippet - which will added to all rendered pags.' => '',
'You can add an statistics HTML code snippet - which will added to all rendered pages.' => '',
'Save' => 'Desa',
];

View File

@ -1,5 +1,5 @@
<?php
return array (
'Save' => 'Uložit',
'You can add an statistics HTML code snippet - which will added to all rendered pags.' => 'Můžete přidat kousek HTML kódu, který se přidá ke všem dosavadním stránkám.',
'You can add an statistics HTML code snippet - which will added to all rendered pages.' => 'Můžete přidat kousek HTML kódu, který se přidá ke všem dosavadním stránkám.',
);

View File

@ -17,6 +17,6 @@
* NOTE: this file must be saved in UTF-8 encoding.
*/
return [
'You can add an statistics HTML code snippet - which will added to all rendered pags.' => '',
'You can add an statistics HTML code snippet - which will added to all rendered pages.' => '',
'Save' => 'Gem',
];

View File

@ -1,50 +1,33 @@
<?php
/**
* Message translations.
*
* This file is automatically generated by 'yii message/extract' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
*
* Each array element represents the translation (value) of a message (key).
* If the value is empty, the message is considered as not translated.
* Messages that no longer need translation will have their translations
* enclosed between a pair of '@@' marks.
*
* Message string can be used with plural forms format. Check i18n section
* of the guide for details.
*
* NOTE: this file must be saved in UTF-8 encoding.
*/
return [
'Back to user overview' => '',
'Invite' => '',
'Invited by' => '',
'Pending user registrations' => '',
'Sign up' => '',
'About' => 'Benutzerdetails',
'Add purchased module by licence key' => 'Erworbene Module per Linzenschlüssel hinzufügen',
'Admin' => 'Administrator',
'Administration' => 'Administration',
'Approval' => 'Bestätigung',
'Authentication' => 'Authentifizierung',
'Back to overview' => 'Zurück zur Übersicht',
'Basic' => 'Allgemein',
'Caching' => 'Caching',
'Cronjobs' => 'Cronjobs',
'Design' => 'Design',
'Files' => 'Dateien',
'Groups' => 'Gruppen',
'Logging' => 'Protokollierung',
'Mailing' => 'E-Mails',
'Modules' => 'Module',
'OEmbed providers' => 'OEmbed-Provider',
'Proxy' => 'Proxy',
'Security' => 'Sicherheit',
'Self test' => 'Selbsttest',
'Spaces' => 'Spaces',
'Statistics' => 'Statistiken',
'User posts' => 'Benutzerbeiträge',
'Userprofiles' => 'Benutzerprofile',
'Users' => 'Benutzer',
];
return array (
'About' => 'Benutzerdetails',
'Add purchased module by licence key' => 'Erworbene Module per Linzenschlüssel hinzufügen',
'Admin' => 'Administrator',
'Administration' => 'Administration',
'Approval' => 'Bestätigung',
'Authentication' => 'Authentifizierung',
'Back to overview' => 'Zurück zur Übersicht',
'Back to user overview' => 'Zurück zur Benutzerübersicht',
'Basic' => 'Allgemein',
'Caching' => 'Caching',
'Cronjobs' => 'Cronjobs',
'Design' => 'Design',
'Files' => 'Dateien',
'Groups' => 'Gruppen',
'Invite' => 'Einladen',
'Invited by' => 'Eingeladen von',
'Logging' => 'Protokollierung',
'Mailing' => 'E-Mails',
'Modules' => 'Module',
'OEmbed providers' => 'OEmbed-Provider',
'Pending user registrations' => 'Ausstehende Benutzerregistrierungen',
'Proxy' => 'Proxy',
'Security' => 'Sicherheit',
'Self test' => 'Selbsttest',
'Sign up' => 'Anmelden',
'Spaces' => 'Spaces',
'Statistics' => 'Statistiken',
'User posts' => 'Benutzerbeiträge',
'Userprofiles' => 'Benutzerprofile',
'Users' => 'Benutzer',
);

View File

@ -1,5 +1,5 @@
<?php
return array (
'Save' => 'Speichern',
'You can add an statistics HTML code snippet - which will added to all rendered pags.' => 'Du kannst HTML Code für Statistiken hinzufügen, der zu allen generierten Seiten hinzugefügt wird.',
'You can add an statistics HTML code snippet - which will added to all rendered pages.' => 'Du kannst HTML Code für Statistiken hinzufügen, der zu allen generierten Seiten hinzugefügt wird.',
);

View File

@ -17,6 +17,6 @@
* NOTE: this file must be saved in UTF-8 encoding.
*/
return [
'You can add an statistics HTML code snippet - which will added to all rendered pags.' => '',
'You can add an statistics HTML code snippet - which will added to all rendered pages.' => '',
'Save' => 'Αποθήκευση',
];

View File

@ -1,5 +1,5 @@
<?php
return array (
'Save' => 'Guardar',
'You can add an statistics HTML code snippet - which will added to all rendered pags.' => 'Puede agregar un fragmento de código HTML de estadísticas, que se agregará a todas las páginas renderizadas.',
'You can add an statistics HTML code snippet - which will added to all rendered pages.' => 'Puede agregar un fragmento de código HTML de estadísticas, que se agregará a todas las páginas renderizadas.',
);

View File

@ -17,6 +17,6 @@
* NOTE: this file must be saved in UTF-8 encoding.
*/
return [
'You can add an statistics HTML code snippet - which will added to all rendered pags.' => '',
'You can add an statistics HTML code snippet - which will added to all rendered pages.' => '',
'Save' => 'ذخیره',
];

View File

@ -1,50 +1,33 @@
<?php
/**
* Message translations.
*
* This file is automatically generated by 'yii message/extract' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
*
* Each array element represents the translation (value) of a message (key).
* If the value is empty, the message is considered as not translated.
* Messages that no longer need translation will have their translations
* enclosed between a pair of '@@' marks.
*
* Message string can be used with plural forms format. Check i18n section
* of the guide for details.
*
* NOTE: this file must be saved in UTF-8 encoding.
*/
return [
'Back to user overview' => '',
'Invite' => '',
'Invited by' => '',
'Pending user registrations' => '',
'Sign up' => '',
'About' => 'À propos',
'Add purchased module by licence key' => 'Ajouter un module acheté par sa clé de licence',
'Admin' => 'Admin',
'Administration' => 'Administration',
'Approval' => 'Approbation',
'Authentication' => 'Authentification',
'Back to overview' => 'Retour à l\'aperçu',
'Basic' => 'Général',
'Caching' => 'Cache',
'Cronjobs' => 'Cronjobs',
'Design' => 'Design',
'Files' => 'Fichiers',
'Groups' => 'Groupes',
'Logging' => 'Journaux',
'Mailing' => 'Envoi d\'e-mail',
'Modules' => 'Modules',
'OEmbed providers' => 'Fournisseurs OEmbed',
'Proxy' => 'Serveur Proxy',
'Security' => 'Sécurité',
'Self test' => 'Tests automatiques',
'Spaces' => 'Espaces',
'Statistics' => 'Statistiques',
'User posts' => 'Contenus de l\'utilisateur',
'Userprofiles' => 'Profils utilisateur',
'Users' => 'Utilisateurs',
];
return array (
'About' => 'À propos',
'Add purchased module by licence key' => 'Ajouter un module acheté par sa clé de licence',
'Admin' => 'Admin',
'Administration' => 'Administration',
'Approval' => 'Approbation',
'Authentication' => 'Authentification',
'Back to overview' => 'Retour à l\'aperçu',
'Back to user overview' => 'Retour ',
'Basic' => 'Général',
'Caching' => 'Cache',
'Cronjobs' => 'Cronjobs',
'Design' => 'Design',
'Files' => 'Fichiers',
'Groups' => 'Groupes',
'Invite' => 'Invitation',
'Invited by' => 'Invité par',
'Logging' => 'Journaux',
'Mailing' => 'Envoi d\'e-mail',
'Modules' => 'Modules',
'OEmbed providers' => 'Fournisseurs OEmbed',
'Pending user registrations' => 'Inscriptions utilisateur en attente',
'Proxy' => 'Serveur Proxy',
'Security' => 'Sécurité',
'Self test' => 'Tests automatiques',
'Sign up' => 'S\'inscrire',
'Spaces' => 'Espaces',
'Statistics' => 'Statistiques',
'User posts' => 'Contenus de l\'utilisateur',
'Userprofiles' => 'Profils utilisateur',
'Users' => 'Utilisateurs',
);

View File

@ -1,34 +1,17 @@
<?php
/**
* Message translations.
*
* This file is automatically generated by 'yii message/extract' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
*
* Each array element represents the translation (value) of a message (key).
* If the value is empty, the message is considered as not translated.
* Messages that no longer need translation will have their translations
* enclosed between a pair of '@@' marks.
*
* Message string can be used with plural forms format. Check i18n section
* of the guide for details.
*
* NOTE: this file must be saved in UTF-8 encoding.
*/
return [
'ID Attribute' => '',
'Not changeable LDAP attribute to unambiguously identify the user in the directory. If empty the user will be determined automatically by e-mail address or username. Examples: objectguid (ActiveDirectory) or uidNumber (OpenLDAP)' => '',
'Base DN' => 'Base DN',
'E-Mail Address Attribute' => 'Attribut d\'adresse e-mail',
'Enable LDAP Support' => 'Activer le support LDAP',
'Encryption' => 'Chiffrement',
'Fetch/Update Users Automatically' => 'Récupérer/mettre à jour les utilisateurs automatiquement',
'Hostname' => 'Nom d\'hôte',
'Login Filter' => 'Filtre Login',
'Password' => 'Mot de passe',
'Port' => 'Port',
'User Filer' => 'Filtre utilisateur',
'Username' => 'Nom d\'utilisateur',
'Username Attribute' => 'Attribut utilisateur',
];
return array (
'Base DN' => 'Base DN',
'E-Mail Address Attribute' => 'Attribut d\'adresse e-mail',
'Enable LDAP Support' => 'Activer le support LDAP',
'Encryption' => 'Chiffrement',
'Fetch/Update Users Automatically' => 'Récupérer/mettre à jour les utilisateurs automatiquement',
'Hostname' => 'Nom d\'hôte',
'ID Attribute' => 'ID d\'attribut',
'Login Filter' => 'Filtre Login',
'Not changeable LDAP attribute to unambiguously identify the user in the directory. If empty the user will be determined automatically by e-mail address or username. Examples: objectguid (ActiveDirectory) or uidNumber (OpenLDAP)' => '',
'Password' => 'Mot de passe',
'Port' => 'Port',
'User Filer' => 'Filtre utilisateur',
'Username' => 'Nom d\'utilisateur',
'Username Attribute' => 'Attribut utilisateur',
);

View File

@ -1,24 +1,7 @@
<?php
/**
* Message translations.
*
* This file is automatically generated by 'yii message/extract' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
*
* Each array element represents the translation (value) of a message (key).
* If the value is empty, the message is considered as not translated.
* Messages that no longer need translation will have their translations
* enclosed between a pair of '@@' marks.
*
* Message string can be used with plural forms format. Check i18n section
* of the guide for details.
*
* NOTE: this file must be saved in UTF-8 encoding.
*/
return [
'The following list contains all pending sign-ups and invites.' => '',
'Actions' => 'Actions',
'Pending user approvals' => 'Approbations d\'utilisateur en attente',
'The following list contains all registered users awaiting an approval.' => 'La liste suivante contient tous les utilisateurs inscrits qui attendent d\'être approuvés.',
];
return array (
'Actions' => 'Actions',
'Pending user approvals' => 'Approbations d\'utilisateur en attente',
'The following list contains all pending sign-ups and invites.' => 'La liste suivante contient toutes les inscriptions en attente et les invitations.',
'The following list contains all registered users awaiting an approval.' => 'La liste suivante contient tous les utilisateurs inscrits qui attendent d\'être approuvés.',
);

View File

@ -1,5 +1,5 @@
<?php
return array (
'Save' => 'Enregistrer',
'You can add an statistics HTML code snippet - which will added to all rendered pags.' => 'Vous pouvez ajouter un extrait de code HTML de statistiques - qui sera ajouté à toutes les pages rendues.',
'You can add an statistics HTML code snippet - which will added to all rendered pages.' => 'Vous pouvez ajouter un extrait de code HTML de statistiques - qui sera ajouté à toutes les pages rendues.',
);

View File

@ -1,5 +1,5 @@
<?php
return array (
'Save' => 'Spremi',
'You can add an statistics HTML code snippet - which will added to all rendered pags.' => '',
'You can add an statistics HTML code snippet - which will added to all rendered pages.' => '',
);

View File

@ -1,5 +1,5 @@
<?php
return array (
'Save' => 'Sere',
'You can add an statistics HTML code snippet - which will added to all rendered pags.' => '',
'You can add an statistics HTML code snippet - which will added to all rendered pages.' => '',
);

View File

@ -1,5 +1,5 @@
<?php
return array (
'Save' => 'Mentés',
'You can add an statistics HTML code snippet - which will added to all rendered pags.' => '',
'You can add an statistics HTML code snippet - which will added to all rendered pages.' => '',
);

View File

@ -17,6 +17,6 @@
* NOTE: this file must be saved in UTF-8 encoding.
*/
return [
'You can add an statistics HTML code snippet - which will added to all rendered pags.' => '',
'You can add an statistics HTML code snippet - which will added to all rendered pages.' => '',
'Save' => 'Simpan',
];

View File

@ -17,6 +17,6 @@
* NOTE: this file must be saved in UTF-8 encoding.
*/
return [
'You can add an statistics HTML code snippet - which will added to all rendered pags.' => '',
'You can add an statistics HTML code snippet - which will added to all rendered pages.' => '',
'Save' => 'Salva',
];

View File

@ -17,6 +17,6 @@
* NOTE: this file must be saved in UTF-8 encoding.
*/
return [
'You can add an statistics HTML code snippet - which will added to all rendered pags.' => '',
'You can add an statistics HTML code snippet - which will added to all rendered pages.' => '',
'Save' => '保存',
];

View File

@ -18,5 +18,5 @@
*/
return [
'Save' => '',
'You can add an statistics HTML code snippet - which will added to all rendered pags.' => '',
'You can add an statistics HTML code snippet - which will added to all rendered pages.' => '',
];

View File

@ -17,6 +17,6 @@
* NOTE: this file must be saved in UTF-8 encoding.
*/
return [
'You can add an statistics HTML code snippet - which will added to all rendered pags.' => '',
'You can add an statistics HTML code snippet - which will added to all rendered pages.' => '',
'Save' => 'Išsaugoti',
];

View File

@ -1,5 +1,5 @@
<?php
return array (
'Save' => 'Saglabāt',
'You can add an statistics HTML code snippet - which will added to all rendered pags.' => '',
'You can add an statistics HTML code snippet - which will added to all rendered pages.' => '',
);

View File

@ -17,6 +17,6 @@
* NOTE: this file must be saved in UTF-8 encoding.
*/
return [
'You can add an statistics HTML code snippet - which will added to all rendered pags.' => '',
'You can add an statistics HTML code snippet - which will added to all rendered pages.' => '',
'Save' => 'Lagre',
];

View File

@ -1,5 +1,5 @@
<?php
return array (
'Save' => 'Bewaar',
'You can add an statistics HTML code snippet - which will added to all rendered pags.' => 'U kunt een statistieken HTML code toevoegen die aan alle pagina\'s toegevoegd zal worden.',
'You can add an statistics HTML code snippet - which will added to all rendered pages.' => 'U kunt een statistieken HTML code toevoegen die aan alle pagina\'s toegevoegd zal worden.',
);

View File

@ -17,6 +17,6 @@
* NOTE: this file must be saved in UTF-8 encoding.
*/
return [
'You can add an statistics HTML code snippet - which will added to all rendered pags.' => '',
'You can add an statistics HTML code snippet - which will added to all rendered pages.' => '',
'Save' => 'Zapisz',
];

View File

@ -17,6 +17,6 @@
* NOTE: this file must be saved in UTF-8 encoding.
*/
return [
'You can add an statistics HTML code snippet - which will added to all rendered pags.' => '',
'You can add an statistics HTML code snippet - which will added to all rendered pages.' => '',
'Save' => 'Guardar',
];

View File

@ -1,5 +1,5 @@
<?php
return array (
'Save' => 'Salvar',
'You can add an statistics HTML code snippet - which will added to all rendered pags.' => 'Você pode incluir um código HTML de Rastreamento que será adiconado à todas as páginas.',
'You can add an statistics HTML code snippet - which will added to all rendered pages.' => 'Você pode incluir um código HTML de Rastreamento que será adiconado à todas as páginas.',
);

View File

@ -17,6 +17,6 @@
* NOTE: this file must be saved in UTF-8 encoding.
*/
return [
'You can add an statistics HTML code snippet - which will added to all rendered pags.' => '',
'You can add an statistics HTML code snippet - which will added to all rendered pages.' => '',
'Save' => 'Salvează',
];

View File

@ -18,5 +18,5 @@
*/
return [
'Save' => 'Сохранить',
'You can add an statistics HTML code snippet - which will added to all rendered pags.' => 'Вы можете вставить код для сбора статистики, который будет добавлен на все страницы. '
'You can add an statistics HTML code snippet - which will added to all rendered pages.' => 'Вы можете вставить код для сбора статистики, который будет добавлен на все страницы. '
];

View File

@ -18,5 +18,5 @@
*/
return [
'Save' => '',
'You can add an statistics HTML code snippet - which will added to all rendered pags.' => '',
'You can add an statistics HTML code snippet - which will added to all rendered pages.' => '',
];

View File

@ -17,6 +17,6 @@
* NOTE: this file must be saved in UTF-8 encoding.
*/
return [
'You can add an statistics HTML code snippet - which will added to all rendered pags.' => '',
'You can add an statistics HTML code snippet - which will added to all rendered pages.' => '',
'Save' => 'Spara',
];

View File

@ -17,6 +17,6 @@
* NOTE: this file must be saved in UTF-8 encoding.
*/
return [
'You can add an statistics HTML code snippet - which will added to all rendered pags.' => '',
'You can add an statistics HTML code snippet - which will added to all rendered pages.' => '',
'Save' => 'บันทึก',
];

View File

@ -1,5 +1,5 @@
<?php
return array (
'Save' => 'Kaydet',
'You can add an statistics HTML code snippet - which will added to all rendered pags.' => 'İşlenmiş tüm sayfalara eklenecek bir istatistik HTML kodu snippet\'i ekleyebilirsiniz.',
'You can add an statistics HTML code snippet - which will added to all rendered pages.' => 'İşlenmiş tüm sayfalara eklenecek bir istatistik HTML kodu snippet\'i ekleyebilirsiniz.',
);

View File

@ -18,5 +18,5 @@
*/
return [
'Save' => '',
'You can add an statistics HTML code snippet - which will added to all rendered pags.' => '',
'You can add an statistics HTML code snippet - which will added to all rendered pages.' => '',
];

View File

@ -18,5 +18,5 @@
*/
return [
'Save' => '',
'You can add an statistics HTML code snippet - which will added to all rendered pags.' => '',
'You can add an statistics HTML code snippet - which will added to all rendered pages.' => '',
];

View File

@ -18,5 +18,5 @@
*/
return [
'Save' => '',
'You can add an statistics HTML code snippet - which will added to all rendered pags.' => '',
'You can add an statistics HTML code snippet - which will added to all rendered pages.' => '',
];

View File

@ -17,6 +17,6 @@
* NOTE: this file must be saved in UTF-8 encoding.
*/
return [
'You can add an statistics HTML code snippet - which will added to all rendered pags.' => '你可以添加一个统计HTML代码段此代码段将添加到所有的渲染页。',
'You can add an statistics HTML code snippet - which will added to all rendered pages.' => '你可以添加一个统计HTML代码段此代码段将添加到所有的渲染页。',
'Save' => '保存',
];

View File

@ -17,6 +17,6 @@
* NOTE: this file must be saved in UTF-8 encoding.
*/
return [
'You can add an statistics HTML code snippet - which will added to all rendered pags.' => '',
'You can add an statistics HTML code snippet - which will added to all rendered pages.' => '',
'Save' => '儲存',
];

View File

@ -5,7 +5,7 @@ use humhub\compat\CHtml;
?>
<?php $this->beginContent('@admin/views/setting/_advancedLayout.php') ?>
<p><?= Yii::t('AdminModule.views_setting_statistic', 'You can add an statistics HTML code snippet - which will added to all rendered pags.')?></p>
<p><?= Yii::t('AdminModule.views_setting_statistic', 'You can add an statistics HTML code snippet - which will added to all rendered pages.')?></p>
<br>
<?php $form = CActiveForm::begin(); ?>

View File

@ -84,15 +84,13 @@ class Events extends \yii\base\Object
*/
public static function onSearchRebuild($event)
{
foreach (Content::find()->batch() as $contents) {
foreach ($contents as $content) {
foreach (Content::find()->each() as $content) {
$contentObject = $content->getPolymorphicRelation();
if ($contentObject instanceof \humhub\modules\search\interfaces\Searchable) {
Yii::$app->search->add($contentObject);
}
}
}
}
/**
* After a components\ContentActiveRecord was saved

View File

@ -58,14 +58,17 @@ class ActiveQueryContent extends \yii\db\ActiveQuery
$conditionSpace .= ')';
// Build Access Check based on User Content Container
$conditionUser = 'cuser.id IS NOT NULL AND ('; // space content
$conditionUser = 'cuser.id IS NOT NULL AND ('; // user content
$conditionUser .= ' (content.visibility = 1) OR'; // public visible content
$conditionUser .= ' (content.visibility = 0 AND content.created_by=' . $user->id . ')'; // private content of user
$conditionUser .= ' (content.visibility = 0 AND content.contentcontainer_id=' . $user->contentContainerRecord->id . ')'; // private content of user
if (Yii::$app->getModule('friendship')->getIsEnabled()) {
$this->leftJoin('user_friendship cff', 'cuser.id=cff.user_id AND cff.friend_user_id=:fuid', [':fuid' => $user->id]);
$conditionUser .= ' OR (content.visibility = 0 AND cff.id IS NOT NULL)'; // users are friends
}
$conditionUser .= ')';
// Created content of is always visible
$conditionUser .= 'OR content.created_by=' . $user->id;
$this->andWhere("{$conditionSpace} OR {$conditionUser}");
} else {

View File

@ -85,7 +85,7 @@ class ContentContainerSettingsManager extends BaseSettingsManager
*/
protected function getCacheKey()
{
return parent::getCacheKey() . '-' . $this->contentContainer->id;
return parent::getCacheKey() . '-' . $this->contentContainer->contentcontainer_id;
}
}

View File

@ -1,24 +1,7 @@
<?php
/**
* Message translations.
*
* This file is automatically generated by 'yii message/extract' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
*
* Each array element represents the translation (value) of a message (key).
* If the value is empty, the message is considered as not translated.
* Messages that no longer need translation will have their translations
* enclosed between a pair of '@@' marks.
*
* Message string can be used with plural forms format. Check i18n section
* of the guide for details.
*
* NOTE: this file must be saved in UTF-8 encoding.
*/
return [
'Content Tag with invalid contentcontainer_id assigned.' => '',
'This space is not visible!' => '',
'Content' => 'Inhalte',
'Updated' => 'Aktualisiert',
];
return array (
'Content' => 'Inhalte',
'Content Tag with invalid contentcontainer_id assigned.' => 'Content Tag mit ungültiger contentcontainer_id zugewiesen.',
'This space is not visible!' => 'Dieser Space ist nicht sichtbar!',
'Updated' => 'Aktualisiert',
);

View File

@ -1,22 +1,5 @@
<?php
/**
* Message translations.
*
* This file is automatically generated by 'yii message/extract' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
*
* Each array element represents the translation (value) of a message (key).
* If the value is empty, the message is considered as not translated.
* Messages that no longer need translation will have their translations
* enclosed between a pair of '@@' marks.
*
* Message string can be used with plural forms format. Check i18n section
* of the guide for details.
*
* NOTE: this file must be saved in UTF-8 encoding.
*/
return [
'Tag' => '',
'The given name is already in use.' => '',
];
return array (
'Tag' => '',
'The given name is already in use.' => 'Der eingegebene Name wird bereits verwendet.',
);

View File

@ -1,24 +1,7 @@
<?php
/**
* Message translations.
*
* This file is automatically generated by 'yii message/extract' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
*
* Each array element represents the translation (value) of a message (key).
* If the value is empty, the message is considered as not translated.
* Messages that no longer need translation will have their translations
* enclosed between a pair of '@@' marks.
*
* Message string can be used with plural forms format. Check i18n section
* of the guide for details.
*
* NOTE: this file must be saved in UTF-8 encoding.
*/
return [
'Content Tag with invalid contentcontainer_id assigned.' => '',
'This space is not visible!' => '',
'Content' => 'Contenu',
'Updated' => 'Mis à jour',
];
return array (
'Content' => 'Contenu',
'Content Tag with invalid contentcontainer_id assigned.' => 'Mot-clé de contenu associé à un contentcontainer_id invalide. ',
'This space is not visible!' => 'Cet espace n\'est pas visible !',
'Updated' => 'Mis à jour',
);

View File

@ -1,22 +1,5 @@
<?php
/**
* Message translations.
*
* This file is automatically generated by 'yii message/extract' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
*
* Each array element represents the translation (value) of a message (key).
* If the value is empty, the message is considered as not translated.
* Messages that no longer need translation will have their translations
* enclosed between a pair of '@@' marks.
*
* Message string can be used with plural forms format. Check i18n section
* of the guide for details.
*
* NOTE: this file must be saved in UTF-8 encoding.
*/
return [
'Tag' => '',
'The given name is already in use.' => '',
];
return array (
'Tag' => 'Mot-clé',
'The given name is already in use.' => 'Le nom est déjà utilisé.',
);

View File

@ -1,21 +1,4 @@
<?php
/**
* Message translations.
*
* This file is automatically generated by 'yii message/extract' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
*
* Each array element represents the translation (value) of a message (key).
* If the value is empty, the message is considered as not translated.
* Messages that no longer need translation will have their translations
* enclosed between a pair of '@@' marks.
*
* Message string can be used with plural forms format. Check i18n section
* of the guide for details.
*
* NOTE: this file must be saved in UTF-8 encoding.
*/
return [
'None' => '',
];
return array (
'None' => 'Aucun',
);

View File

@ -38,7 +38,7 @@ class GroupUsers extends Widget
*/
public function run()
{
$users = $this->group->getUsers()->active()->limit($this->maxUsers + 1)->joinWith('profile')->orderBy(['profile.lastname' => SORT_ASC])->all();
$users = $this->group->getUsers()->visible()->limit($this->maxUsers + 1)->joinWith('profile')->orderBy(['profile.lastname' => SORT_ASC])->all();
if (count($users) === 0) {

View File

@ -22,7 +22,7 @@ class MemberStatistics extends \yii\base\Widget
{
// Some member stats
$statsTotalUsers = User::find()->active()->count();
$statsTotalUsers = User::find()->visible()->count();
$statsUserOnline = \humhub\modules\user\components\Session::getOnlineUsers()->count();
$statsUserFollow = Follow::find()->where(['object_model' => User::className()])->count();

View File

@ -51,7 +51,7 @@ class NewMembers extends \yii\base\Widget
*/
public function run()
{
$newUsers = User::find()->orderBy('created_at DESC')->active();
$newUsers = User::find()->orderBy('created_at DESC')->visible();
return $this->render('newMembers', [
'newUsers' => $newUsers,

View File

@ -8,6 +8,7 @@
namespace humhub\modules\file\handler;
use humhub\modules\file\libs\FileHelper;
use Yii;
use yii\helpers\Url;
@ -33,6 +34,10 @@ class DownloadFileHandler extends BaseFileHandler
return [
'label' => Yii::t('FileModule.base', 'Download') . ' <small>(' . Yii::$app->formatter->asShortSize($this->file->size, 1) . ')</small>',
'href' => self::getUrl($this->file),
'data-file-download' => true,
'data-file-url' => self::getUrl($this->file, 1, true),
'data-file-name' => $this->file->file_name,
'data-file-mime' => $this->file->mime_type,
'target' => '_blank',
];
}

View File

@ -1,23 +1,6 @@
<?php
/**
* Message translations.
*
* This file is automatically generated by 'yii message/extract' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
*
* Each array element represents the translation (value) of a message (key).
* If the value is empty, the message is considered as not translated.
* Messages that no longer need translation will have their translations
* enclosed between a pair of '@@' marks.
*
* Message string can be used with plural forms format. Check i18n section
* of the guide for details.
*
* NOTE: this file must be saved in UTF-8 encoding.
*/
return [
'Sorry, you can only upload up to {n,plural,=1{# file} other{# files}} at once.' => '',
'This upload field only allows a maximum of {n,plural,=1{# file} other{# files}}.' => 'Dieses Feld erlaubt nur das Hochladen von maximal {n,plural,=1{# file} other{# files}}.
return array (
'Sorry, you can only upload up to {n,plural,=1{# file} other{# files}} at once.' => 'Sorry, du kannst nur bis zu {n,plural,=1{# file} other{# files}} auf einmal hochladen.',
'This upload field only allows a maximum of {n,plural,=1{# file} other{# files}}.' => 'Dieses Feld erlaubt nur das Hochladen von maximal {n,plural,=1{# file} other{# files}}.
',
];
);

View File

@ -1,22 +1,5 @@
<?php
/**
* Message translations.
*
* This file is automatically generated by 'yii message/extract' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
*
* Each array element represents the translation (value) of a message (key).
* If the value is empty, the message is considered as not translated.
* Messages that no longer need translation will have their translations
* enclosed between a pair of '@@' marks.
*
* Message string can be used with plural forms format. Check i18n section
* of the guide for details.
*
* NOTE: this file must be saved in UTF-8 encoding.
*/
return [
'Sorry, you can only upload up to {n,plural,=1{# file} other{# files}} at once.' => '',
'This upload field only allows a maximum of {n,plural,=1{# file} other{# files}}.' => 'Ce champ ne permet de transférer que {n,plural,=1{# fichier} other{# fichiers}} au maximum.',
];
return array (
'Sorry, you can only upload up to {n,plural,=1{# file} other{# files}} at once.' => 'Désolé, vous ne pouvez transférer {n,plural,=1{qu\'un seul fichier} other{que # fichiers}} à la fois.',
'This upload field only allows a maximum of {n,plural,=1{# file} other{# files}}.' => 'Ce champ ne permet de transférer que {n,plural,=1{# fichier} other{# fichiers}} au maximum.',
);

View File

@ -33,6 +33,7 @@ use humhub\modules\content\components\ContentAddonActiveRecord;
* @property integer $show_in_stream
*
* @property \humhub\modules\user\models\User $createdBy
* @property \humhub\modules\file\components\StorageManager $store
*
* Following properties are optional and for module depended use:
* - title
@ -187,7 +188,7 @@ class File extends FileCompat
$this->_store = Yii::createObject(Yii::$app->getModule('file')->storageManagerClass);
$this->_store->setFile($this);
}
return $this->_store;
}

View File

@ -1,34 +1,17 @@
<?php
/**
* Message translations.
*
* This file is automatically generated by 'yii message/extract' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
*
* Each array element represents the translation (value) of a message (key).
* If the value is empty, the message is considered as not translated.
* Messages that no longer need translation will have their translations
* enclosed between a pair of '@@' marks.
*
* Message string can be used with plural forms format. Check i18n section
* of the guide for details.
*
* NOTE: this file must be saved in UTF-8 encoding.
*/
return [
'Actions' => '',
'<strong>My</strong> friends' => '<strong>Mes</strong> amis',
'<strong>Pending</strong> friend requests' => 'Demandes d\'amitié <strong>en attente</strong>',
'<strong>Sent</strong> friend requests' => 'Demandes d\'amitié <strong>envoyées</strong>',
'Accept Friend Request' => 'Accepter la demande d\'amitié',
'Add Friend' => 'Ajouter un ami',
'Cancel friend request' => 'Annuler la demande d\'amitié',
'Deny friend request' => 'Refuser la demande d\'amitié',
'Friends' => 'Amis',
'Friendship' => 'Amitié',
'Requests' => 'Demandes',
'Sent requests' => 'Demandes envoyées',
'Show all friends' => 'Montrer tous les amis',
'Unfriend' => 'Enlever des amis',
];
return array (
'<strong>My</strong> friends' => '<strong>Mes</strong> amis',
'<strong>Pending</strong> friend requests' => 'Demandes d\'amitié <strong>en attente</strong>',
'<strong>Sent</strong> friend requests' => 'Demandes d\'amitié <strong>envoyées</strong>',
'Accept Friend Request' => 'Accepter la demande d\'amitié',
'Actions' => 'Actions',
'Add Friend' => 'Ajouter un ami',
'Cancel friend request' => 'Annuler la demande d\'amitié',
'Deny friend request' => 'Refuser la demande d\'amitié',
'Friends' => 'Amis',
'Friendship' => 'Amitié',
'Requests' => 'Demandes',
'Sent requests' => 'Demandes envoyées',
'Show all friends' => 'Montrer tous les amis',
'Unfriend' => 'Enlever des amis',
);

View File

@ -92,8 +92,8 @@ class Module extends \humhub\components\Module
// Include friends
if (Yii::$app->getModule('friendship')->isEnabled) {
foreach (Friendship::getFriendsQuery($user)->all() as $user) {
$legitimation[Content::VISIBILITY_PRIVATE][] = $user->contentContainerRecord->id;
foreach (Friendship::getFriendsQuery($user)->all() as $friend) {
$legitimation[Content::VISIBILITY_PRIVATE][] = $friend->contentContainerRecord->id;
}
}

View File

@ -66,6 +66,17 @@ abstract class BaseNotification extends SocialActivity
*/
public $recordClass = Notification::class;
/**
* Priority flag, if set to true, this Notification type will be marked as high priority.
* This can be used by a given BaseTarget while handling a Notification.
*
* A MobileTargetProvider for example could use this flag for Android devices to wake up the device out of doze mode.
*
* @var bool if set to true marks this notification type as high priority.
* @since 1.2.3
*/
public $priority = false;
/**
* Returns the notification category instance. If no category class is set (default) the default notification settings
* can't be overwritten.

View File

@ -124,10 +124,6 @@ class NotificationManager
}
}
if ($user === null) {
return $this->_targets;
}
$userTargets = [];
foreach ($this->_targets as $target) {
if ($target->isActive($user)) {

View File

@ -1,21 +1,4 @@
<?php
/**
* Message translations.
*
* This file is automatically generated by 'yii message/extract' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
*
* Each array element represents the translation (value) of a message (key).
* If the value is empty, the message is considered as not translated.
* Messages that no longer need translation will have their translations
* enclosed between a pair of '@@' marks.
*
* Message string can be used with plural forms format. Check i18n section
* of the guide for details.
*
* NOTE: this file must be saved in UTF-8 encoding.
*/
return [
'The requested content is not valid or was removed!' => '',
];
return array (
'The requested content is not valid or was removed!' => 'Le contenu demandé n\'est pas valide ou a été supprimé !',
);

View File

@ -1,23 +1,6 @@
<?php
/**
* Message translations.
*
* This file is automatically generated by 'yii message/extract' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
*
* Each array element represents the translation (value) of a message (key).
* If the value is empty, the message is considered as not translated.
* Messages that no longer need translation will have their translations
* enclosed between a pair of '@@' marks.
*
* Message string can be used with plural forms format. Check i18n section
* of the guide for details.
*
* NOTE: this file must be saved in UTF-8 encoding.
*/
return [
'Mobile' => '',
'E-Mail' => 'e-mail',
'Web' => 'Web',
];
return array (
'E-Mail' => 'E-mail',
'Mobile' => 'Mobile',
'Web' => 'Web',
);

View File

@ -2,6 +2,7 @@
namespace humhub\modules\notification\models\forms;
use humhub\modules\notification\components\NotificationCategory;
use Yii;
use humhub\modules\notification\targets\BaseTarget;
@ -124,9 +125,9 @@ class NotificationSettings extends \yii\base\Model
/**
* Returns the field name for the given category/target combination.
*
* @param type $category
* @param type $target
* @return type
* @param NotificationCategory $category
* @param BaseTarget $target
* @return string
*/
public function getSettingFormname($category, $target)
{

View File

@ -1,7 +1,10 @@
<?php
namespace humhub\modules\notification\widgets;
use humhub\modules\notification\models\forms\NotificationSettings;
use humhub\modules\space\models\Space;
use Yii;
use yii\widgets\ActiveForm;
/**
* Description of NotificationSettingForm
@ -11,23 +14,23 @@ use Yii;
class NotificationSettingsForm extends \yii\base\Widget
{
/**
* @var \yii\widgets\ActiveForm
* @var ActiveForm
*/
public $form;
/**
* @var \humhub\modules\notification\models\forms\NotificationSettings
* @var NotificationSettings
*/
public $model;
/**
* @var type
* @var boolean
*/
public $showSpaces = true;
/**
* Spaces which should be added by default to the space chooser result as suggestion
* @var type
* @var Space[]
*/
private $defaultSpaces = [];

View File

@ -1,8 +1,10 @@
<?php
/* @var $model \humhub\modules\notification\models\forms\NotificationSettings */
/* @var $form yii\widgets\ActiveForm */
/* @var $showSpaces boolean */
/* @var $defaultSpaces \humhub\modules\space\models\Space[] */
use yii\bootstrap\Html
use yii\bootstrap\Html;
?>
<br />
@ -37,6 +39,7 @@ use yii\bootstrap\Html
<strong><?= $category->getTitle() ?></strong><br />
<?= $category->getDescription() ?>
</td>
<?php foreach ($model->targets() as $target): ?>
<td class="text-center">
<?php $disabled = !$target->isEditable($model->user) || $category->isFixedSetting($target) ?>
@ -44,7 +47,7 @@ use yii\bootstrap\Html
</td>
<?php endforeach; ?>
</div>
</tr>
<?php endforeach; ?>
</tbody>
</table>

View File

@ -28,10 +28,8 @@ class Events extends \yii\base\Object
*/
public static function onSearchRebuild($event)
{
foreach (Space::find()->batch() as $spaces) {
foreach ($spaces as $space) {
Yii::$app->search->add($space);
}
foreach (Space::find()->each() as $space) {
Yii::$app->search->add($space);
}
}

View File

@ -50,8 +50,10 @@ class MembershipController extends \humhub\modules\content\components\ContentCon
Yii::$app->response->format = 'json';
$space = $this->getSpace();
if (!$space->isMember()) {
$visibility = (int)$space->visibility;
if ($visibility === Space::VISIBILITY_NONE && !$space->isMember() ||
($visibility === Space::VISIBILITY_REGISTERED_ONLY && Yii::$app->user->isGuest)
) {
throw new HttpException(404, Yii::t('SpaceModule.controllers_SpaceController', 'This action is only available for workspace members!'));
}
@ -128,14 +130,14 @@ class MembershipController extends \humhub\modules\content\components\ContentCon
return $this->renderAjax('requestMembership', ['model' => $model, 'space' => $space]);
}
public function actionRevokeNotifications()
{
$space = $this->getSpace();
Yii::$app->notification->setSpaceSetting(Yii::$app->user->getIdentity(), $space, false);
return $this->redirect($space->getUrl());
}
public function actionReceiveNotifications()
{
$space = $this->getSpace();
@ -265,7 +267,7 @@ class MembershipController extends \humhub\modules\content\components\ContentCon
$title = Yii::t('SpaceModule.controllers_MembershipController', "<strong>Members</strong>");
return $this->renderAjaxContent(UserListBox::widget([
'query' => Membership::getSpaceMembersQuery($this->getSpace()),
'query' => Membership::getSpaceMembersQuery($this->getSpace())->visible(),
'title' => $title
]));
}

View File

@ -86,7 +86,7 @@ class SpaceController extends \humhub\modules\content\components\ContentContaine
/**
* Default space homepage
*
*
* @return type
*/
public function actionHome()
@ -110,7 +110,7 @@ class SpaceController extends \humhub\modules\content\components\ContentContaine
if(Yii::$app->getModule('space')->disableFollow) {
throw new \yii\web\HttpException(403, Yii::t('ContentModule.controllers_ContentController', 'This action is disabled!'));
}
$this->forcePostRequest();
$space = $this->getSpace();
@ -156,12 +156,12 @@ class SpaceController extends \humhub\modules\content\components\ContentContaine
$query->leftJoin('user_follow', 'user.id=user_follow.user_id and object_model=:userClass and user_follow.object_id=:spaceId', [':userClass' => Space::className(), ':spaceId' => $this->getSpace()->id]);
$query->orderBy(['user_follow.id' => SORT_DESC]);
$query->andWhere(['IS NOT', 'user_follow.id', new \yii\db\Expression('NULL')]);
$query->active();
$query->visible();
$title = Yii::t('SpaceModule.base', '<strong>Space</strong> followers');
return $this->renderAjaxContent(UserListBox::widget(['query' => $query, 'title' => $title]));
}
}
?>

View File

@ -1,40 +1,23 @@
<?php
/**
* Message translations.
*
* This file is automatically generated by 'yii message/extract' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
*
* Each array element represents the translation (value) of a message (key).
* If the value is empty, the message is considered as not translated.
* Messages that no longer need translation will have their translations
* enclosed between a pair of '@@' marks.
*
* Message string can be used with plural forms format. Check i18n section
* of the guide for details.
*
* NOTE: this file must be saved in UTF-8 encoding.
*/
return [
'Administrator:' => '',
'Moderator:' => '',
'Owner:' => '',
'<strong>Space</strong> followers' => '<strong>Abonnés</strong> à l\'espace',
'Could not delete user who is a space owner! Name of Space: {spaceName}' => 'Impossible de supprimer un utilisateur s\'il est propriétaire d\'un espace ! Espace concerné : {spaceName}',
'Default' => 'Défaut',
'Everyone can enter' => 'Tout le monde peut entrer',
'Invite and request' => 'Sur invitation et demande',
'No spaces found.' => 'Aucun espace trouvé.',
'Only by invite' => 'Sur invitation uniquement',
'Private' => 'Privé',
'Private (Invisible)' => 'Privé (invisible)',
'Public' => 'Public',
'Public (Members & Guests)' => 'Public (membres et visiteurs)',
'Public (Members only)' => 'Public (membres uniquement)',
'Public (Registered users only)' => 'Public (utilisateurs enregistrés uniquement)',
'Public (Visible)' => 'Public (visible)',
'Settings' => 'Réglages',
'Space' => 'Espace',
'Visible for all (members and guests)' => 'Visible par tous (membres et visiteurs)',
];
return array (
'<strong>Space</strong> followers' => '<strong>Abonnés</strong> à l\'espace',
'Administrator:' => 'Administrateur :',
'Could not delete user who is a space owner! Name of Space: {spaceName}' => 'Impossible de supprimer un utilisateur s\'il est propriétaire d\'un espace ! Espace concerné : {spaceName}',
'Default' => 'Défaut',
'Everyone can enter' => 'Tout le monde peut entrer',
'Invite and request' => 'Sur invitation et demande',
'Moderator:' => 'Modérateur :',
'No spaces found.' => 'Aucun espace trouvé.',
'Only by invite' => 'Sur invitation uniquement',
'Owner:' => 'Propriétaire :',
'Private' => 'Privé',
'Private (Invisible)' => 'Privé (invisible)',
'Public' => 'Public',
'Public (Members & Guests)' => 'Public (membres et visiteurs)',
'Public (Members only)' => 'Public (membres uniquement)',
'Public (Registered users only)' => 'Public (utilisateurs enregistrés uniquement)',
'Public (Visible)' => 'Public (visible)',
'Settings' => 'Réglages',
'Space' => 'Espace',
'Visible for all (members and guests)' => 'Visible par tous (membres et visiteurs)',
);

View File

@ -1,24 +1,7 @@
<?php
/**
* Message translations.
*
* This file is automatically generated by 'yii message/extract' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
*
* Each array element represents the translation (value) of a message (key).
* If the value is empty, the message is considered as not translated.
* Messages that no longer need translation will have their translations
* enclosed between a pair of '@@' marks.
*
* Message string can be used with plural forms format. Check i18n section
* of the guide for details.
*
* NOTE: this file must be saved in UTF-8 encoding.
*/
return [
'Space member joined' => '',
'Space member left' => '',
'Whenever a member leaves one of your spaces.' => '',
'Whenever a new member joined one of your spaces.' => '',
];
return array (
'Space member joined' => 'Membri unitesi allo spazio',
'Space member left' => 'Membri che hanno lasciato lo spazio',
'Whenever a member leaves one of your spaces.' => 'Ogni volta che un membro lascia il tuo spazio.',
'Whenever a new member joined one of your spaces.' => 'Ogni volta che un membro si unisce al tuo spazio.',
);

View File

@ -1,40 +1,23 @@
<?php
/**
* Message translations.
*
* This file is automatically generated by 'yii message/extract' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
*
* Each array element represents the translation (value) of a message (key).
* If the value is empty, the message is considered as not translated.
* Messages that no longer need translation will have their translations
* enclosed between a pair of '@@' marks.
*
* Message string can be used with plural forms format. Check i18n section
* of the guide for details.
*
* NOTE: this file must be saved in UTF-8 encoding.
*/
return [
'<strong>Space</strong> followers' => '',
'Administrator:' => '',
'Moderator:' => '',
'Owner:' => '',
'Could not delete user who is a space owner! Name of Space: {spaceName}' => 'Non posso cancellare l\'utente che è proprietario di uno space! Nome dello Space: {spaceName}',
'Default' => 'Predefinito',
'Everyone can enter' => 'Ognuno può entrare',
'Invite and request' => 'Inviti e richieste',
'No spaces found.' => 'Nessun space trovato.',
'Only by invite' => 'Solo per invito',
'Private' => 'Privato',
'Private (Invisible)' => 'Privato (Invisibile)',
'Public' => 'Pubblico',
'Public (Members & Guests)' => 'Pubblico (Membri e ospiti)',
'Public (Members only)' => 'Pubblico (Solo membri)',
'Public (Registered users only)' => 'Pubblico (Solo utenti registrati)',
'Public (Visible)' => 'Pubblico (Visibile)',
'Settings' => 'Impostazioni',
'Space' => 'Space',
'Visible for all (members and guests)' => 'Visibile a tutti (membri e ospiti)',
];
return array (
'<strong>Space</strong> followers' => 'persone che seguono lo <strong>Spazio</strong>',
'Administrator:' => 'Amministratore:',
'Could not delete user who is a space owner! Name of Space: {spaceName}' => 'Non posso cancellare l\'utente che è proprietario di uno space! Nome dello Space: {spaceName}',
'Default' => 'Predefinito',
'Everyone can enter' => 'Ognuno può entrare',
'Invite and request' => 'Inviti e richieste',
'Moderator:' => 'Moderatore:',
'No spaces found.' => 'Nessun space trovato.',
'Only by invite' => 'Solo per invito',
'Owner:' => 'Proprietario:',
'Private' => 'Privato',
'Private (Invisible)' => 'Privato (Invisibile)',
'Public' => 'Pubblico',
'Public (Members & Guests)' => 'Pubblico (Membri e ospiti)',
'Public (Members only)' => 'Pubblico (Solo membri)',
'Public (Registered users only)' => 'Pubblico (Solo utenti registrati)',
'Public (Visible)' => 'Pubblico (Visibile)',
'Settings' => 'Impostazioni',
'Space' => 'Space',
'Visible for all (members and guests)' => 'Visibile a tutti (membri e ospiti)',
);

View File

@ -1,21 +1,4 @@
<?php
/**
* Message translations.
*
* This file is automatically generated by 'yii message/extract' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
*
* Each array element represents the translation (value) of a message (key).
* If the value is empty, the message is considered as not translated.
* Messages that no longer need translation will have their translations
* enclosed between a pair of '@@' marks.
*
* Message string can be used with plural forms format. Check i18n section
* of the guide for details.
*
* NOTE: this file must be saved in UTF-8 encoding.
*/
return [
'Stream (Default)' => '',
];
return array (
'Stream (Default)' => 'Stream (predefinito)',
);

View File

@ -1,22 +1,5 @@
<?php
/**
* Message translations.
*
* This file is automatically generated by 'yii message/extract' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
*
* Each array element represents the translation (value) of a message (key).
* If the value is empty, the message is considered as not translated.
* Messages that no longer need translation will have their translations
* enclosed between a pair of '@@' marks.
*
* Message string can be used with plural forms format. Check i18n section
* of the guide for details.
*
* NOTE: this file must be saved in UTF-8 encoding.
*/
return [
'<strong>Members</strong>' => '',
'Access denied - You cannot invite members!' => '',
];
return array (
'<strong>Members</strong>' => '<strong>Membri</strong>',
'Access denied - You cannot invite members!' => 'Accesso negato - Non puoi invitare membri!',
);

View File

@ -1,28 +1,11 @@
<?php
/**
* Message translations.
*
* This file is automatically generated by 'yii message/extract' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
*
* Each array element represents the translation (value) of a message (key).
* If the value is empty, the message is considered as not translated.
* Messages that no longer need translation will have their translations
* enclosed between a pair of '@@' marks.
*
* Message string can be used with plural forms format. Check i18n section
* of the guide for details.
*
* NOTE: this file must be saved in UTF-8 encoding.
*/
return [
'Sorry, you are not allowed to leave this space!' => '',
'This user is already a member of this space.' => '',
'This user is not a member of this space.' => '',
'As owner you cannot revoke your membership!' => 'Come proprietario non puoi revocare la tua membership!',
'Could not request membership!' => 'Non puoi richiedere la membership!',
'There is no pending invite!' => 'Non ci sono inviti pendenti!',
'This action is only available for workspace members!' => 'Questa azione è disponibile solo per i membri del workspace!',
'You are not allowed to join this space!' => 'Non puoi aggiungerti a questo space!',
];
return array (
'As owner you cannot revoke your membership!' => 'Come proprietario non puoi revocare la tua membership!',
'Could not request membership!' => 'Non puoi richiedere la membership!',
'Sorry, you are not allowed to leave this space!' => 'Spiacente, non sei autorizzato a lasciare questo spazio!',
'There is no pending invite!' => 'Non ci sono inviti pendenti!',
'This action is only available for workspace members!' => 'Questa azione è disponibile solo per i membri del workspace!',
'This user is already a member of this space.' => 'Questo utente è già membro di questo spazio.',
'This user is not a member of this space.' => 'Questo utente non è membro di questo spazio.',
'You are not allowed to join this space!' => 'Non puoi aggiungerti a questo space!',
);

View File

@ -1,27 +1,10 @@
<?php
/**
* Message translations.
*
* This file is automatically generated by 'yii message/extract' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
*
* Each array element represents the translation (value) of a message (key).
* If the value is empty, the message is considered as not translated.
* Messages that no longer need translation will have their translations
* enclosed between a pair of '@@' marks.
*
* Message string can be used with plural forms format. Check i18n section
* of the guide for details.
*
* NOTE: this file must be saved in UTF-8 encoding.
*/
return [
'User \'{username}\' is already a member of this space!' => '',
'User \'{username}\' is already an applicant of this space!' => '',
'Invites' => 'Inviti',
'New user by e-mail (comma separated)' => 'Nuovi utenti tramite e-mail (separati da virgola)',
'User not found!' => 'Utente non trovato!',
'{email} is already registered!' => '{email} è già registrato!',
'{email} is not valid!' => '{email} non è valida!',
];
return array (
'Invites' => 'Inviti',
'New user by e-mail (comma separated)' => 'Nuovi utenti tramite e-mail (separati da virgola)',
'User \'{username}\' is already a member of this space!' => 'L\'utente \'{username}\' è già membro di questo spazio!',
'User \'{username}\' is already an applicant of this space!' => 'L\'utente \'{username}\' vuole già unirsi a questo spazio!',
'User not found!' => 'Utente non trovato!',
'{email} is already registered!' => '{email} è già registrato!',
'{email} is not valid!' => '{email} non è valida!',
);

View File

@ -1,27 +1,10 @@
<?php
/**
* Message translations.
*
* This file is automatically generated by 'yii message/extract' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
*
* Each array element represents the translation (value) of a message (key).
* If the value is empty, the message is considered as not translated.
* Messages that no longer need translation will have their translations
* enclosed between a pair of '@@' marks.
*
* Message string can be used with plural forms format. Check i18n section
* of the guide for details.
*
* NOTE: this file must be saved in UTF-8 encoding.
*/
return [
'The url contains illegal characters!' => '',
'e.g. example for {baseUrl}/s/example' => '',
'the default start page of this space for members' => '',
'the default start page of this space for visitors' => '',
'As owner of this space you can transfer this role to another administrator in space.' => 'Come proprietario di questo Space puoi trasferirne la proprietà ad un altro amministratore dello Space.',
'Space owner' => 'Proprietario dello Space',
'Transfer ownership' => 'Trasferisci proprietà',
];
return array (
'As owner of this space you can transfer this role to another administrator in space.' => 'Come proprietario di questo Space puoi trasferirne la proprietà ad un altro amministratore dello Space.',
'Space owner' => 'Proprietario dello Space',
'The url contains illegal characters!' => 'L\'url contiene caratteri non consentiti!',
'Transfer ownership' => 'Trasferisci proprietà',
'e.g. example for {baseUrl}/s/example' => '',
'the default start page of this space for members' => '',
'the default start page of this space for visitors' => '',
);

View File

@ -2,7 +2,7 @@
return array (
'Created At' => 'Creato il',
'Created By' => 'Creato da',
'Last Visit' => '',
'Last Visit' => 'Ultima visita',
'Originator User ID' => '',
'Request Message' => '',
'Status' => 'Stato',

View File

@ -1,16 +1,16 @@
<?php
return array (
'Administrators' => '',
'Administrators' => 'Amministratori',
'Color' => 'Colore',
'Created At' => 'Creato il',
'Created By' => 'Creato da',
'Default content visibility' => '',
'Default content visibility' => 'Visibilità predefinita dei contenuti',
'Description' => 'Descrizione',
'Homepage' => '',
'Homepage (Guests)' => '',
'Homepage' => 'Homepage',
'Homepage (Guests)' => 'Homepage (Ospiti)',
'Join Policy' => 'Policy di aggiunta',
'Members' => 'Membri',
'Moderators' => '',
'Moderators' => 'Moderatori',
'Name' => 'Nome',
'Owner' => 'Proprietario',
'Status' => 'Stato',

View File

@ -1,11 +1,11 @@
<?php
return array (
'Allows the user to create public content' => '',
'Allows the user to invite new members to the space' => '',
'Can create hidden (private) spaces.' => '',
'Can create public visible spaces. (Listed in directory)' => '',
'Create private space' => '',
'Create public content' => '',
'Create public space' => '',
'Allows the user to create public content' => 'Consenti agli utenti di creare contenuti pubblici',
'Allows the user to invite new members to the space' => 'Consenti agli utenti di invitare nuovi membri a questo spazio',
'Can create hidden (private) spaces.' => 'Può creare spazi nascosti (privati)',
'Can create public visible spaces. (Listed in directory)' => 'Può creare spazi pubblici e visibili. (Elencati nella directory)',
'Create private space' => 'Può creare spazi privati',
'Create public content' => 'Può creare contenuti pubblici',
'Create public space' => 'Può creare spazi pubblici',
'Invite users' => 'Invita utenti',
);

View File

@ -1,21 +1,4 @@
<?php
/**
* Message translations.
*
* This file is automatically generated by 'yii message' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
*
* Each array element represents the translation (value) of a message (key).
* If the value is empty, the message is considered as not translated.
* Messages that no longer need translation will have their translations
* enclosed between a pair of '@@' marks.
*
* Message string can be used with plural forms format. Check i18n section
* of the guide for details.
*
* NOTE: this file must be saved in UTF-8 encoding.
*/
return [
'Add {n,plural,=1{space} other{spaces}}' => '',
];
return array (
'Add {n,plural,=1{space} other{spaces}}' => 'Aggiungi {n,plural,=1{spazio} other{spazi}}',
);

View File

@ -3,6 +3,6 @@ return array (
'<strong>Manage</strong> members' => '<strong>Gestione</strong> membri',
'Actions' => 'Azioni',
'Remove' => 'Rimuovi',
'Role' => '',
'Role' => 'Ruolo',
'never' => 'mai',
);

View File

@ -1,21 +1,4 @@
<?php
/**
* Message translations.
*
* This file is automatically generated by 'yii message/extract' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
*
* Each array element represents the translation (value) of a message (key).
* If the value is empty, the message is considered as not translated.
* Messages that no longer need translation will have their translations
* enclosed between a pair of '@@' marks.
*
* Message string can be used with plural forms format. Check i18n section
* of the guide for details.
*
* NOTE: this file must be saved in UTF-8 encoding.
*/
return [
'Add <strong>Modules</strong>' => '',
];
return array (
'Add <strong>Modules</strong>' => 'Aggiungi <strong>Moduli</strong>',
);

View File

@ -1,6 +1,6 @@
<?php
return array (
'<strong>Security</strong> settings' => 'Impostazioni <strong>Sicurezza</strong>',
'<strong>Space</strong> settings' => '',
'<strong>Space</strong> settings' => 'Impostazioni <strong>Spazio</strong>',
'Permissions are assigned to different user-roles. To edit a permission, select the user-role you want to edit and change the drop-down value of the given permission.' => '',
);

View File

@ -1,7 +1,7 @@
<?php
return array (
'<strong>Invite</strong> members' => '<strong>Invita</strong> membri',
'Done' => '',
'Done' => 'Fatto',
'Email addresses' => 'Indirizzo email',
'Invite by email' => 'Invita via email',
'Login' => 'Login',

View File

@ -1,31 +1,14 @@
<?php
/**
* Message translations.
*
* This file is automatically generated by 'yii message/extract' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
*
* Each array element represents the translation (value) of a message (key).
* If the value is empty, the message is considered as not translated.
* Messages that no longer need translation will have their translations
* enclosed between a pair of '@@' marks.
*
* Message string can be used with plural forms format. Check i18n section
* of the guide for details.
*
* NOTE: this file must be saved in UTF-8 encoding.
*/
return [
'Don\'t receive notifications for new content' => '',
'Receive Notifications for new content' => '',
'This option will hide new content from this space at your dashboard' => '',
'This option will show new content from this space at your dashboard' => '',
'<i class="fa fa-cog"></i>' => '<i class="fa fa-cog"></i>',
'Cancel Membership' => 'Cancella affiliazione',
'Hide posts on dashboard' => 'Nascondi post nel dashboard',
'Members' => 'Membri',
'Modules' => 'Moduli',
'Security' => 'Sicurezza',
'Show posts on dashboard' => 'Mostra post nel dashboard',
];
return array (
'<i class="fa fa-cog"></i>' => '<i class="fa fa-cog"></i>',
'Cancel Membership' => 'Cancella affiliazione',
'Don\'t receive notifications for new content' => 'Non ricevere notifiche per contenuti nuovi',
'Hide posts on dashboard' => 'Nascondi post nel dashboard',
'Members' => 'Membri',
'Modules' => 'Moduli',
'Receive Notifications for new content' => 'Ricevi notifiche per contenuti nuovi',
'Security' => 'Sicurezza',
'Show posts on dashboard' => 'Mostra post nel dashboard',
'This option will hide new content from this space at your dashboard' => 'Questa opzione nasconderà i nuovi contenuti di questo spazio nella tua bacheca',
'This option will show new content from this space at your dashboard' => 'Questa opzione mostrerà i nuovi contenuti di questo spazio nella tua bacheca',
);

View File

@ -1,24 +1,7 @@
<?php
/**
* Message translations.
*
* This file is automatically generated by 'yii message/extract' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
*
* Each array element represents the translation (value) of a message (key).
* If the value is empty, the message is considered as not translated.
* Messages that no longer need translation will have their translations
* enclosed between a pair of '@@' marks.
*
* Message string can be used with plural forms format. Check i18n section
* of the guide for details.
*
* NOTE: this file must be saved in UTF-8 encoding.
*/
return [
'Add Space' => '',
'No spaces found for the given query' => '',
'Select {n,plural,=1{space} other{spaces}}' => '',
'This field only allows a maximum of {n,plural,=1{# space} other{# spaces}}' => '',
];
return array (
'Add Space' => 'Aggiungi spazio',
'No spaces found for the given query' => 'La query eseguita non ha trovato spazi',
'Select {n,plural,=1{space} other{spaces}}' => 'Seleziona {n,plural,=1{spazio} other{spazi}}',
'This field only allows a maximum of {n,plural,=1{# space} other{# spaces}}' => 'Questo campo consente un massimo di {n,plural,=1{# spazio} other{# spazi}}',
);

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