Merge branch 'develop' into sahartak2025-fix/4186

This commit is contained in:
Lucas Bartholemy 2020-09-18 11:48:09 +02:00 committed by GitHub
commit cb90050cd6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
52 changed files with 586 additions and 545 deletions

View File

@ -16,3 +16,4 @@ HumHub Changelog
- Enh #4179: Removed deprecated mysql character set in log table migration
- Enh #4324: Improved line break for menu entries with many characters
- Fix #4186: Add Timezone validation rules to admin prerequisite view
- Enh #4378: Implemented generic ContentContainerActiveRecord::is() function

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,101 +1,84 @@
<?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>Confirm</strong> Action' => '<strong>אשר</strong> פעולה',
'<strong>Latest</strong> updates' => 'עדכונים <strong>אחרונים</strong>',
'<strong>Mail</strong> summary' => 'סיכום <strong>דוא״ל</strong>',
'Account settings' => 'פרטי חשבון',
'Actions' => 'פעולות',
'Add:' => 'הוסף:',
'Administration' => 'ניהול',
'Allow' => 'אשר',
'An error occurred while handling your last action. (Handler not found).' => 'שגיאה במהלך הפעולה האחרונה (לא נמצאה סיבה)',
'An unexpected error occurred while loading the search result.' => 'שגיאה בלתי צפויה במהלך העלאת תוצאות החיפוש.',
'An unexpected error occurred. If this keeps happening, please contact a site administrator.' => 'שגיאה בלתי צפויה. אם השגיאה ממשיכה נא צור קשר עם מנהל האתר.',
'An unexpected server error occurred. If this keeps happening, please contact a site administrator.' => 'שגיאה בלתי צפויה. אם השגיאה ממשיכה נא צור קשר עם מנהל האתר.',
'An unknown error occurred while uploading.' => 'שגיאה לא ידועה בזמן העלאה',
'An unknown error occurred while uploading. Hint: check your upload_max_filesize and post_max_size php settings.' => 'שגיאה לא ידועה בזמן העלאה. נסה לבדוק את הפרמטר בשם upload_max_filesize',
'Back' => 'חזרה',
'Back to dashboard' => 'חזרה לדשבורד',
'Cancel' => 'ביטול',
'Choose language:' => 'בחר שפה:',
'Close' => 'סגור',
'Collapse' => 'סגור',
'Confirm' => 'אשר',
'Content Addon source must be instance of HActiveRecordContent or HActiveRecordContentAddon!' => 'שגיאה שלא ניתן לתרגם',
'Copy to clipboard' => 'העתק ללוח',
'Could not find content of addon!' => 'לא יכול למצוא תוכן של התוסף',
'Could not find requested page.' => 'הדף המבוקש לא נמצא',
'Default' => 'ברירת מחדל',
'Delete' => 'מחק',
'Deny' => 'דחה',
'Do you really want to perform this action?' => 'האם אתה רוצה לבצע פעולה זו?',
'Edit' => 'עריכה',
'Error' => 'שגיאה',
'Error while running your last action (Invalid request method).' => 'שגיאה בפעולה האחרונה',
'Error:' => 'שגיאה:',
'Expand' => 'הרחב',
'Export' => 'יצוא',
'Info:' => 'מידע:',
'Invalid request method!' => 'בעיה כלשהי',
'It looks like you may have taken the wrong turn.' => 'טעית בדרך...',
'Language' => 'שפה',
'Loading...' => 'טוען...',
'Login' => 'לוגין',
'Logo of {appName}' => 'לוגו של משהו',
'Logout' => 'יציאה',
'Menu' => 'תפריט',
'Module is not enabled on this content container!' => 'משהו לא מאופשר כאן',
'My profile' => 'הפרופיל שלי',
'New profile image' => 'תמונת פרופיל חדשה',
'Next' => 'הבא',
'No error information given.' => 'אין מידע לגבי השגיאה',
'Oooops...' => 'אופסס...',
'Open' => 'פתיחה',
'Please type at least 3 characters' => 'נדרשים שלושה תוים לפחות',
'Please type at least {count} characters' => 'נדרשים לפחות {count} תוים',
'Profile dropdown' => 'תפריט פרופיל',
'Profile picture of {displayName}' => 'תמונת פרופיל',
'Save' => 'שמירה',
'Saved' => 'נשמר',
'Search' => 'חיפוש',
'Select Me' => 'בחר אותי',
'Show less' => 'הצג פחות',
'Show more' => 'הצג יותר',
'Some files could not be uploaded:' => 'חלק מהקבצים לא יכולים לעלות',
'Text could not be copied to clipboard' => 'הטקסט לא יכול להיות מועתק ללוח',
'Text has been copied to clipboard' => 'הטקסט הועתק ללוח',
'The date has to be in the past.' => 'התאריך הינו בעבר',
'The file has been deleted.' => 'נמצא קובץ',
'The requested resource could not be found.' => 'לא נמצא',
'The space has been archived.' => 'האזור עבר לארכיון',
'The space has been unarchived.' => 'האזור יצא מהארכיון',
'Time Zone' => 'אזור זמן',
'Toggle comment menu' => 'הצג/הסתר תפריט',
'Toggle panel menu' => 'הצג/הסתר תפריט',
'Toggle post menu' => 'הצג/הסתר תפריט',
'Toggle stream entry menu' => 'הצג/הסתר תפריט',
'Unsubscribe' => 'בטל מנוי',
'Upload' => 'העלאה',
'Upload file' => 'העלה קבצים',
'You are not allowed to run this action.' => 'אתה לא מורשה לבצע פעולה זו',
'All' => '',
'Powered by {name}' => '',
'There are unsaved changes, do you really want to leave this page?' => '',
];
return array (
'<strong>Confirm</strong> Action' => '<strong>אשר</strong> פעולה',
'<strong>Latest</strong> updates' => 'עדכונים <strong>אחרונים</strong>',
'<strong>Mail</strong> summary' => 'סיכום <strong>דוא״ל</strong>',
'Account settings' => 'פרטי חשבון',
'Actions' => 'פעולות',
'Add:' => 'הוסף:',
'Administration' => 'ניהול',
'All' => 'הכל',
'Allow' => 'אשר',
'An error occurred while handling your last action. (Handler not found).' => 'שגיאה במהלך הפעולה האחרונה (לא נמצאה סיבה)',
'An unexpected error occurred while loading the search result.' => 'שגיאה בלתי צפויה במהלך העלאת תוצאות החיפוש.',
'An unexpected error occurred. If this keeps happening, please contact a site administrator.' => 'שגיאה בלתי צפויה. אם השגיאה ממשיכה נא צור קשר עם מנהל האתר.',
'An unexpected server error occurred. If this keeps happening, please contact a site administrator.' => 'שגיאה בלתי צפויה. אם השגיאה ממשיכה נא צור קשר עם מנהל האתר.',
'An unknown error occurred while uploading.' => 'שגיאה לא ידועה בזמן העלאה',
'An unknown error occurred while uploading. Hint: check your upload_max_filesize and post_max_size php settings.' => 'שגיאה לא ידועה בזמן העלאה. נסה לבדוק את הפרמטר בשם upload_max_filesize',
'Back' => 'חזרה',
'Back to dashboard' => 'חזרה לדשבורד',
'Cancel' => 'ביטול',
'Choose language:' => 'בחר שפה:',
'Close' => 'סגור',
'Collapse' => 'סגור',
'Confirm' => 'אשר',
'Content Addon source must be instance of HActiveRecordContent or HActiveRecordContentAddon!' => 'שגיאה שלא ניתן לתרגם',
'Copy to clipboard' => 'העתק ללוח',
'Could not find content of addon!' => 'לא יכול למצוא תוכן של התוסף',
'Could not find requested page.' => 'הדף המבוקש לא נמצא',
'Default' => 'ברירת מחדל',
'Delete' => 'מחק',
'Deny' => 'דחה',
'Do you really want to perform this action?' => 'האם אתה רוצה לבצע פעולה זו?',
'Edit' => 'עריכה',
'Error' => 'שגיאה',
'Error while running your last action (Invalid request method).' => 'שגיאה בפעולה האחרונה',
'Error:' => 'שגיאה:',
'Expand' => 'הרחב',
'Export' => 'יצוא',
'Info:' => 'מידע:',
'Invalid request method!' => 'בעיה כלשהי',
'It looks like you may have taken the wrong turn.' => 'טעית בדרך...',
'Language' => 'שפה',
'Loading...' => 'טוען...',
'Login' => 'לוגין',
'Logo of {appName}' => 'לוגו של משהו',
'Logout' => 'יציאה',
'Menu' => 'תפריט',
'Module is not enabled on this content container!' => 'משהו לא מאופשר כאן',
'My profile' => 'הפרופיל שלי',
'New profile image' => 'תמונת פרופיל חדשה',
'Next' => 'הבא',
'No error information given.' => 'אין מידע לגבי השגיאה',
'Oooops...' => 'אופסס...',
'Open' => 'פתיחה',
'Please type at least 3 characters' => 'נדרשים שלושה תוים לפחות',
'Please type at least {count} characters' => 'נדרשים לפחות {count} תוים',
'Powered by {name}' => '',
'Profile dropdown' => 'תפריט פרופיל',
'Profile picture of {displayName}' => 'תמונת פרופיל של {displayName}',
'Save' => 'שמירה',
'Saved' => 'נשמר',
'Search' => 'חיפוש',
'Select Me' => 'בחר אותי',
'Show less' => 'הצג פחות',
'Show more' => 'הצג יותר',
'Some files could not be uploaded:' => 'חלק מהקבצים לא יכולים לעלות',
'Text could not be copied to clipboard' => 'הטקסט לא יכול להיות מועתק ללוח',
'Text has been copied to clipboard' => 'הטקסט הועתק ללוח',
'The date has to be in the past.' => 'התאריך הינו בעבר',
'The file has been deleted.' => 'נמצא קובץ',
'The requested resource could not be found.' => 'לא נמצא',
'The space has been archived.' => 'האזור עבר לארכיון',
'The space has been unarchived.' => 'האזור יצא מהארכיון',
'There are unsaved changes, do you really want to leave this page?' => 'יש שינויים שלא נשמרו , האם אתה בטוח שברצונך לעזוב את הדף ?',
'Time Zone' => 'אזור זמן',
'Toggle comment menu' => 'הצג/הסתר תפריט',
'Toggle panel menu' => 'הצג/הסתר תפריט',
'Toggle post menu' => 'הצג/הסתר תפריט',
'Toggle stream entry menu' => 'הצג/הסתר תפריט',
'Unsubscribe' => 'בטל מנוי',
'Upload' => 'העלאה',
'Upload file' => 'העלה קבצים',
'You are not allowed to run this action.' => 'אתה לא מורשה לבצע פעולה זו',
);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,21 +1,13 @@
<?php
return array (
'{displayName} created the new space {spaceName}' => '{displayName} creó un nuevo espacio: {spaceName}',
'{displayName} created this space.' => '{displayName} creó este espacio.',
'{displayName} joined the space {spaceName}' => '{displayName} se unió al espacio {spaceName}',
'{displayName} joined this space.' => '{displayName} se unió a este espacio.',
'{displayName} left the space {spaceName}' => '{displayName} dejó el espacio {spaceName}',
'{displayName} left this space.' => '{displayName} dejó este espacio.',
'{spaceName} has been archived' => 'Se ha archivado {spaceName}',
'{spaceName} has been unarchived' => 'Se ha sacado del archivo {spaceName}',
'<strong>E-Mail</strong> Summaries' => '<strong>Resúmenes</strong> de Correo',
'<strong>Latest</strong> activities' => '<strong>Últimas</strong> actividades',
'Activities' => 'Actividades',
'Daily' => 'Diario',
'E-Mail Summaries' => 'Resúmenes de Correo',
'E-Mail Summaries' => 'Resúmenes por Correo electrónico',
'E-Mail summaries are sent to inform you about recent activities in the network.' => 'Resúmenes de correo son enviados para informarte acerca de actividades recientes en la red.',
'E-Mail summaries are sent to users to inform them about recent activities in your network.' => 'Resúmenes de correo son enviados a los usuarios para informarles acerca de actividades recientes en la red.',
'Exclude spaces below from the mail summary' => 'Excluir estos espacios del Resumen de Correo',
'Exclude spaces below from the mail summary' => 'Excluir los espacios a continuación del resumen por correo',
'Hourly' => 'Por hora',
'Interval' => 'Intervalo',
'Latest news' => 'Últimas noticias',
@ -30,8 +22,16 @@ return array (
'Weekly' => 'Semanal',
'You will only receive an e-mail if there is something new.' => 'Solamente recibirás un correo si hay algo nuevo.',
'Your daily summary' => 'Tu resumen diario',
'Your weekly summary' => 'Su resumen semanal',
'Your weekly summary' => 'Tu resumen semanal',
'see online' => 'ver en línea',
'via' => 'en',
'{displayName} created the new space {spaceName}' => '{displayName} creó un nuevo espacio: {spaceName}',
'{displayName} created this space.' => '{displayName} creó este espacio.',
'{displayName} joined the space {spaceName}' => '{displayName} se unió al espacio {spaceName}',
'{displayName} joined this space.' => '{displayName} se unió a este espacio.',
'{displayName} left the space {spaceName}' => '{displayName} dejó el espacio {spaceName}',
'{displayName} left this space.' => '{displayName} dejó este espacio.',
'{spaceName} has been archived' => 'Se ha archivado {spaceName}',
'{spaceName} has been unarchived' => 'Se ha sacado del archivo {spaceName}',
'{user1} now follows {user2}.' => '{user1} ahora sigue a {user2}.',
);

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 [
'E-Mail Summaries' => '',
];
return array (
'E-Mail Summaries' => 'תקצירי דוא"ל',
);

View File

@ -1,135 +1,118 @@
<?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>Information</strong>' => '<strong>Bilgilendirme</strong>',
'<strong>Settings</strong> and Configuration' => '<strong>Ayarlar</strong> ve Yapılandırma',
'<strong>User</strong> administration' => '<strong>Kullanıcı</strong> yönetimi',
'Accept user: <strong>{displayName}</strong> ' => 'Kullanıcıyı kabul et: <strong>{displayName}</strong>',
'Account Request for \'{displayName}\' has been approved.' => 'Hesap talebi \'{displayName}\' kabul edildi.',
'Account Request for \'{displayName}\' has been declined.' => 'Hesap talebi \'{displayName}\' reddedildi.',
'Actions' => 'Eylemler',
'Active users' => 'Aktif kullanıcılar',
'Add Groups...' => 'Grup Ekle...',
'Add new category' => 'Yeni kategori ekle',
'Add new field' => 'Yeni alan ekle',
'Add new group' => 'Yeni grup Ekle',
'Add new members...' => 'Yeni üye ekle...',
'Add new user' => 'Yeni kullanıcı Ekle',
'All the personal data of this user will be irrevocably deleted.' => 'Bu kullanıcının tüm kişisel verileri geri alınamaz bir şekilde silinecektir.',
'Allow limited access for non-authenticated users (guests)' => 'Kimliği doğrulanmamış kullanıcılar için sınırlı erişime izin ver (misafir)',
'Anonymous users can register' => 'Anonim kullanıcılar kayıt olabilir',
'Are you really sure that you want to disable this user?' => 'Bu kullanıcıyı devre dışı bırakmak istediğinden emin misin?',
'Are you really sure that you want to enable this user?' => 'Bu kullanıcıyı etkinleştirmek istediğinizden gerçekten emin misiniz?',
'Are you really sure that you want to impersonate this user?' => 'Bu kullanıcıyı taklit etmek istediğinden emin misin?',
'Are you sure that you want to delete following user?' => 'Aşağıdaki kullanıcıyı silmek istediğinize emin misiniz?',
'Cancel' => 'İptal',
'Click here to review' => 'Görüntülemek için tıklayın',
'Confirm user deletion' => 'Kullanıcı silme işlemini onayla',
'Could not load category.' => 'Kategori yüklenemedi.',
'Create new group' => 'Yeni Grup Oluştur',
'Create new profile category' => 'Yeni profil kategorisi oluştur',
'Create new profile field' => 'Yeni profil alanı oluştur',
'Decline & delete user: <strong>{displayName}</strong>' => 'Kullanıcıyı reddet ve sil: <strong>{displayName}</strong>',
'Default content of the registration approval email' => 'Kayıt onay e-postasının varsayılan içeriği',
'Default content of the registration denial email' => 'Kayıt reddetme e-postasının varsayılan içeriği',
'Default user group for new users' => 'Yeni kullanıcılar için varsayılan kullanıcı grubu',
'Default user idle timeout, auto-logout (in seconds, optional)' => 'Varsayılan kullanıcı boşta kalma (Zaman aşımı), otomatik çıkış (saniye cinsinden, isteğe bağlı)',
'Default user profile visibility' => 'Varsayılan kullanıcı profili görünürlüğü',
'Delete' => 'Sil',
'Delete all contributions of this user' => 'Bu kullanıcının tüm katkılarını sil',
'Delete invitation' => 'Davetiyeyi sil',
'Delete invitation?' => 'Davetiyeyi sil?',
'Delete spaces which are owned by this user' => 'Bu kullanıcının sahip olduğu mekanları sil',
'Deleted invitation' => 'Silinen davet',
'Deleted users' => 'Silinmiş kullanıcılar',
'Disable' => 'Engel',
'Disabled' => 'Devre dışı',
'Disabled users' => 'Engelli kullanıcılar',
'Do not change placeholders like {displayName} if you want them to be automatically filled by the system. To reset the email content fields with the system default, leave them empty.' => 'Sistem tarafından otomatik olarak doldurulmasını istiyorsanız, {displayName} gibi yer tutucuları değiştirmeyin. E-posta içerik alanlarını sistem varsayılanı ile sıfırlamak için boş bırakın.',
'Edit profile category' => 'Profil kategorisini düzenle',
'Edit profile field' => 'Profil düzenleme alanı',
'Edit user: {name}' => 'Kullanıcı Düzenle: {name}',
'Enable' => 'Etkin',
'Enabled' => 'Etkin',
'General' => 'Genel',
'Group Manager' => 'Grup Yöneticisi',
'Group not found!' => 'Grup bulunamadı!',
'Group user not found!' => 'Gruba ait kullanıcı bulunamadı!',
'Groups' => 'Gruplar',
'Here you can create or edit profile categories and fields.' => 'Burada profil kategorilerini ve alanlarını oluşturabilir veya düzenleyebilirsiniz.',
'If this option is not selected, the ownership of the spaces will be transferred to your account.' => 'Bu seçenek seçilmezse, mekanların mülkiyeti hesabınıza aktarılır.',
'Impersonate' => 'Taklit etme',
'Include captcha in registration form' => 'Captcha\'yı kayıt formuna dahil et',
'Invite not found!' => 'Davet bulunamadı!',
'LDAP' => 'LDAP',
'Last login' => 'Son giriş',
'List pending registrations' => 'Bekleyen kayıtları listele',
'Manage group: {groupName}' => 'Grubu yönet: {groupName}',
'Manage groups' => 'Grupları yönet',
'Manage profile attributes' => 'Profil niteliklerini yönet',
'Member since' => 'Den beri üye',
'Members' => 'Üyeler',
'Members can invite external users by email' => 'Kullanıcılar eposta ile davet gönderebilirler',
'Message' => 'Mesaj',
'Min value is 20 seconds. If not set, session will timeout after 1400 seconds (24 minutes) regardless of activity (default session timeout)' => 'Minumum 20 saniyedir. 1400 saniye (24 dakika) (varsayılan oturum zaman aşımı) sonra zaman aşımına olacaktır.',
'New approval requests' => 'Yeni onay istekleri',
'No' => 'Hayır',
'No value found!' => 'Hiçbir sonuç bulunamadı!',
'One or more user needs your approval as group admin.' => 'Bir veya daha fazla kullanıcı grubu yönetici onayı bekliyor.',
'Only applicable when limited access for non-authenticated users is enabled. Only affects new users.' => 'Kimliği doğrulanmış kullanıcılar için sınırlı erişim etkin olduğunda geçerli olur. Sadece yeni kullanıcılar etkiler.',
'Overview' => 'Genel Bakış',
'Pending approvals' => 'Bekleyen onaylar',
'Pending user approvals' => 'Bekleyen kullanıcı onayları',
'Permanently delete' => 'Kalıcı olarak silmek',
'Permissions' => 'İzinler',
'Profiles' => 'Profiller',
'Remove from group' => 'Gruptan kaldır',
'Require group admin approval after registration' => 'Kayıttan sonra grup yöneticisinin onayı gerekir',
'Resend invitation email' => 'Davetiye e-postasını tekrar gönder',
'Save' => 'Kaydet',
'Search by name, email or id.' => 'Ad, e-posta veya kimliğe göre arama yapın.',
'Select Groups' => 'Grupları Seç',
'Send & save' => 'Gönder ve kaydet',
'Send invitation email' => 'Davetiye e-postası gönder',
'Send invitation email again?' => 'Davet e-postası tekrar gönderilsin mi?',
'Send invite' => 'Davetiye gönder',
'Settings' => 'Ayarlar',
'Subject' => 'Konu',
'The following list contains all pending sign-ups and invites.' => 'Aşağıdaki liste bekleyen tüm üyelik ve davetleri içerir.',
'The following list contains all registered users awaiting an approval.' => 'Aşağıdaki liste onay bekleyen tüm kayıtlı kullanıcıları içermektedir.',
'The user is the owner of these spaces:' => 'Kullanıcı şu mekanların sahibidir:',
'This overview contains a list of each registered user with actions to view, edit and delete users.' => 'Bu genel bakış, kullanıcıları görüntüleme, düzenleme ve silme eylemleriyle birlikte kayıtlı her kullanıcının listesini içerir.',
'This user owns no spaces.' => 'Bu kullanıcının mekanları yok.',
'Unapproved' => 'Onaylanmamış',
'User deletion process queued.' => 'Kullanıcı silme işlemi sıraya alındı.',
'User is already a member of this group.' => 'Kullanıcı zaten bu grubun üyesi.',
'User not found!' => 'Kullanıcı bulunamadı!',
'Users' => 'Kullanıcılar',
'Users can be assigned to different groups (e.g. teams, departments etc.) with specific standard spaces, group managers and permissions.' => 'Kullanıcılar belirli standart alanlar, grup yöneticileri ve izinlerle farklı gruplara (ör. Ekipler, bölümler vb.) atanabilir.',
'Using this option any contributions (e.g. contents, comments or likes) of this user will be irrevocably deleted.' => 'Bu seçeneğin kullanılmasıyla, bu kullanıcının katkıları (örn: içerik, yorumlar veya beğeniler) geri alınamaz bir şekilde silinir.',
'View profile' => 'Profili Görüntüle',
'Visibility' => 'Görünüm',
'Visible for members only' => 'Sadece üyelere görünür',
'Visible for members+guests' => 'Üyeler+misafirler için görünür',
'Yes' => 'Evet',
'You can only delete empty categories!' => 'Sadece boş kategorileri silebilirsiniz!',
'You cannot delete yourself!' => 'Kendini silemezsin!',
'never' => 'asla',
'Edit category' => '',
];
return array (
'<strong>Information</strong>' => '<strong>Bilgilendirme</strong>',
'<strong>Settings</strong> and Configuration' => '<strong>Ayarlar</strong> ve Yapılandırma',
'<strong>User</strong> administration' => '<strong>Kullanıcı</strong> yönetimi',
'Accept user: <strong>{displayName}</strong> ' => 'Kullanıcıyı kabul et: <strong>{displayName}</strong>',
'Account Request for \'{displayName}\' has been approved.' => 'Hesap talebi \'{displayName}\' kabul edildi.',
'Account Request for \'{displayName}\' has been declined.' => 'Hesap talebi \'{displayName}\' reddedildi.',
'Actions' => 'Eylemler',
'Active users' => 'Aktif kullanıcılar',
'Add Groups...' => 'Grup Ekle...',
'Add new category' => 'Yeni kategori ekle',
'Add new field' => 'Yeni alan ekle',
'Add new group' => 'Yeni grup Ekle',
'Add new members...' => 'Yeni üye ekle...',
'Add new user' => 'Yeni kullanıcı Ekle',
'All the personal data of this user will be irrevocably deleted.' => 'Bu kullanıcının tüm kişisel verileri geri alınamaz bir şekilde silinecektir.',
'Allow limited access for non-authenticated users (guests)' => 'Kimliği doğrulanmamış kullanıcılar için sınırlı erişime izin ver (misafir)',
'Anonymous users can register' => 'Anonim kullanıcılar kayıt olabilir',
'Are you really sure that you want to disable this user?' => 'Bu kullanıcıyı devre dışı bırakmak istediğinden emin misin?',
'Are you really sure that you want to enable this user?' => 'Bu kullanıcıyı etkinleştirmek istediğinizden gerçekten emin misiniz?',
'Are you really sure that you want to impersonate this user?' => 'Bu kullanıcıyı taklit etmek istediğinden emin misin?',
'Are you sure that you want to delete following user?' => 'Aşağıdaki kullanıcıyı silmek istediğinize emin misiniz?',
'Cancel' => 'İptal',
'Click here to review' => 'Görüntülemek için tıklayın',
'Confirm user deletion' => 'Kullanıcı silme işlemini onayla',
'Could not load category.' => 'Kategori yüklenemedi.',
'Create new group' => 'Yeni Grup Oluştur',
'Create new profile category' => 'Yeni profil kategorisi oluştur',
'Create new profile field' => 'Yeni profil alanı oluştur',
'Decline & delete user: <strong>{displayName}</strong>' => 'Kullanıcıyı reddet ve sil: <strong>{displayName}</strong>',
'Default content of the registration approval email' => 'Kayıt onay e-postasının varsayılan içeriği',
'Default content of the registration denial email' => 'Kayıt reddetme e-postasının varsayılan içeriği',
'Default user group for new users' => 'Yeni kullanıcılar için varsayılan kullanıcı grubu',
'Default user idle timeout, auto-logout (in seconds, optional)' => 'Varsayılan kullanıcı boşta kalma (Zaman aşımı), otomatik çıkış (saniye cinsinden, isteğe bağlı)',
'Default user profile visibility' => 'Varsayılan kullanıcı profili görünürlüğü',
'Delete' => 'Sil',
'Delete all contributions of this user' => 'Bu kullanıcının tüm katkılarını sil',
'Delete invitation' => 'Davetiyeyi sil',
'Delete invitation?' => 'Davetiyeyi sil?',
'Delete spaces which are owned by this user' => 'Bu kullanıcının sahip olduğu mekanları sil',
'Deleted invitation' => 'Silinen davet',
'Deleted users' => 'Silinmiş kullanıcılar',
'Disable' => 'Engel',
'Disabled' => 'Devre dışı',
'Disabled users' => 'Engelli kullanıcılar',
'Do not change placeholders like {displayName} if you want them to be automatically filled by the system. To reset the email content fields with the system default, leave them empty.' => 'Sistem tarafından otomatik olarak doldurulmasını istiyorsanız, {displayName} gibi yer tutucuları değiştirmeyin. E-posta içerik alanlarını sistem varsayılanı ile sıfırlamak için boş bırakın.',
'Edit category' => '',
'Edit profile category' => 'Profil kategorisini düzenle',
'Edit profile field' => 'Profil düzenleme alanı',
'Edit user: {name}' => 'Kullanıcı Düzenle: {name}',
'Enable' => 'Etkin',
'Enabled' => 'Etkin',
'General' => 'Genel',
'Group Manager' => 'Grup Yöneticisi',
'Group not found!' => 'Grup bulunamadı!',
'Group user not found!' => 'Gruba ait kullanıcı bulunamadı!',
'Groups' => 'Gruplar',
'Here you can create or edit profile categories and fields.' => 'Burada profil kategorilerini ve alanlarını oluşturabilir veya düzenleyebilirsiniz.',
'If this option is not selected, the ownership of the spaces will be transferred to your account.' => 'Bu seçenek seçilmezse, mekanların mülkiyeti hesabınıza aktarılır.',
'Impersonate' => 'Taklit etme',
'Include captcha in registration form' => 'Captcha\'yı kayıt formuna dahil et',
'Invite not found!' => 'Davet bulunamadı!',
'LDAP' => 'LDAP',
'Last login' => 'Son giriş',
'List pending registrations' => 'Bekleyen kayıtları listele',
'Manage group: {groupName}' => 'Grubu yönet: {groupName}',
'Manage groups' => 'Grupları yönet',
'Manage profile attributes' => 'Profil niteliklerini yönet',
'Member since' => 'Den beri üye',
'Members' => 'Üyeler',
'Members can invite external users by email' => 'Kullanıcılar eposta ile davet gönderebilirler',
'Message' => 'Mesaj',
'Min value is 20 seconds. If not set, session will timeout after 1400 seconds (24 minutes) regardless of activity (default session timeout)' => 'Minumum 20 saniyedir. 1400 saniye (24 dakika) (varsayılan oturum zaman aşımı) sonra zaman aşımına olacaktır.',
'New approval requests' => 'Yeni onay istekleri',
'No' => 'Hayır',
'No value found!' => 'Hiçbir sonuç bulunamadı!',
'One or more user needs your approval as group admin.' => 'Bir veya daha fazla kullanıcı grubu yönetici onayı bekliyor.',
'Only applicable when limited access for non-authenticated users is enabled. Only affects new users.' => 'Kimliği doğrulanmış kullanıcılar için sınırlı erişim etkin olduğunda geçerli olur. Sadece yeni kullanıcılar etkiler.',
'Overview' => 'Genel Bakış',
'Pending approvals' => 'Bekleyen onaylar',
'Pending user approvals' => 'Bekleyen kullanıcı onayları',
'Permanently delete' => 'Kalıcı olarak silmek',
'Permissions' => 'İzinler',
'Profiles' => 'Profiller',
'Remove from group' => 'Gruptan kaldır',
'Require group admin approval after registration' => 'Kayıttan sonra grup yöneticisinin onayı gerekir',
'Resend invitation email' => 'Davetiye e-postasını tekrar gönder',
'Save' => 'Kaydet',
'Search by name, email or id.' => 'Ad, e-posta veya kimliğe göre arama yapın.',
'Select Groups' => 'Grupları Seç',
'Send & save' => 'Gönder ve kaydet',
'Send invitation email' => 'Davetiye e-postası gönder',
'Send invitation email again?' => 'Davet e-postası tekrar gönderilsin mi?',
'Send invite' => 'Davetiye gönder',
'Settings' => 'Ayarlar',
'Subject' => 'Konu',
'The following list contains all pending sign-ups and invites.' => 'Aşağıdaki liste bekleyen tüm üyelik ve davetleri içerir.',
'The following list contains all registered users awaiting an approval.' => 'Aşağıdaki liste onay bekleyen tüm kayıtlı kullanıcıları içermektedir.',
'The user is the owner of these spaces:' => 'Kullanıcı şu mekanların sahibidir:',
'This overview contains a list of each registered user with actions to view, edit and delete users.' => 'Bu genel bakış, kullanıcıları görüntüleme, düzenleme ve silme eylemleriyle birlikte kayıtlı her kullanıcının listesini içerir.',
'This user owns no spaces.' => 'Bu kullanıcının mekanları yok.',
'Unapproved' => 'Onaylanmamış',
'User deletion process queued.' => 'Kullanıcı silme işlemi sıraya alındı.',
'User is already a member of this group.' => 'Kullanıcı zaten bu grubun üyesi.',
'User not found!' => 'Kullanıcı bulunamadı!',
'Users' => 'Kullanıcılar',
'Users can be assigned to different groups (e.g. teams, departments etc.) with specific standard spaces, group managers and permissions.' => 'Kullanıcılar belirli standart alanlar, grup yöneticileri ve izinlerle farklı gruplara (ör. Ekipler, bölümler vb.) atanabilir.',
'Using this option any contributions (e.g. contents, comments or likes) of this user will be irrevocably deleted.' => 'Bu seçeneğin kullanılmasıyla, bu kullanıcının katkıları (örn: içerik, yorumlar veya beğeniler) geri alınamaz bir şekilde silinir.',
'View profile' => 'Profili Görüntüle',
'Visibility' => 'Görünüm',
'Visible for members only' => 'Sadece üyelere görünür',
'Visible for members+guests' => 'Üyeler+misafirler için görünür',
'Yes' => 'Evet',
'You can only delete empty categories!' => 'Sadece boş kategorileri silebilirsiniz!',
'You cannot delete yourself!' => 'Kendini silemezsin!',
'never' => 'asla',
);

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 [
'Comments' => '',
'Receive Notifications when someone comments on my own or a following post.' => '',
'View Online' => '',
'[Deleted]' => '',
'{displayNames} commented {contentTitle}' => '',
'{displayNames} commented {contentTitle} in space {space}' => '',
'{displayNames} commented {contentTitle}.' => '',
'{displayNames} just commented your {contentTitle}' => '',
'{displayNames} just commented your {contentTitle} in space {space}' => '',
'{displayName} commented {contentTitle}' => '',
'{displayName} commented {contentTitle} in space {space}' => '',
'{displayName} commented {contentTitle}.' => '',
'{displayName} just commented your {contentTitle}' => '',
'{displayName} just commented your {contentTitle} in space {space}' => '',
];
return array (
'Comments' => 'תגובות',
'Receive Notifications when someone comments on my own or a following post.' => 'לקבל התראות כאשר מישהו מגיב על פרסומים שלי',
'View Online' => 'צפיה ישירה',
'[Deleted]' => '',
'{displayNames} commented {contentTitle}' => '{displayNames} הגיב {contentTitle}',
'{displayNames} commented {contentTitle} in space {space}' => '{displayNames} הגיב {contentTitle} באזור {space}',
'{displayNames} commented {contentTitle}.' => '{displayNames} הגיב {contentTitle}',
'{displayNames} just commented your {contentTitle}' => '{displayNames} הגיב לך על {contentTitle}',
'{displayNames} just commented your {contentTitle} in space {space}' => '{displayNames} הגיב לך על {contentTitle} באזור {space}',
'{displayName} commented {contentTitle}' => '',
'{displayName} commented {contentTitle} in space {space}' => '',
'{displayName} commented {contentTitle}.' => '',
'{displayName} just commented your {contentTitle}' => '',
'{displayName} just commented your {contentTitle} in space {space}' => '',
);

View File

@ -291,4 +291,14 @@ class Comment extends ContentAddonActiveRecord implements ContentOwner
return false;
}
/**
* TODO: Unify with Content::isUpdated() see https://github.com/humhub/humhub/pull/4380
* @returns boolean true if this comment has been updated, otherwise false
* @since 1.7
*/
public function isUpdated()
{
return $this->created_at !== $this->updated_at && !empty($this->updated_at) && is_string($this->updated_at);
}
}

View File

@ -0,0 +1,63 @@
<?php
/**
* @link https://www.humhub.org/
* @copyright Copyright (c) 2017 HumHub GmbH & Co. KG
* @license https://www.humhub.com/licences
*
*/
namespace tests\codeception\unit\modules\content;
use humhub\modules\comment\models\Comment;
use tests\codeception\_support\HumHubDbTestCase;
use humhub\modules\post\models\Post;
class CommentEditTest extends HumHubDbTestCase
{
public function testNewCommentIsNotEdited()
{
$this->becomeUser('User2');
$comment = new Comment([
'message' => 'User2 comment!',
'object_model' => Post::class,
'object_id' => 11
]);
$this->assertTrue($comment->save());
$this->assertFalse($comment->isUpdated());
// Reload content
$comment = Comment::findOne(['id' => $comment->id]);
$this->assertFalse($comment->content->isUpdated());
}
public function testEditedContentIsEdited()
{
$this->becomeUser('User2');
$comment = new Comment([
'message' => 'User2 comment!',
'object_model' => Post::class,
'object_id' => 11
]);
$this->assertTrue($comment->save());
// Wait a second in order to prevent created_at = edited_at
sleep(1);
// Reload content
$comment = Comment::findOne(['id' => $comment->id]);
$comment->message = 'Updated Message';
$this->assertTrue($comment->save());
// See https://github.com/humhub/humhub/issues/4381
$comment->refresh();
$this->assertTrue($comment->isUpdated());
// Reload content
$comment = Comment::findOne(['id' => $comment->id]);
$this->assertTrue($comment->isUpdated());
}
}

View File

@ -154,6 +154,24 @@ abstract class ContentContainerActiveRecord extends ActiveRecord
return static::findOne(['guid' => $token]);
}
/**
* Compares this container with the given $container instance. If the $container is null this function will always
* return false. Null values are accepted in order to safely enable calls as `$user->is(Yii::$app->user->getIdentity())`
* which would otherwise fail in case of guest users.
*
* @param ContentContainerActiveRecord|null $container
* @return bool
* @since 1.7
*/
public function is(ContentContainerActiveRecord $container = null)
{
if (!$container || !($container instanceof self)) {
return false;
}
return $container->contentcontainer_id === $this->contentcontainer_id;
}
/**
* @inheritdoc
*/

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 [
'Contents' => '',
'Whenever a new content (e.g. post) has been created.' => '',
'{displayName} created a new {contentTitle}.' => '',
];
return array (
'Contents' => 'תוכן',
'Whenever a new content (e.g. post) has been created.' => 'מתי שנוצר תוכן חדש',
'{displayName} created a new {contentTitle}.' => '{displayName} תוכן חדש נוצר {contentTitle}.',
);

View File

@ -538,6 +538,7 @@ class Content extends ActiveRecord implements Movable, ContentOwner
if (!$container) {
$container = $this->container;
}
return $this->getModel()->isOwner() || Yii::$app->user->can(ManageUsers::class) || $container->can(ManageContent::class);
}
@ -877,4 +878,13 @@ class Content extends ActiveRecord implements Movable, ContentOwner
{
return $this->getModel()->getContentDescription();
}
/**
* @returns boolean true if this content has been updated, otherwise false
* @since 1.7
*/
public function isUpdated()
{
return $this->created_at !== $this->updated_at && !empty($this->updated_at) && is_string($this->updated_at);
}
}

View File

@ -0,0 +1,65 @@
<?php
/**
* @link https://www.humhub.org/
* @copyright Copyright (c) 2020 HumHub GmbH & Co. KG
* @license https://www.humhub.com/licences
*
*/
namespace tests\codeception\unit\modules\content;
use humhub\modules\user\models\User;
use tests\codeception\_support\HumHubDbTestCase;
use humhub\modules\space\models\Space;
use Yii;
class ContentContainerActiveRecordTest extends HumHubDbTestCase
{
public function testUserIsNotASpace()
{
$user = User::findOne(['id' => 1]);
$space = Space::findOne(['id' => 2]);
$this->assertFalse($user->is($space));
}
public function testSpaceIsSameSpace()
{
$space = Space::findOne(['id' => 1]);
$space1 = Space::findOne(['id' => 1]);
$this->assertTrue($space->is($space1));
}
public function testUserIsNotAnotherUser()
{
$user = User::findOne(['id' => 1]);
$user2 = User::findOne(['id' => 2]);
$this->assertFalse($user->is($user2));
}
public function testUserIsSameUser()
{
$user = User::findOne(['id' => 1]);
$user1 = User::findOne(['id' => 1]);
$this->assertTrue($user->is($user1));
}
public function testGuestISNotUser()
{
$user = User::findOne(['id' => 1]);
$this->assertFalse($user->is(Yii::$app->user->getIdentity()));
}
public function testNullISNotUser()
{
$space = Space::findOne(['id' => 1]);
$this->assertFalse($space->is(null));
}
}

View File

@ -0,0 +1,60 @@
<?php
/**
* @link https://www.humhub.org/
* @copyright Copyright (c) 2017 HumHub GmbH & Co. KG
* @license https://www.humhub.com/licences
*
*/
namespace tests\codeception\unit\modules\content;
use tests\codeception\_support\HumHubDbTestCase;
use humhub\modules\post\models\Post;
use humhub\modules\space\models\Space;
use humhub\modules\content\models\Content;
class ContentEditTest extends HumHubDbTestCase
{
public function testNewContentIsNotEdited()
{
$this->becomeUser('User2');
$space = Space::findOne(['id' => 2]);
$post1 = new Post($space, Content::VISIBILITY_PUBLIC, ['message' => 'Test']);
$this->assertTrue($post1->save());
$this->assertFalse($post1->content->isEdited());
// Reload content
$post1 = Post::findOne(['id' => $post1->id]);
$this->assertFalse($post1->content->isEdited());
}
public function testEditedContentIsEdited()
{
$this->becomeUser('User2');
$space = Space::findOne(['id' => 2]);
$post1 = new Post($space, Content::VISIBILITY_PUBLIC, ['message' => 'Test']);
$this->assertTrue($post1->save());
// Wait a second in order to prevent created_at = edited_at
sleep(1);
// Reload content
$post1 = Post::findOne(['id' => $post1->id]);
$post1->message = 'Updated Message';
$this->assertTrue($post1->save());
// See https://github.com/humhub/humhub/issues/4381
$post1->refresh();
$this->assertTrue($post1->content->isUpdated());
// Reload content
$post1 = Post::findOne(['id' => $post1->id]);
$this->assertTrue($post1->content->isUpdated());
}
}

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 [
'<b>No public contents to display found!</b>' => '',
'<b>Your dashboard is empty!</b><br>Post something on your profile or join some spaces!' => '',
'Dashboard' => '',
];
return array (
'<b>No public contents to display found!</b>' => 'אין תוכן ציבורי להצגה',
'<b>Your dashboard is empty!</b><br>Post something on your profile or join some spaces!' => '<b>לוח המכוונים שלך ריק</b><br>תפרסם תוכן או תצטרף לאזור מסויים',
'Dashboard' => 'לוח מכוונים',
);

View File

@ -2,40 +2,40 @@
return array (
'<b>Nobody has written anything yet.</b><br>Post to get things started...' => '',
'<b>There are no profile posts yet!</b>' => '',
'<strong>Directory</strong> menu' => '',
'<strong>Directory</strong> menu' => '<strong>תיקייה</strong> תפריט',
'<strong>Group</strong> members - {group}' => '',
'<strong>Group</strong> stats' => '',
'<strong>Member</strong> Group Directory' => '',
'<strong>Group</strong> stats' => '<strong>קבוצה</strong> סטטיסטיקה',
'<strong>Member</strong> Group Directory' => '<strong>חבר</strong> קבוצת תיקייה',
'<strong>Member</strong> directory' => '',
'<strong>Member</strong> stats' => '',
'<strong>New</strong> people' => '',
'<strong>New</strong> spaces' => '',
'<strong>Space</strong> directory' => '',
'<strong>Space</strong> stats' => '',
'Access directory' => '',
'Average members' => '',
'Can access the directory section.' => '',
'Directory' => '',
'Follows somebody' => '',
'Groups' => '',
'Members' => '',
'Access directory' => 'גישה לתיקייה',
'Average members' => 'ממוצע חברים',
'Can access the directory section.' => 'אין אפשרות לגשת לתיקייה',
'Directory' => 'תיקייה',
'Follows somebody' => 'עקוב אחריי מישהו',
'Groups' => 'קבוצות',
'Members' => 'חברים',
'Most members' => '',
'No members found!' => '',
'No spaces found!' => '',
'Online right now' => '',
'Private spaces' => '',
'No members found!' => 'לא נמצאו חברים !',
'No spaces found!' => 'לא נמצאו אזוריים !',
'Online right now' => 'מקוון נכון לעכשיו',
'Private spaces' => 'אזורים פרטיים',
'Search' => 'חיפוש',
'See all' => '',
'Send invite' => '',
'Spaces' => '',
'This group has no members yet.' => '',
'Top Group' => '',
'Total groups' => '',
'Total spaces' => '',
'Total users' => '',
'User profile posts' => '',
'You are a member of this space' => '',
'search for members' => '',
'search for spaces' => '',
'show all members' => '',
'See all' => 'הצג הכל',
'Send invite' => 'שלח הזמנה',
'Spaces' => 'אזורים',
'This group has no members yet.' => 'בקבוצה הזאת אין עדיין חברים',
'Top Group' => 'הקבוצות הראשיות',
'Total groups' => 'כלל הקבוצות',
'Total spaces' => 'כלל האזורים',
'Total users' => 'כלל המשתמשים',
'User profile posts' => 'פרסומים מהמשתמש',
'You are a member of this space' => 'אתה חבר באזור הזה',
'search for members' => 'חפש חברים',
'search for spaces' => 'חפש אזורים',
'show all members' => 'הצג את כל החברים',
);

View File

@ -1,8 +1,8 @@
<?php
return array (
'<strong>Admin</strong> Account' => '',
'<strong>Configuration</strong>' => '',
'<strong>Congratulations</strong>. You\'re done.' => '',
'<strong>Admin</strong> Account' => '<strong>מנהל</strong> חשבון',
'<strong>Configuration</strong>' => '<strong>הגדרות</strong>',
'<strong>Congratulations</strong>. You\'re done.' => '<strong>הגדרות</strong>. You\'re done.',
'<strong>Database</strong> Configuration' => '',
'<strong>Example</strong> contents' => '',
'<strong>System</strong> Check' => '',
@ -11,9 +11,9 @@ return array (
'Allow friendships between members' => '',
'Below you have to enter your database connection details. If youre not sure about these, please contact your system administrator.' => '',
'Calvin Klein Between love and madness lies obsession.' => '',
'Check again' => '',
'Check again' => 'בדוק שוב',
'Congratulations! Everything is ok and ready to start over!' => '',
'Create Admin Account' => '',
'Create Admin Account' => 'צור חשבון מנהל',
'Downloading & Installing Modules...' => '',
'External users can register (show registration form on login)' => '',
'Here you can decide how new, unregistered users can access HumHub.' => '',
@ -22,8 +22,8 @@ return array (
'HumHub is very flexible and can be adjusted and/or expanded for various different applications thanks to its different modules. The following modules are just a few examples and the ones we thought are most important for your chosen application.<br><br>You can always install or remove modules later. You can find more available modules after installation in the admin area.' => '',
'I want to use HumHub for:' => '',
'Initializing database...' => '',
'My club' => '',
'My community' => '',
'My club' => 'הקבוצות שלי',
'My community' => 'הקהילות שלי',
'My company (Social Intranet / Project management)' => '',
'My educational institution (school, university)' => '',
'Name of Database' => '',
@ -38,7 +38,7 @@ return array (
'Registered members can invite new users via email' => '',
'Security <strong>Settings</strong>' => '',
'Set up example content (recommended)' => '',
'Sign in' => '',
'Sign in' => 'התחבר',
'Skip this step, I want to set up everything manually' => '',
'Social Network <strong>Name</strong>' => '',
'The installation completed successfully! Have fun with your new social network.' => '',
@ -47,9 +47,9 @@ return array (
'This wizard will install and configure your own HumHub instance.<br><br>To continue, click Next.' => '',
'To avoid a blank dashboard after your initial login, HumHub can install example contents for you. Those will give you a nice general view of how HumHub works. You can always delete the individual contents.' => '',
'To simplify the configuration, we have predefined setups for the most common use cases with different options for modules and settings. You can adjust them during the next step.' => '',
'Username' => '',
'Username' => 'שם משתמש',
'We\'re looking for great slogans of famous brands. Maybe you can come up with some samples?' => '',
'Welcome Space' => '',
'Welcome Space' => 'ברוכים הבאים לאזור',
'Yay! I\'ve just installed HumHub ;Cool;' => '',
'You\'re almost done. In this step you have to fill out the form to create an admin account. With this account you can manage the whole network.' => '',
'Your MySQL password.' => '',

View File

@ -1,6 +1,6 @@
<?php
return array (
'Likes' => 'Me gusta',
'Whenever someone likes something (e.g. a post or comment).' => 'Cuando a alguien le guste algo (ej: una publicación o un comentario).',
'Whenever someone likes something (e.g. a post or comment).' => 'Siempre que a alguien le guste algo (ej: una publicación o un comentario).',
'{userDisplayName} likes {contentTitle}' => 'A {userDisplayName} le gusta {contentTitle}',
);

View File

@ -1,7 +1,7 @@
<?php
return array (
' likes this.' => 'le gusta.',
'<strong>Users</strong> who like this' => '<strong>Usuarios</strong> que les gusta esto',
'<strong>Users</strong> who like this' => '<strong>Usuarios</strong> a los que les gusta esto',
'Like' => 'Me gusta',
'Unlike' => 'Ya no me gusta',
'You' => 'Tú',

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 [
'Likes' => '',
'Whenever someone likes something (e.g. a post or comment).' => '',
'{userDisplayName} likes {contentTitle}' => '',
];
return array (
'Likes' => 'אהבות',
'Whenever someone likes something (e.g. a post or comment).' => '',
'{userDisplayName} likes {contentTitle}' => '{userDisplayName} אהב את {contentTitle}',
);

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 [
'E-Mail' => '',
'Mobile' => '',
'Web' => '',
];
return array (
'E-Mail' => 'דוא"ל',
'Mobile' => 'סלולרי',
'Web' => 'אתר',
);

View File

@ -1,12 +1,12 @@
<?php
return array (
'Allow others to create new posts on your profile page' => '',
'Allows the user to create posts' => '',
'Allow others to create new posts on your profile page' => 'אפשר לאחרים ליצור פרסום בעמוד שלך',
'Allows the user to create posts' => 'אפשר למשתמשים ליצור פרסום',
'Collapse' => 'סגור',
'Create post' => '',
'Edit your post...' => '',
'Read full post...' => '',
'This space is archived.' => '',
'What\'s on your mind?' => '',
'post' => '',
'Create post' => 'צור פרסום',
'Edit your post...' => 'ערוך את הפרסום שלך',
'Read full post...' => 'קרא את כל הפרסום',
'This space is archived.' => 'האזור הזה מאורכב',
'What\'s on your mind?' => 'על מה אתה חושב ?',
'post' => 'פרסום',
);

View File

@ -1,14 +1,14 @@
<?php
return array (
'<strong>Search </strong> results' => '',
'Advanced search settings' => '',
'All' => '',
'Content' => '',
'Advanced search settings' => 'הגדרות חיפוש מתקדמות',
'All' => 'הכל',
'Content' => 'תוכן',
'Search' => 'חיפוש',
'Search for user, spaces and content' => '',
'Search only in certain spaces:' => '',
'Spaces' => '',
'Specify space' => '',
'Users' => '',
'Your search returned no matches.' => '',
'Users' => 'משתמשים',
'Your search returned no matches.' => 'החיפוש שלך לא החזיר תוצאות',
);

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 [
'Space has been archived' => '',
'Space has been unarchived' => '',
'Space member joined' => '',
'Space member left' => '',
'Whenever a member leaves one of your spaces.' => '',
'Whenever a new member joined one of your spaces.' => '',
'Whenever a space is archived.' => '',
'Whenever a space is unarchived.' => '',
];
return array (
'Space has been archived' => 'האזור מאורכב',
'Space has been unarchived' => 'האזור יצא מארכוב',
'Space member joined' => 'הצטרף חבר לאזור',
'Space member left' => 'חבר עזב את האזור',
'Whenever a member leaves one of your spaces.' => '',
'Whenever a new member joined one of your spaces.' => '',
'Whenever a space is archived.' => '',
'Whenever a space is unarchived.' => '',
);

View File

@ -8,43 +8,43 @@ return array (
'<strong>Space</strong> Modules' => '',
'<strong>Space</strong> settings' => '',
'Actions' => 'פעולות',
'Activated' => '',
'Activated' => 'הופעל',
'Add <strong>Modules</strong>' => '',
'Advanced access settings' => '',
'Archive' => '',
'Archive' => 'ארכיון',
'Are you sure, that you want to delete this space? All published content will be removed!' => '',
'Are you sure? *ALL* module data for this space will be deleted!' => '',
'As owner of this space you can transfer this role to another administrator in space.' => '',
'Cancel Membership' => '',
'Cancel Membership' => 'בטל חברות',
'Choose if new content should be public or private by default' => '',
'Choose the kind of membership you want to provide for this workspace.' => '',
'Choose the security level for this workspace to define the visibleness.' => '',
'Configure' => '',
'Currently there are no modules available for this space!' => '',
'Delete' => 'מחק',
'Disable' => '',
'Disable' => 'בטל',
'Don\'t receive notifications for new content' => '',
'Enable' => '',
'Enable' => 'פעיל',
'Enhance this space with modules.' => '',
'Hide posts on dashboard' => '',
'Invited By' => '',
'Members' => '',
'Modules' => '',
'Invited By' => 'הוזמן ע"י',
'Members' => 'חברים',
'Modules' => 'מודולים',
'Next' => 'הבא',
'Owner' => '',
'Pending Approvals' => '',
'Pending Invites' => '',
'Owner' => 'בעלים',
'Pending Approvals' => 'ממתין לאישור',
'Pending Invites' => 'ממתין להזמנה',
'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.' => '',
'Please type the name of the space to proceed.' => '',
'Receive Notifications for new content' => '',
'Remove from space' => '',
'Role' => '',
'Security' => '',
'Remove from space' => 'הסר מהאזור',
'Role' => 'תפקיד',
'Security' => 'אבטחה',
'Send & decline' => '',
'Show all' => '',
'Show posts on dashboard' => '',
'Space name' => '',
'Space owner' => '',
'Show all' => 'הצג הכל',
'Show posts on dashboard' => 'הצג פרסומים בלוח מכוונים',
'Space name' => 'שם האזור',
'Space owner' => 'בעלי האזור',
'Stream (Default)' => '',
'The url contains illegal characters!' => '',
'This option will hide new content from this space at your dashboard' => '',

View File

@ -618,22 +618,6 @@ class User extends ContentContainerActiveRecord implements IdentityInterface, Se
return $this->is(Yii::$app->user->getIdentity());
}
/**
* Checks if the given $user instance shares the same identity with this
* user instance.
*
* @param \humhub\modules\user\models\User $user
* @return boolean
*/
public function is(User $user = null)
{
if (!$user) {
return false;
}
return $user->id === $this->id;
}
/**
* @inheritdoc
*/

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 [
'Web' => '',
];
return array (
'Web' => 'אתר',
);