DEV: Небольшие изменения в локализации

This commit is contained in:
Evg 2022-03-28 18:52:57 +03:00
parent 8ea077d205
commit f3b12d5151
39 changed files with 211 additions and 258 deletions

View file

@ -42,7 +42,7 @@ class AuditController extends MainController
public static function stopContentQuietМode($user_limiting_mode)
{
if ($user_limiting_mode == 1) {
Html::addMsg('limiting-mode-1', 'error');
Html::addMsg('silent.mode', 'error');
redirect('/');
}
return true;

View file

@ -58,7 +58,7 @@ class RegisterController extends MainController
Validation::Email($email, $redirect);
if (is_array(AuthModel::checkRepetitions($email, 'email'))) {
Html::addMsg('e-mail-replay', 'error');
Html::addMsg('email.replay', 'error');
redirect($redirect);
}
@ -70,7 +70,7 @@ class RegisterController extends MainController
}
if (is_array(AuthModel::repeatIpBanRegistration($reg_ip))) {
Html::addMsg('multiple-accounts', 'error');
Html::addMsg('multiple.accounts', 'error');
redirect($redirect);
}
@ -78,13 +78,13 @@ class RegisterController extends MainController
Validation::Length($login, Translate::get('nickname'), '3', '10', $redirect);
if (preg_match('/(\w)\1{3,}/', $login)) {
Html::addMsg('nickname-repeats-characters', 'error');
Html::addMsg('nick.character.repetitions', 'error');
redirect($redirect);
}
// Запретим, хотя лучшая практика занять нужные (пр. GitHub)
if (in_array($login, Config::get('stop-nickname'))) {
Html::addMsg('nickname-replay', 'error');
Html::addMsg('nickname.replay', 'error');
redirect($redirect);
}
@ -95,7 +95,7 @@ class RegisterController extends MainController
Validation::Length($password, Translate::get('password'), '8', '32', $redirect);
if (substr_count($password, ' ') > 0) {
Html::addMsg('password-spaces', 'error');
Html::addMsg('password.spaces', 'error');
redirect($redirect);
}
@ -181,7 +181,7 @@ class RegisterController extends MainController
$invate = InvitationModel::available($code);
if (!$invate) {
Html::addMsg('the code is incorrect', 'error');
Html::addMsg('code.incorrect', 'error');
redirect('/');
}

View file

@ -46,8 +46,8 @@ class AddFacetController extends MainController
$redirect = ($facet_type == 'category') ? getUrlByName('web') : getUrlByName($facet_type . '.add');
if ($facet_type == 'blog') {
if ($this->user['trust_level'] != UserData::REGISTERED_ADMIN) {
if (in_array($facet_slug, Config::get('stop-blog'))) {
Html::addMsg('stop-blog', 'error');
if (in_array($facet_slug, Config::get('stop.blog'))) {
Html::addMsg('url.reserved', 'error');
redirect($redirect);
}
}

View file

@ -62,7 +62,7 @@ class MessagesController extends MainController
return Tpl::agRender(
'/messages/messages',
[
'meta' => Meta::get($m = [], Translate::get('private messages')),
'meta' => Meta::get($m = [], Translate::get('private.messages')),
'data' => [
'sheet' => 'messages',
'type' => 'messages',
@ -77,12 +77,12 @@ class MessagesController extends MainController
$id = Request::getInt('id');
if (!$dialog = MessagesModel::getDialogById($id)) {
Html::addMsg('the dialog does not exist', 'error');
Html::addMsg('no.dialogue', 'error');
redirect(getUrlByName('messages', ['login' => $this->user['login']]));
}
if ($dialog['dialog_recipient_id'] != $this->user['id'] and $dialog['dialog_sender_id'] != $this->user['id']) {
Html::addMsg('the topic does not exist', 'error');
Html::addMsg('no.topic', 'error');
redirect(getUrlByName('messages', ['login' => $this->user['login']]));
}
@ -150,7 +150,7 @@ class MessagesController extends MainController
return Tpl::agRender(
'/messages/user-add-messages',
[
'meta' => Meta::get($m = [], Translate::get('send a message')),
'meta' => Meta::get($m = [], Translate::get('send.message')),
'data' => [
'recipient_uid' => $user['id'],
'login' => $user['login'],

View file

@ -210,7 +210,7 @@ class AddPostController extends MainController
'item_url' => $item_url,
'item_domain' => $post_url_domain,
'item_title' => $post_title,
'item_content' => Translate::get('description is formed'),
'item_content' => Translate::get('description.formed'),
'item_published' => 0,
'item_user_id' => $this->user['id'],
'item_type_url' => 0,

View file

@ -65,7 +65,7 @@ class InvitationsController extends MainController
$inv_user = InvitationModel::duplicate($invitation_email);
if ($inv_user['invitation_email'] == $invitation_email) {
Html::addMsg('invate-to-replay', 'error');
Html::addMsg('invate.to.replay', 'error');
redirect($redirect);
}

View file

@ -156,7 +156,7 @@ class SettingController extends MainController
}
if (substr_count($password2, ' ') > 0) {
Html::addMsg('password-spaces', 'error');
Html::addMsg('password.spaces', 'error');
redirect($redirect);
}

View file

@ -95,10 +95,10 @@ $data = [
'sign out' => 'Ausloggen',
'registration' => 'Anmelden',
'advertising' => 'Werbung',
'private messages' => 'Private Nachrichten',
'private.messages' => 'Private Nachrichten',
'it was read' => 'Es wurde gelesen',
'all messages' => 'Alle Nachrichten',
'send a message' => 'Eine Nachricht schicken',
'send.message' => 'Eine Nachricht schicken',
'dialogues' => 'Dialoge',
'dialogue' => 'Dialog',
'write a message' => 'Eine Nachricht schreiben',
@ -265,9 +265,8 @@ $data = [
'post.closed' => 'Post closed',
'forgot.password' => 'Forgot your password',
'rules' => 'Site rules',
'privacy policy' => 'Privacy Policy',
'restriction' => 'Restrictions',
'no-invate-txt' => 'Not a user yet? Registration is by invitation only to combat spam and increase accountability. If you know the <a href="/users">current user</a> of the site, ask him for an invitation.',
'invate.text' => 'Not a user yet? Registration is by invitation only to combat spam and increase accountability. If you know the <a href="/users">current user</a> of the site, ask him for an invitation.',
'text.closed' => 'Ohne Genehmigung ist es verboten, diesen versteckten Text anzuzeigen',
@ -339,7 +338,7 @@ $data = [
'pass.match.err' => 'Password mismatch',
'login.use.condition' => 'By continuing, you agree to <a href="/info/article/privacy">Terms of use</a> site',
'user-already' => 'The user is already on the site',
'invate-to-replay' => 'You have already sent an invitation to this user',
'invate.to.replay' => 'You have already sent an invitation to this user',
'invate.limit.stop' => 'Sie haben die Anzahl der Einladungen erschöpft',
'limit.day' => 'For %1$s you have reached the limit %2$s for today',
'limit.add.content.no' => 'You have reached the limit for adding set on the site',
@ -377,7 +376,6 @@ $data = [
'info-setting' => 'Fill in your name, this will help attendees refer to you by name. <br> <br> Tell us something about yourself. You have a great opportunity to open up to please others and seem like an interesting person.',
'info-avatar' => 'Upload an avatar and cover for your profile. <br> <br> When each user has a unique avatar, it becomes much easier to follow the discussions! ',
'info-security' => 'Make sure all your passwords are 8 characters or more, ideally a lot more.',
'info-search' => 'To refine your search, try to find a more precise query.',
'info-login' => 'Authorization gives you the ability to publish posts, reply, comment.',
'info-recover' => 'After clicking the "Reset" button, check your email...',
'info-favorite' => 'Posts, comments and questions in your bookmarks',
@ -399,35 +397,33 @@ $data = [
'content.audit' => 'Your message has been sent for review.',
'limit.tl.invitation' => 'Your trust level does not yet allow using invites',
'can send this link' => 'You can send this link ',
'link has been used' => 'Link has been used',
'the link was used to' => 'The link was used to',
'link.used' => 'Link has been used',
'medal.registration' => 'Registration Medal',
'registered' => 'Registered ',
'invitations left' => 'Invitations left',
'under.reconstruction' => 'The site is under reconstruction',
'limiting-mode-1' => 'You cannot publish materials, your account is being verified',
'the dialog does not exist' => 'The specified dialog does not exist',
'the topic does not exist' => 'The specified topic does not exist',
'site.replay' => 'Such a site is already in the system',
'joined in the early days' => 'Joined in the early days of the community launch',
'nickname-replay' => 'This nickname is already on the site',
'e-mail-replay' => 'This email is already on the site',
'multiple-accounts' => 'Don. t register multiple accounts ',
'password-spaces' => 'Password cannot contain spaces',
'nickname-repeats-characters' => 'There are too many repeating characters in the nickname',
'the code is incorrect' => 'The code is incorrect or has already been used',
'format-cover-post' => 'Width greater than 500px. Orientation horizontal',
'email.password.not.correct' => 'Email or password is not correct',
'account.not.activated' => 'Your account is not activated',
'account.being.verified' => 'Your account is pending',
'email.correctness' => 'Invalid email',
'email.no.site' => 'This email is not on the site',
'english' => 'English',
'design choice' => 'Choice of design',
'work email' => 'Work email (for <b> activation </b> account)',
'new.password.email' => 'Der Link zum Zurücksetzen des Passworts wurde an eine E-Mail gesendet',
'check.your.email' => 'Check your email to activate your account',
'under.reconstruction' => 'The site is under reconstruction',
'silent.mode' => 'You cannot publish materials, your account is being verified',
'no.dialogue' => 'The specified dialog does not exist',
'no.topic' => 'The specified topic does not exist',
'site.replay' => 'Such a site is already in the system',
'first.days' => 'Joined in the early days of the community launch',
'nickname.replay' => 'This nickname is already on the site',
'email.replay' => 'This email is already on the site',
'multiple.accounts' => 'Don. t register multiple accounts ',
'password.spaces' => 'Password cannot contain spaces',
'nick.character.repetitions' => 'There are too many repeating characters in the nickname',
'code.incorrect' => 'The code is incorrect or has already been used',
'format.cover.post' => 'Width greater than 500px. Orientation horizontal',
'email.password.not.correct' => 'Email or password is not correct',
'account.not.activated' => 'Your account is not activated',
'account.being.verified' => 'Your account is pending',
'email.correctness' => 'Invalid email',
'email.no.site' => 'This email is not on the site',
'english' => 'English',
'work email' => 'Work email (for <b> activation </b> account)',
'new.password.email' => 'Der Link zum Zurücksetzen des Passworts wurde an eine E-Mail gesendet',
'check.your.email' => 'Check your email to activate your account',
'view.post.tl' => 'Wer kann den Beitrag anzeigen (aus welcher TL)',
'long name from' => 'Long name from',
'breaking.rules' => 'This violates the rules of the site',
@ -438,14 +434,13 @@ $data = [
'page.not' => 'The page does not exist',
'to main' => 'To main',
'page.removed' => 'The page has been removed',
'the command is executed' => 'Command executed',
'you can add more' => 'You can add more',
'command.executed' => 'Command executed',
'recommended posts' => 'recommended posts',
'recommended.posts.desc' => 'Recommended posts in «%1$s» hand - selected. ',
'topic-subscription' => 'Subscribe to topics and read them in the feed',
'stop-blog' => 'This blog URL is reserved',
'topic.subscription' => 'Subscribe to topics and read them in the feed',
'url.reserved' => 'This blog URL is reserved',
/* Meta - desc */
'profile.posts.title' => '%1$s — Mitgliederprofil, Beiträge ',

View file

@ -94,10 +94,10 @@ $data = [
'sign out' => 'Sign out',
'registration' => 'Sign up',
'advertising' => 'Advertising',
'private messages' => 'Private messages',
'private.messages' => 'Private messages',
'it was read' => 'It was read',
'all messages' => 'All messages',
'send a message' => 'Send a message',
'send.message' => 'Send a message',
'dialogues' => 'Dialogues',
'dialogue' => 'Dialogue',
'write a message' => 'Write a message',
@ -262,9 +262,8 @@ $data = [
'post.closed' => 'Post closed',
'forgot.password' => 'Forgot your password',
'rules' => 'Site rules',
'privacy policy' => 'Privacy Policy',
'restriction' => 'Restrictions',
'no-invate-txt' => 'Not a user yet? Registration is by invitation only to combat spam and increase accountability. If you know the <a href="/users">current user</a> of the site, ask him for an invitation.',
'invate.text' => 'Not a user yet? Registration is by invitation only to combat spam and increase accountability. If you know the <a href="/users">current user</a> of the site, ask him for an invitation.',
'text.closed' => 'Without authorization it is forbidden to view this hidden text',
@ -336,7 +335,7 @@ $data = [
'pass.match.err' => 'Password mismatch',
'login.use.condition' => 'By continuing, you agree to <a href="/info/article/privacy">Terms of use</a> site',
'user-already' => 'The user is already on the site',
'invate-to-replay' => 'You have already sent an invitation to this user',
'invate.to.replay' => 'You have already sent an invitation to this user',
'invate.limit.stop' => 'You have exhausted the number of invites',
'limit.day' => 'For %1$s you have reached the limit %2$s for today',
'limit.add.content.no' => 'You have reached the limit for adding set on the site',
@ -374,7 +373,6 @@ $data = [
'info-setting' => 'Fill in your name, this will help attendees refer to you by name. <br> <br> Tell us something about yourself. You have a great opportunity to open up to please others and seem like an interesting person.',
'info-avatar' => 'Upload an avatar and cover for your profile. <br> <br> When each user has a unique avatar, it becomes much easier to follow the discussions! ',
'info-security' => 'Make sure all your passwords are 8 characters or more, ideally a lot more',
'info-search' => 'To refine your search, try to find a more precise query',
'info-login' => 'Authorization gives you the ability to publish posts, reply, comment',
'info-recover' => 'After clicking the "Reset" button, check your email...',
'info-favorite' => 'Posts, comments and questions in your bookmarks',
@ -395,32 +393,30 @@ $data = [
'content.audit' => 'Your message has been sent for review.',
'limit.tl.invitation' => 'Your trust level does not yet allow using invites',
'can send this link' => 'You can send this link ',
'link has been used' => 'Link has been used',
'the link was used to' => 'The link was used to',
'link.used' => 'The link was used',
'medal.registration' => 'Registration Medal',
'registered' => 'Registered ',
'invitations left' => 'Invitations left',
'under.reconstruction' => 'The site is under reconstruction',
'limiting-mode-1' => 'You cannot publish materials, your account is being verified',
'the dialog does not exist' => 'The specified dialog does not exist',
'the topic does not exist' => 'The specified topic does not exist',
'site.replay' => 'Such a site is already in the system',
'joined in the early days' => 'Joined in the early days of the community launch',
'nickname-replay' => 'This nickname is already on the site',
'e-mail-replay' => 'This email is already on the site',
'multiple-accounts' => 'Don. t register multiple accounts ',
'password-spaces' => 'Password cannot contain spaces',
'nickname-repeats-characters' => 'There are too many repeating characters in the nickname',
'the code is incorrect' => 'The code is incorrect or has already been used',
'format-cover-post' => 'Width greater than 500px. Orientation horizontal',
'under.reconstruction' => 'The site is under reconstruction',
'silent.mode' => 'You cannot publish materials, your account is being verified',
'no.dialogue' => 'The specified dialog does not exist',
'no.topic' => 'The specified topic does not exist',
'site.replay' => 'Such a site is already in the system',
'first.days' => 'Joined in the early days of the community launch',
'nickname.replay' => 'This nickname is already on the site',
'email.replay' => 'This email is already on the site',
'multiple.accounts' => 'Don. t register multiple accounts ',
'password.spaces' => 'Password cannot contain spaces',
'nick.character.repetitions' => 'There are too many repeating characters in the nickname',
'code.incorrect' => 'The code is incorrect or has already been used',
'format.cover.post' => 'Width greater than 500px. Orientation horizontal',
'email.password.not.correct' => 'Email or password is not correct',
'account.not.activated' => 'Your account is not activated',
'account.being.verified' => 'Your account is pending',
'email.correctness' => 'Invalid email',
'email.no.site' => 'This email is not on the site',
'english' => 'English',
'design choice' => 'Choice of design',
'work email' => 'Work email (for <b> activation </b> account)',
'new.password.email' => 'The link to reset the password has been sent to email',
'check.your.email' => 'Check your email to activate your account',
@ -434,14 +430,13 @@ $data = [
'page.not' => 'The page does not exist',
'to main' => 'To main',
'page.removed' => 'The page has been removed',
'the command is executed' => 'Command executed',
'you can add more' => 'You can add more',
'command.executed' => 'Command executed',
'recommended posts' => 'recommended posts',
'recommended.posts.desc' => 'Recommended posts in «%1$s» hand - selected. ',
'topic-subscription' => 'Subscribe to topics and read them in the feed',
'stop-blog' => 'This blog URL is reserved',
'topic.subscription' => 'Subscribe to topics and read them in the feed',
'url.reserved' => 'This blog URL is reserved',
/* Meta - desc */
'profile.posts.title' => '%1$s — member profile, posts ',

View file

@ -96,10 +96,10 @@ $data = [
'sign out' => 'Sign out',
'registration' => 'Sign up',
'advertising' => 'Advertising',
'private messages' => 'Private messages',
'private.messages' => 'Private messages',
'it was read' => 'It was read',
'all messages' => 'All messages',
'send a message' => 'Send a message',
'send.message' => 'Send a message',
'dialogues' => 'Dialogues',
'dialogue' => 'Dialogue',
'write a message' => 'Write a message',
@ -265,9 +265,8 @@ $data = [
'post.closed' => 'Post closed',
'forgot.password' => 'Forgot your password',
'rules' => 'Site rules',
'privacy policy' => 'Privacy Policy',
'restriction' => 'Restrictions',
'no-invate-txt' => 'Not a user yet? Registration is by invitation only to combat spam and increase accountability. If you know the <a href="/users">current user</a> of the site, ask him for an invitation.',
'invate.text' => 'Not a user yet? Registration is by invitation only to combat spam and increase accountability. If you know the <a href="/users">current user</a> of the site, ask him for an invitation.',
'text.closed' => 'Sans autorisation, il est interdit de voir ce texte caché',
@ -339,7 +338,7 @@ $data = [
'pass.match.err' => 'Password mismatch',
'login.use.condition' => 'By continuing, you agree to <a href="/info/article/privacy">Terms of use</a> site',
'user-already' => 'The user is already on the site',
'invate-to-replay' => 'You have already sent an invitation to this user',
'invate.to.replay' => 'You have already sent an invitation to this user',
'invate.limit.stop' => 'Vous avez épuisé le nombre invitations',
'limit.day' => 'For %1$s you have reached the limit %2$s for today',
'limit.add.content.no' => 'You have reached the limit for adding set on the site',
@ -377,7 +376,6 @@ $data = [
'info-setting' => 'Fill in your name, this will help attendees refer to you by name. <br> <br> Tell us something about yourself. You have a great opportunity to open up to please others and seem like an interesting person.',
'info-avatar' => 'Upload an avatar and cover for your profile. <br> <br> When each user has a unique avatar, it becomes much easier to follow the discussions! ',
'info-security' => 'Make sure all your passwords are 8 characters or more, ideally a lot more.',
'info-search' => 'To refine your search, try to find a more precise query.',
'info-login' => 'Authorization gives you the ability to publish posts, reply, comment.',
'info-recover' => 'After clicking the "Reset" button, check your email...',
'info-favorite' => 'Posts, comments and questions in your bookmarks',
@ -399,32 +397,30 @@ $data = [
'content.audit' => 'Your message has been sent for review.',
'limit.tl.invitation' => 'Your trust level does not yet allow using invites',
'can send this link' => 'You can send this link ',
'link has been used' => 'Link has been used',
'the link was used to' => 'The link was used to',
'medal.registration' => 'Registration Medal',
'link.used' => 'Link has been used',
'medal.registration' => 'Registration Medal',
'registered' => 'Registered ',
'invitations left' => 'Invitations left',
'under.reconstruction' => 'The site is under reconstruction',
'limiting-mode-1' => 'You cannot publish materials, your account is being verified',
'the dialog does not exist' => 'The specified dialog does not exist',
'the topic does not exist' => 'The specified topic does not exist',
'site.replay' => 'Such a site is already in the system',
'joined in the early days' => 'Joined in the early days of the community launch',
'nickname-replay' => 'This nickname is already on the site',
'e-mail-replay' => 'This email is already on the site',
'multiple-accounts' => 'Don. t register multiple accounts ',
'password-spaces' => 'Password cannot contain spaces',
'nickname-repeats-characters' => 'There are too many repeating characters in the nickname',
'the code is incorrect' => 'The code is incorrect or has already been used',
'format-cover-post' => 'Width greater than 500px. Orientation horizontal',
'under.reconstruction' => 'The site is under reconstruction',
'silent.mode' => 'You cannot publish materials, your account is being verified',
'no.dialogue' => 'The specified dialog does not exist',
'no.topic' => 'The specified topic does not exist',
'site.replay' => 'Such a site is already in the system',
'first.days' => 'Joined in the early days of the community launch',
'nickname.replay' => 'This nickname is already on the site',
'email.replay' => 'This email is already on the site',
'multiple.accounts' => 'Don. t register multiple accounts ',
'password.spaces' => 'Password cannot contain spaces',
'nick.character.repetitions' => 'There are too many repeating characters in the nickname',
'code.incorrect' => 'The code is incorrect or has already been used',
'format.cover.post' => 'Width greater than 500px. Orientation horizontal',
'email.password.not.correct' => 'Email or password is not correct',
'account.not.activated' => 'Your account is not activated',
'account.being.verified' => 'Your account is pending',
'email.correctness' => 'Invalid email',
'email.no.site' => 'This email is not on the site',
'english' => 'English',
'design choice' => 'Choice of design',
'work email' => 'Work email (for <b> activation </b> account)',
'new.password.email' => 'Le lien de réinitialisation du mot de passe est envoyé à email',
'check.your.email' => 'Check your email to activate your account',
@ -438,14 +434,13 @@ $data = [
'page.not' => 'The page does not exist',
'to main' => 'To main',
'page.removed' => 'The page has been removed',
'the command is executed' => 'Command executed',
'you can add more' => 'You can add more',
'command.executed' => 'Command executed',
'recommended posts' => 'recommended posts',
'recommended.posts.desc' => 'Recommended posts in «%1$s» hand - selected. ',
'topic-subscription' => 'Subscribe to topics and read them in the feed',
'stop-blog' => 'This blog URL is reserved',
'topic.subscription' => 'Subscribe to topics and read them in the feed',
'url.reserved' => 'This blog URL is reserved',
/* Meta - desc */
'profile.posts.title' => '%1$s — profil du membre, messages ',

View file

@ -89,10 +89,10 @@ $data = [
'sign out' => 'Ieși',
'registration' => 'Inregistrare',
'advertising' => 'Publicitate',
'private messages' => 'Mesaje private',
'private.messages' => 'Mesaje private',
'it was read' => 'A fost citit',
'all messages' => 'Toate postările',
'send a message' => 'Dialog',
'send.message' => 'Dialog',
'dialogues' => 'Dialogs',
'dialogue' => 'Trimite un mesaj',
'send' => 'Trimite',
@ -259,9 +259,8 @@ $data = [
'post.closed' => 'Postarea este închisă',
'forgot.password' => 'Am uitat parola',
'rules' => 'Regulile site-ului',
'privacy policy' => 'Politica de confidențialitate',
'restriction' => 'Restricții',
'no-invate-txt' => 'Nu ești încă utilizator? Înregistrarea se face doar prin invitație pentru a combate spamul și a spori responsabilitatea. Dacă cunoașteți <a href="/users"> utilizatorul actual </a> al site-ului, solicitați-i o invitație.',
'invate.text' => 'Nu ești încă utilizator? Înregistrarea se face doar prin invitație pentru a combate spamul și a spori responsabilitatea. Dacă cunoașteți <a href="/users"> utilizatorul actual </a> al site-ului, solicitați-i o invitație.',
'text.closed' => 'Fără autorizație este interzisă vizualizarea acestui text ascuns',
@ -337,7 +336,7 @@ $data = [
'pass.match.err' => 'Parola nepotrivită',
'login.use.condition' => 'Continuând, sunteți de acord să <a href="/info/article/privacy">Termeni de Utilizare</a> site-ul',
'user-already' => 'Utilizatorul este deja pe site',
'invate-to-replay' => 'Ați trimis deja o invitație acestui utilizator',
'invate.to.replay' => 'Ați trimis deja o invitație acestui utilizator',
'invate.limit.stop' => 'Ați epuizat numărul de invitații',
'registration.invite' => 'Înregistrare prin invitație',
'breaking.rules' => 'Încălcând regulile',
@ -373,7 +372,6 @@ $data = [
'info-setting' => 'Completați numele dvs., acest lucru va ajuta participanții să vă facă referire după nume. <br> <br> Spune-ne ceva despre tine. Aveți o mare oportunitate de a vă deschide pentru a mulțumi pe alții și a părea o persoană interesantă.',
'info-avatar' => 'Încărcați un avatar și o acoperire pentru profilul dvs. <br> <br> Când fiecare utilizator are un avatar unic, devine mult mai ușor să urmărești discuțiile!',
'info-security' => 'Asigurați-vă că toate parolele dvs. au 8 sau mai multe caractere, în mod ideal mult mai multe.',
'info-search' => 'Pentru a rafina căutarea, încercați să găsiți o interogare mai precisă.',
'info-login' => 'Autorizarea vă permite să publicați postări, să răspundeți, să comentați.',
'info-recover' => 'După ce faceți clic pe butonul „Resetare”, verificați e-mailul ...',
@ -400,56 +398,51 @@ $data = [
'limit.day' => 'Pentru %1$s ați atins limita de %1$s pentru astăzi.',
'limit.add.content-no' => 'Ați atins limita de adăugare setată pe site',
'can send this link' => 'puteți trimite acest link',
'link has been used' => 'Link-ul a fost folosit',
'the link was used to' => 'Link-ul a fost pentru',
'link.used' => 'Link-ul a fost folosit',
'registered' => 'înregistrat',
'invitations left' => 'Invitații rămase',
'under.reconstruction' => 'The site is under reconstruction',
'limiting-mode-1' => 'Nu puteți posta conținut, contul dvs. este verificat',
'the dialog does not exist' => 'Caseta de dialog specificată nu există',
'the topic does not exist' => 'Subiectul specificat nu există',
'work email' => 'Work email (for <b> activation </b> account)',
'page.not' => 'Pagina nu există',
'to main' => 'La principal ',
'page.removed' => 'Este posibil să fi fost șters',
'silent.mode' => 'Nu puteți posta conținut, contul dvs. este verificat',
'no.dialogue' => 'Caseta de dialog specificată nu există',
'no.topic' => 'Subiectul specificat nu există',
'work email' => 'Work email (for <b> activation </b> account)',
'page.not' => 'Pagina nu există',
'to main' => 'La principal ',
'page.removed' => 'Este posibil să fi fost șters',
'site.replay' => 'Un astfel de site este deja în sistem',
'first.days' => 'S-a alăturat în primele zile ale lansării comunității',
'site.replay' => 'Un astfel de site este deja în sistem',
'joined in the early days' => 'S-a alăturat în primele zile ale lansării comunității',
'nickname.replay' => 'Acest nume de utilizator este deja pe site',
'email.replay' => 'Acest e-mail este deja pe site',
'multiple.accounts' => 'Nu înregistrați mai multe conturi',
'password.spaces' => 'Parola nu poate conține spații',
'nick.character.repetitions' => 'Există prea multe caractere care se repetă în numele de utilizator',
'code.incorrect' => 'Codul este incorect sau a fost deja utilizat',
'format.cover.post' => 'Lățime mai mare de 500 px. Orientare orizontală',
'nickname-replay' => 'Acest nume de utilizator este deja pe site',
'e-mail-replay' => 'Acest e-mail este deja pe site',
'multiple-accounts' => 'Nu înregistrați mai multe conturi',
'password-spaces' => 'Parola nu poate conține spații',
'nickname-repeats-characters' => 'Există prea multe caractere care se repetă în numele de utilizator',
'the code is incorrect' => 'Codul este incorect sau a fost deja utilizat',
'format-cover-post' => 'Lățime mai mare de 500 px. Orientare orizontală',
'email.password.not.correct' => 'E-mailul sau parola nu sunt corecte',
'account.not.activated' => 'Contul dvs. nu este activat',
'account.being.verified' => 'Contul dvs. este în așteptare',
'email.correctness' => 'E-mail invalid',
'email.no.site' => 'Acest e-mail nu se află pe site',
'command.executed' => 'Comanda este executată',
'email.password.not.correct' => 'E-mailul sau parola nu sunt corecte',
'account.not.activated' => 'Contul dvs. nu este activat',
'account.being.verified' => 'Contul dvs. este în așteptare',
'email.correctness' => 'E-mail invalid',
'email.no.site' => 'Acest e-mail nu se află pe site',
'the command is executed' => 'Comanda este executată',
'you can add more' => 'Puteți adăuga mai multe',
'new.password.email' => 'Linkul pentru resetarea parolei a fost trimis la e-mail',
'check.your.email' => 'Verificați-vă e-mailul pentru a vă activa contul',
'who will be able to post posts' => 'Cine va putea posta',
'long name from' => 'Numele lung de la',
'breaking.rules' => 'Acest lucru încalcă regulile site-ului',
'view.post.tl' => 'Cine poate vizualiza postarea (din care TL)',
'flag not included' => 'Semnalizați-l lăsat, nu îl folosiți des',
'invited you' => 'You were invited by a member from this site. Enter invite',
'invite.features' => 'You can invite friends',
'medal.registration' => 'Medalie pentru înregistrare',
'design choice' => 'alegerea designului',
'new.password.email' => 'Linkul pentru resetarea parolei a fost trimis la e-mail',
'check.your.email' => 'Verificați-vă e-mailul pentru a vă activa contul',
'long name from' => 'Numele lung de la',
'breaking.rules' => 'Acest lucru încalcă regulile site-ului',
'view.post.tl' => 'Cine poate vizualiza postarea (din care TL)',
'flag not included' => 'Semnalizați-l lăsat, nu îl folosiți des',
'invited you' => 'You were invited by a member from this site. Enter invite',
'invite.features' => 'You can invite friends',
'medal.registration' => 'Medalie pentru înregistrare',
'recommended posts' => 'postări recomandate ',
'recommended.posts.desc' => 'Postări recomandate în «%1$s» selectat manual. ',
'topic-subscription' => 'Abonați-vă la subiecte și citiți-le în feed',
'stop-blog' => 'URL-ul acestui blog este rezervat',
'topic.subscription' => 'Abonați-vă la subiecte și citiți-le în feed',
'url.reserved' => 'URL-ul acestui blog este rezervat',
/* Meta - desc */
'profile.posts.title' => '%1$s — profil membru, postări ',

View file

@ -67,10 +67,10 @@ $data = [
'sign out' => 'Выйти',
'registration' => 'Регистрация',
'advertising' => 'Реклама',
'private messages' => 'Личные сообщения',
'private.messages' => 'Личные сообщения',
'it was read' => 'Было прочитано',
'all messages' => 'Все сообщения',
'send a message' => 'Диалог',
'send.message' => 'Диалог',
'dialogues' => 'Диалоги',
'dialogue' => 'Отправить сообщение',
'write a message' => 'Написать сообщение',
@ -256,9 +256,8 @@ $data = [
'post.closed' => 'Пост закрыт',
'forgot.password' => 'Забыли пароль',
'rules' => 'Правила сайта',
'privacy policy' => 'Политика конфиденциальности',
'restriction' => 'Ограничения',
'no-invate-txt' => 'Еще не пользователь? Регистрация осуществляется только по приглашению для борьбы со спамом и повышения ответственности. Если вы знаете <a href="/users">текущего пользователя</a> сайта, попросите у него приглашение.',
'invate.text' => 'Еще не пользователь? Регистрация осуществляется только по приглашению для борьбы со спамом и повышения ответственности. Если вы знаете <a href="/users">текущего пользователя</a> сайта, попросите у него приглашение.',
'text.closed' => 'Без авторизации запрещено просматривать этот скрытый текст',
@ -337,7 +336,7 @@ $data = [
'pass.match.err' => 'Пароли не совпадают',
'login.use.condition' => 'Продолжая, вы соглашаетесь с <a href="/info/article/privacy">Условиями использования</a> сайта',
'user-already' => 'Пользователь уже есть на сайте',
'invate-to-replay' => 'Вы уже отправили приглашение этому пользователю',
'invate.to.replay' => 'Вы уже отправили приглашение этому пользователю',
'invate.limit.stop' => 'Вы исчерпали количество инвайтов',
'limit.day' => 'Для %1$s вы исчерпали лимит %2$s на сегодня',
'limit.add.content.no' => 'Вы исчерпали лимит на добавление установленный на сайте',
@ -375,7 +374,6 @@ $data = [
'info-setting' => 'Заполните ваше имя, это поможет участникам обращаться к вам по имени. <br><br> Расскажи что-нибудь о себе. У вас отличная возможность раскрыться, чтобы понравиться окружающим и показаться интересной личностью.',
'info-avatar' => 'Загрузите аватар и обложку для своего профиля. <br><br> Когда каждый пользователь имеет уникальный аватар, следить за обсуждениями становится значительно легче!',
'info-security' => 'Убедитесь, что все ваши пароли имеют 8 символов и более, в идеале намного больше.',
'info-search' => 'Для уточнения поиска попробуйте подобрать более точный запрос.',
'info-login' => 'Авторизация дает вам возможность публиковать посты, отвечать, комментировать и голосовать.',
'info-recover' => 'После того, как нажмете кнопку «Сбросить», проверьте свой e-mail...',
@ -391,7 +389,6 @@ $data = [
'contacted via @' => 'Когда обратились ко мне через @',
'linkchange password' => 'Ваша ссылка для изменения пароля',
'changing password' => 'изменение пароля',
'description is formed' => 'Описание формируется',
'domain-desc' => 'Группировка постов в сообществе по домену',
'code-incorrect' => 'Код неверен, или он уже использовался. Пройдите процедуру восстановления заново.',
'yes-email-pass' => 'Теперь вы можете использовать свой e-mail и пароль.',
@ -400,54 +397,51 @@ $data = [
'content.audit' => 'Ваше сообщение отправлено на проверку',
'limit.tl.invitation' => 'Ваш уровень доверия пока не позволяет использовать инвайты',
'can send this link' => 'можно отправить эту ссылку',
'link has been used' => 'Ссылка была использована',
'the link was used to' => 'Была использована ссылка для',
'link.used' => 'Ссылка была использована',
'medal.registration' => 'Медаль за регистрацию',
'registered' => 'зарегистрировался',
'invitations left' => 'Осталось приглашений',
'under.reconstruction' => 'Сайт на реконструкции',
'limiting-mode-1' => 'Вы не можете публиковать материалы, ваш аккаунт проверяется',
'the dialog does not exist' => 'Указанного диалога не существует',
'the topic does not exist' => 'Указанной темы не существует',
'site.replay' => 'Такой сайт уже есть в системе',
'joined in the early days' => 'Присоединился в первые дни запуска сообщества',
'nickname-replay' => 'Такой никнейм уже есть на сайте',
'e-mail-replay' => 'Такой e-mail уже есть на сайте',
'multiple-accounts' => 'Не регистрируйте множественные аккаунты',
'password-spaces' => 'Пароль не может содержать пробелов',
'nickname-repeats-characters' => 'В никнейме слишком много повторяющихся символов',
'the code is incorrect' => 'Код неверен, или он уже использовался',
'format-cover-post' => 'Ширина, больше 500px. Ориентация горизонтальная',
'email.password.not.correct' => 'E-mail или пароль не верен',
'account.not.activated' => 'Ваш аккаунт не активирован',
'account.being.verified' => 'Ваш аккаунт находится на рассмотрении',
'email.correctness' => 'Недопустимый e-mail',
'email.no.site' => 'Такого e-mail нет на сайте',
'english' => 'английский',
'design choice' => 'Выбор дизайна',
'under.reconstruction' => 'Сайт на реконструкции',
'silent.mode' => 'Вы не можете публиковать материалы, ваш аккаунт проверяется',
'no.dialogue' => 'Указанного диалога не существует',
'no.topic' => 'Указанной темы не существует',
'site.replay' => 'Такой сайт уже есть в системе',
'first.days' => 'Присоединился в первые дни запуска сообщества',
'nickname.replay' => 'Такой никнейм уже есть на сайте',
'email.replay' => 'Такой e-mail уже есть на сайте',
'multiple.accounts' => 'Не регистрируйте множественные аккаунты',
'password.spaces' => 'Пароль не может содержать пробелов',
'nick.character.repetitions' => 'В никнейме слишком много повторяющихся символов',
'code.incorrect' => 'Код неверен, или он уже использовался',
'format.cover.post' => 'Ширина, больше 500px. Ориентация горизонтальная',
'email.password.not.correct' => 'E-mail или пароль не верен',
'account.not.activated' => 'Ваш аккаунт не активирован',
'account.being.verified' => 'Ваш аккаунт находится на рассмотрении',
'email.correctness' => 'Недопустимый e-mail',
'email.no.site' => 'Такого e-mail нет на сайте',
'english' => 'английский',
'work email' => 'Рабочий е-mail (для <b>активации</b> аккаунта)<br>Working email (for <b>account activation</b>)',
'new.password.email' => 'Ссылка на сброс пароля отправлена на e-mail',
'check.your.email' => 'Проверьте e-mail почту для активации аккаунта',
'view.post.tl' => 'Кто может просматривать пост (с какого TL)',
'long name from' => 'Длинное название от',
'breaking.rules' => 'Это нарушает правила сайта',
'flag not included' => 'Флаг не учтен, не используйте его часто',
'invited you' => 'Вас пригласил участник с этого сайта. Введите инвайт',
'invite.features' => 'Вы можете пригласить друзей',
'messages.info' => 'Личные сообщения с участниками сайта',
'page.not' => 'Страница не существует',
'to main' => 'На главную',
'page.removed' => 'Возможно она была удалена',
'the command is executed' => 'Команда выполнена',
'you can add more' => 'Вы можете добавить ещё',
'work email' => 'Рабочий е-mail (для <b>активации</b> аккаунта)<br>Working email (for <b>account activation</b>)',
'new.password.email' => 'Ссылка на сброс пароля отправлена на e-mail',
'check.your.email' => 'Проверьте e-mail почту для активации аккаунта',
'view.post.tl' => 'Кто может просматривать пост (с какого TL)',
'long name from' => 'Длинное название от',
'breaking.rules' => 'Это нарушает правила сайта',
'flag not included' => 'Флаг не учтен, не используйте его часто',
'invited you' => 'Вас пригласил участник с этого сайта. Введите инвайт',
'invite.features' => 'Вы можете пригласить друзей',
'messages.info' => 'Личные сообщения с участниками сайта',
'page.not' => 'Страница не существует',
'to main' => 'На главную',
'page.removed' => 'Возможно она была удалена',
'command.executed' => 'Команда выполнена',
'recommended posts' => 'рекомендованные посты',
'recommended.posts.desc' => 'Рекомендованные посты в «%1$s» отобранные в ручную. ',
'topic-subscription' => 'Подпишитесь на темы и читайте их в ленте',
'stop-blog' => 'Этот URL блога зарезервирован',
'topic.subscription' => 'Подпишитесь на темы и читайте их в ленте',
'url.reserved' => 'Этот URL блога зарезервирован',
/* Meta - desc */
'profile.posts.title' => '%1$s — профиль участника ',

View file

@ -94,10 +94,10 @@ $data = [
'sign out' => '登出',
'registration' => '註冊',
'advertising' => '廣告',
'private messages' => '私人信息',
'private.messages' => '私人信息',
'it was read' => '已讀',
'all messages' => '所有消息',
'send a message' => '發送一個消息',
'send.message' => '發送一個消息',
'dialogues' => '對話',
'dialogue' => '對話',
'write a message' => '寫一個信息',
@ -264,9 +264,8 @@ $data = [
'post.closed' => '帖子已關閉',
'forgot.password' => '忘記密碼了嗎',
'rules' => '網站規則',
'privacy policy' => '隱私政策',
'restriction' => '限制',
'no-invate-txt' => '還不是用戶? 邀請註冊僅用於打擊垃圾郵件和增加問責制。 如果您知道該網站的<a href="/users">當前用戶</a>,請向他發出邀請。',
'invate.text' => '還不是用戶? 邀請註冊僅用於打擊垃圾郵件和增加問責制。 如果您知道該網站的<a href="/users">當前用戶</a>,請向他發出邀請。',
'text.closed' => '未經授權禁止查看此隱藏文字',
@ -338,7 +337,7 @@ $data = [
'pass.match.err' => '密碼有誤',
'login.use.condition' => '繼續,即表示您同意<a href="/info/article/privacy">使用條款</a>網站',
'user-already' => '該用戶已經在該網站上',
'invate-to-replay' => '您已經向該用戶發送了邀請',
'invate.to.replay' => '您已經向該用戶發送了邀請',
'invate.limit.stop' => '您已用盡邀請數量',
'limit.day' => '為了 %1$s 你已經達到極限 %2$s 今天',
'limit.add.content.no' => '您已達到站點添加集的上限',
@ -376,7 +375,6 @@ $data = [
'info-setting' => '填寫您的姓名,這將有助於與會者通過姓名來稱呼您。 <br> <br> 告訴我們一些關於你自己的事情。 你有一個很好的機會敞開心扉取悅他人,並且看起來是一個有趣的人。',
'info-avatar' => '為您的個人資料上傳頭像和封面。 <br> <br> 當每個用戶都有一個獨特的頭像時,關注討論會變得更容易!',
'info-security' => '確保您的所有密碼都是 8 個字符或更多,最好是更多。',
'info-search' => '要優化搜索,請嘗試查找更精確的查詢。',
'info-login' => '授權使您能夠發布帖子、回复、評論。',
'info-recover' => '單擊“重置”按鈕後,檢查您的電子郵件...',
'info-favorite' => '書籤中的帖子、評論和問題',
@ -398,32 +396,30 @@ $data = [
'content.audit' => '您的消息已發送以供審核。',
'limit.tl.invitation' => '您的信任級別還不允許使用邀請',
'can send this link' => '你可以發送這個鏈接 ',
'link has been used' => '鏈接已被使用',
'the link was used to' => '該鏈接用於',
'link.used' => '鏈接已被使用',
'medal.registration' => '註冊獎牌',
'registered' => '掛號的 ',
'invitations left' => '留下的邀請',
'under.reconstruction' => '該網站正在重建中',
'limiting-mode-1' => '您無法發布資料,您的帳號正在驗證中',
'the dialog does not exist' => '指定的對話框不存在',
'the topic does not exist' => '指定的主題不存在',
'site.replay' => '這樣的站點已經在系統中',
'joined in the early days' => '在社區啟動的早期加入',
'nickname-replay' => '該暱稱已在網站上',
'e-mail-replay' => '此電子郵件已在網站上',
'multiple-accounts' => '不要註冊多個賬戶 ',
'password-spaces' => '密碼不能包含空格',
'nickname-repeats-characters' => '暱稱重複字符過多',
'the code is incorrect' => '代碼不正確或已被使用',
'format-cover-post' => '寬度大於 500px。 水平方向',
'under.reconstruction' => '該網站正在重建中',
'silent.mode' => '您無法發布資料,您的帳號正在驗證中',
'no.dialogue' => '指定的對話框不存在',
'no.topic' => '指定的主題不存在',
'site.replay' => '這樣的站點已經在系統中',
'first.days' => '在社區啟動的早期加入',
'nickname.replay' => '該暱稱已在網站上',
'email.replay' => '此電子郵件已在網站上',
'multiple.accounts' => '不要註冊多個賬戶 ',
'password.spaces' => '密碼不能包含空格',
'nick.character.repetitions' => '暱稱重複字符過多',
'code.incorrect' => '代碼不正確或已被使用',
'format.cover.post' => '寬度大於 500px。 水平方向',
'email.password.not.correct' => '電子郵件或密碼不正確',
'account.not.activated' => '您的帳戶未激活',
'account.being.verified' => '您的帳戶待處理',
'email.correctness' => '不合規電郵',
'email.no.site' => '該電子郵件不在網站上',
'english' => '英語',
'design choice' => '設計選擇',
'work email' => '工作郵箱(用於<b>激活</b>帳戶)',
'new.password.email' => '重置密码的链接已发送到电子邮件',
'check.your.email' => '檢查您的電子郵件以激活您的帳戶',
@ -437,14 +433,13 @@ $data = [
'page.not' => '該頁面不存在',
'to main' => '主要',
'page.removed' => '該頁面已被刪除',
'the command is executed' => '命令執行',
'you can add more' => '你可以添加更多',
'command.executed' => '命令執行',
'recommended posts' => '推薦帖子',
'recommended.posts.desc' => '推薦的帖子 «%1$s» 手選.',
'topic-subscription' => '訂閱主題並在提要中閱讀它們',
'stop-blog' => '此博客網址已保留。',
'topic.subscription' => '訂閱主題並在提要中閱讀它們',
'url.reserved' => '此博客網址已保留。',
/* 元描述 */
'profile.posts.title' => '%1$s — 會員資料、帖子 ',

View file

@ -118,7 +118,7 @@ class Content
public static function stopContentQuietМode($user_limiting_mode)
{
if ($user_limiting_mode == 1) {
Html::addMsg('limiting-mode-1', 'error');
Html::addMsg('silent.mode', 'error');
redirect('/');
}

View file

@ -224,13 +224,13 @@ class Html
if ($arr['user_id'] > 0) {
if ($arr['content_user_id'] != $arr['user_id']) {
if ($arr['state']) {
$html .= '<div data-id="' . $arr['id'] . '" data-type="' . $arr['type'] . '" class="focus-id yes">' . $arr['unsubscribe'] . '</div>';
$html .= '<div data-id="' . $arr['id'] . '" data-type="' . $arr['type'] . '" class="focus-id yes">' . Translate::get('unsubscribe') . '</div>';
} else {
$html .= '<div data-id="' . $arr['id'] . '" data-type="' . $arr['type'] . '" class="focus-id no">+ ' . $arr['read'] . '</div>';
$html .= '<div data-id="' . $arr['id'] . '" data-type="' . $arr['type'] . '" class="focus-id no">+ ' . Translate::get('read') . '</div>';
}
}
} else {
$html .= '<a href="' . getUrlByName('login') . '"><div class="focus-id no">+ ' . $arr['read'] . '</div></a>';
$html .= '<a href="' . getUrlByName('login') . '"><div class="focus-id no">+ ' . Translate::get('read') . '</div></a>';
}
return $html;

View file

@ -171,7 +171,7 @@ class Badges
]
);
Html::addMsg('the command is executed', 'success');
Html::addMsg('command.executed', 'success');
redirect('/admin/users/' . $uid . '/edit');
}

View file

@ -58,7 +58,7 @@ class Сonsole
public static function consoleRedirect()
{
if (PHP_SAPI != 'cli') {
Html::addMsg('the command is executed', 'success');
Html::addMsg('command.executed', 'success');
redirect(getUrlByName('admin.tools'));
}
return true;

View file

@ -38,8 +38,6 @@ $item = $data['item'];
'id' => $item['item_id'],
'content_user_id' => $item['item_user_id'],
'state' => is_array($data['item_signed']),
'unsubscribe' => Translate::get('unsubscribe'),
'read' => Translate::get('read'),
]); ?>
</div>
</div>

View file

@ -11,8 +11,6 @@
'id' => $facet['facet_id'],
'content_user_id' => $facet['facet_user_id'],
'state' => $facet['signed_facet_id'],
'unsubscribe' => Translate::get('unsubscribe'),
'read' => Translate::get('read'),
]); ?>
</div>

View file

@ -13,8 +13,6 @@
'id' => $facet['facet_id'],
'content_user_id' => $facet['facet_user_id'],
'state' => $facet['signed_facet_id'],
'unsubscribe' => Translate::get('unsubscribe'),
'read' => Translate::get('read'),
]); ?>
</div>

View file

@ -2,7 +2,7 @@
<center>
<a class="tags center" href="/topics">
<i class="bi-lightbulb middle mr5"></i>
<?= Translate::get('topic-subscription'); ?>
<?= Translate::get('topic.subscription'); ?>
</a>
</center>
<div class="grid-cols-2 pt20">

View file

@ -19,7 +19,7 @@ $form->html_form($user['trust_level'], Config::get('form/auth.login'));
</fieldset>
</form>
<?php if (Config::get('general.invite') == 1) { ?>
<?= Translate::get('no-invate-txt'); ?>
<?= Translate::get('invate.text'); ?>
<?php } ?>
<p><?= Translate::get('login.use.condition'); ?>.</p>
<p><?= Translate::get('info-login'); ?></p>

View file

@ -23,8 +23,6 @@ if ($blog['facet_is_deleted'] == 0) { ?>
'id' => $blog['facet_id'],
'content_user_id' => $blog['facet_user_id'],
'state' => is_array($data['facet_signed']),
'unsubscribe' => Translate::get('unsubscribe'),
'read' => Translate::get('read'),
]); ?>
</div>

View file

@ -20,8 +20,6 @@
'id' => $topic['facet_id'],
'content_user_id' => $topic['facet_user_id'],
'state' => is_array($data['facet_signed']),
'unsubscribe' => Translate::get('unsubscribe'),
'read' => Translate::get('read'),
]); ?>
</div>

View file

@ -1,7 +1,7 @@
<main>
<div class="box-white">
<h1 class="mt0 mb10 text-2xl font-normal">
<?= Translate::get('send a message'); ?> <?= $user['login']; ?> / <?= $data['login']; ?>
<?= Translate::get('send.message'); ?> <?= $user['login']; ?> / <?= $data['login']; ?>
<a class="right text-sm" href="<?= getUrlByName('send.messages', ['login' => $user['login']]); ?>">
<?= Translate::get('all messages'); ?>
</a>

View file

@ -47,7 +47,7 @@
<div id="start">
<input id="file-upload" type="file" name="images" accept="image/*" />
<div class="text-sm gray-600 mt5">
<?= Translate::get('format-cover-post'); ?>.
<?= Translate::get('format.cover.post'); ?>.
</div>
<i class="fa fa-download" aria-hidden="true"></i>
<div id="notimage" class="none"><?= Translate::get('select.image'); ?></div>

View file

@ -53,7 +53,7 @@
<?php } ?>
<i title="<?= Translate::get('medal.registration'); ?>" class="bi-gift right mr5 ml5 sky"></i>
<?php if ($user['id'] < 50) { ?>
<i title="<?= Translate::get('joined in the early days'); ?>" class="bi-award right mr5 ml5 green"></i>
<i title="<?= Translate::get('first.days'); ?>" class="bi-award right mr5 ml5 green"></i>
<?php } ?>
<?php foreach ($badges as $badge) { ?>
<span class="ml15"><?= $badge['badge_icon']; ?></span>

View file

@ -28,14 +28,14 @@
</div>
<?php if (UserData::checkAdmin()) { ?>
<?= Translate::get('the link was used to'); ?>:
<?= Translate::get('link.used'); ?>:
<?= $invite['invitation_email']; ?>
<code class="block w-90">
<?= Config::get('meta.url'); ?><?= getUrlByName('invite.reg', ['code' => $invite['invitation_code']]); ?>
</code>
<?php } ?>
<span class="text-sm gray"><?= Translate::get('link has been used'); ?></span>
<span class="text-sm gray"><?= Translate::get('link.used'); ?></span>
<?php } else { ?>
<?= Translate::get('for'); ?> (<?= $invite['invitation_email']; ?>)
<?= Translate::get('can send this link'); ?>:

View file

@ -15,7 +15,7 @@
</fieldset>
</form>
<?php if (Config::get('general.invite') == true) { ?>
<?= Translate::get('no-invate-txt'); ?>
<?= Translate::get('invate.text'); ?>
<?php } ?>
</div>
</main>

View file

@ -130,7 +130,7 @@
<div class="m0 text-3xl">
<i title="<?= Translate::get('medal.registration'); ?>" class="bi-gift sky"></i>
<?php if ($profile['id'] < 50) { ?>
<i title="<?= Translate::get('joined in the early days'); ?>" class="bi-award green"></i>
<i title="<?= Translate::get('first.days'); ?>" class="bi-award green"></i>
<?php } ?>
<?php foreach ($data['badges'] as $badge) { ?>
<?= $badge['badge_icon']; ?>

View file

@ -19,7 +19,7 @@ $form->html_form($user['trust_level'], Config::get('form/auth.login'));
</fieldset>
</form>
<?php if (Config::get('general.invite') == 1) { ?>
<?= Translate::get('no-invate-txt'); ?>
<?= Translate::get('invate.text'); ?>
<?php } ?>
<p><?= Translate::get('login.use.condition'); ?>.</p>
<p><?= Translate::get('info-login'); ?></p>

View file

@ -23,8 +23,6 @@ if ($blog['facet_is_deleted'] == 0) { ?>
'id' => $blog['facet_id'],
'content_user_id' => $blog['facet_user_id'],
'state' => is_array($data['facet_signed']),
'unsubscribe' => Translate::get('unsubscribe'),
'read' => Translate::get('read'),
]); ?>
</div>

View file

@ -20,8 +20,6 @@
'id' => $topic['facet_id'],
'content_user_id' => $topic['facet_user_id'],
'state' => is_array($data['facet_signed']),
'unsubscribe' => Translate::get('unsubscribe'),
'read' => Translate::get('read'),
]); ?>
</div>

View file

@ -1,7 +1,7 @@
<main class="col-two">
<div class="box-white">
<h1 class="mt0 mb10 text-2xl font-normal">
<?= Translate::get('send a message'); ?> <?= $user['login']; ?> / <?= $data['login']; ?>
<?= Translate::get('send.message'); ?> <?= $user['login']; ?> / <?= $data['login']; ?>
<a class="right text-sm" href="<?= getUrlByName('send.messages', ['login' => $user['login']]); ?>">
<?= Translate::get('all messages'); ?>
</a>

View file

@ -47,7 +47,7 @@
<div id="start">
<input id="file-upload" type="file" name="images" accept="image/*" />
<div class="text-sm gray-600 mt5">
<?= Translate::get('format-cover-post'); ?>.
<?= Translate::get('format.cover.post'); ?>.
</div>
<i class="fa fa-download" aria-hidden="true"></i>
<div id="notimage" class="none"><?= Translate::get('select.image'); ?></div>

View file

@ -53,7 +53,7 @@
<?php } ?>
<i title="<?= Translate::get('medal.registration'); ?>" class="bi-gift right mr5 ml5 sky"></i>
<?php if ($user['id'] < 50) { ?>
<i title="<?= Translate::get('joined in the early days'); ?>" class="bi-award right mr5 ml5 green"></i>
<i title="<?= Translate::get('first.days'); ?>" class="bi-award right mr5 ml5 green"></i>
<?php } ?>
<?php foreach ($badges as $badge) { ?>
<span class="ml15"><?= $badge['badge_icon']; ?></span>

View file

@ -27,14 +27,14 @@
</div>
<?php if (UserData::checkAdmin()) { ?>
<?= Translate::get('the link was used to'); ?>:
<?= Translate::get('link.used'); ?>:
<?= $invite['invitation_email']; ?>
<code class="block w-90">
<?= Config::get('meta.url'); ?><?= getUrlByName('invite.reg', ['code' => $invite['invitation_code']]); ?>
</code>
<?php } ?>
<span class="text-sm gray"><?= Translate::get('link has been used'); ?></span>
<span class="text-sm gray"><?= Translate::get('link.used'); ?></span>
<?php } else { ?>
<?= Translate::get('for'); ?> (<?= $invite['invitation_email']; ?>)
<?= Translate::get('can send this link'); ?>:

View file

@ -15,7 +15,7 @@
</fieldset>
</form>
<?php if (Config::get('general.invite') == true) { ?>
<?= Translate::get('no-invate-txt'); ?>
<?= Translate::get('invate.text'); ?>
<?php } ?>
</div>
</main>

View file

@ -130,7 +130,7 @@
<div class="m0 text-3xl">
<i title="<?= Translate::get('medal.registration'); ?>" class="bi-gift sky"></i>
<?php if ($profile['id'] < 50) { ?>
<i title="<?= Translate::get('joined in the early days'); ?>" class="bi-award green"></i>
<i title="<?= Translate::get('first.days'); ?>" class="bi-award green"></i>
<?php } ?>
<?php foreach ($data['badges'] as $badge) { ?>
<?= $badge['badge_icon']; ?>