From 2e1374040c27ad4c383379dd33f413b2a1bb7a2b Mon Sep 17 00:00:00 2001 From: Thorsten Rinne Date: Tue, 24 Dec 2024 11:23:39 +0100 Subject: [PATCH] refactor: migrated add FAQ page to controller (#3257) --- phpmyfaq/admin/assets/src/api/faqs.js | 11 +- phpmyfaq/admin/faqs.editor.php | 6 +- phpmyfaq/admin/header.php | 3 +- phpmyfaq/admin/import.csv.php | 2 +- .../templates/admin/content/faq.editor.twig | 921 +++++++++--------- .../templates/admin/content/faq.overview.twig | 6 +- .../assets/templates/admin/dashboard.twig | 2 +- phpmyfaq/faq.php | 2 +- phpmyfaq/src/admin-routes.php | 5 + .../AbstractAdministrationController.php | 6 +- .../Administration/FaqController.php | 153 ++- .../Administration/ImportController.php | 2 +- .../OpenQuestionsController.php | 2 +- phpmyfaq/src/services.php | 19 +- phpmyfaq/translations/language_ar.php | 8 +- phpmyfaq/translations/language_bn.php | 6 +- phpmyfaq/translations/language_bs.php | 6 +- phpmyfaq/translations/language_cs.php | 8 +- phpmyfaq/translations/language_cy.php | 6 +- phpmyfaq/translations/language_da.php | 6 +- phpmyfaq/translations/language_de.php | 8 +- phpmyfaq/translations/language_el.php | 8 +- phpmyfaq/translations/language_en.php | 8 +- phpmyfaq/translations/language_es.php | 8 +- phpmyfaq/translations/language_eu.php | 6 +- phpmyfaq/translations/language_fa.php | 6 +- phpmyfaq/translations/language_fi.php | 8 +- phpmyfaq/translations/language_fr-ca.php | 8 +- phpmyfaq/translations/language_fr.php | 8 +- phpmyfaq/translations/language_he.php | 8 +- phpmyfaq/translations/language_hi.php | 6 +- phpmyfaq/translations/language_hu.php | 8 +- phpmyfaq/translations/language_id.php | 8 +- phpmyfaq/translations/language_it.php | 8 +- phpmyfaq/translations/language_ja.php | 8 +- phpmyfaq/translations/language_ko.php | 6 +- phpmyfaq/translations/language_lt.php | 8 +- phpmyfaq/translations/language_lv.php | 6 +- phpmyfaq/translations/language_mn.php | 8 +- phpmyfaq/translations/language_ms.php | 8 +- phpmyfaq/translations/language_nb.php | 8 +- phpmyfaq/translations/language_nl.php | 8 +- phpmyfaq/translations/language_pl.php | 8 +- phpmyfaq/translations/language_pt-br.php | 8 +- phpmyfaq/translations/language_pt.php | 8 +- phpmyfaq/translations/language_ro.php | 8 +- phpmyfaq/translations/language_ru.php | 8 +- phpmyfaq/translations/language_sk.php | 8 +- phpmyfaq/translations/language_sl.php | 6 +- phpmyfaq/translations/language_sr.php | 6 +- phpmyfaq/translations/language_sv.php | 8 +- phpmyfaq/translations/language_th.php | 8 +- phpmyfaq/translations/language_tr.php | 8 +- phpmyfaq/translations/language_tw.php | 8 +- phpmyfaq/translations/language_uk.php | 6 +- phpmyfaq/translations/language_vi.php | 6 +- phpmyfaq/translations/language_zh.php | 8 +- tests/phpMyFAQ/FormsTest.php | 2 +- 58 files changed, 821 insertions(+), 639 deletions(-) diff --git a/phpmyfaq/admin/assets/src/api/faqs.js b/phpmyfaq/admin/assets/src/api/faqs.js index c67e93693e..78aec31d07 100644 --- a/phpmyfaq/admin/assets/src/api/faqs.js +++ b/phpmyfaq/admin/assets/src/api/faqs.js @@ -15,8 +15,15 @@ export const fetchAllFaqsByCategory = async (categoryId, language, onlyInactive, onlyNew) => { try { - const currentUrl = window.location.protocol + '//' + window.location.host + window.location.pathname; - const url = new URL(`${currentUrl}api/faqs/${categoryId}/${language}`); + let currentUrl = window.location.protocol + '//' + window.location.host; + let pathname = window.location.pathname; + + if (pathname.endsWith('/faqs')) { + pathname = pathname.slice(0, -5); + } + + currentUrl += pathname; + const url = new URL(`${currentUrl}/api/faqs/${categoryId}/${language}`); if (onlyInactive) { url.searchParams.set('only-inactive', onlyInactive); } diff --git a/phpmyfaq/admin/faqs.editor.php b/phpmyfaq/admin/faqs.editor.php index 0de3991577..aa9757ffab 100644 --- a/phpmyfaq/admin/faqs.editor.php +++ b/phpmyfaq/admin/faqs.editor.php @@ -334,7 +334,7 @@ 'notifyUser' => $notifyUser, 'notifyEmail' => $notifyEmail, 'csrfToken' => Token::getInstance($container->get('session'))->getTokenString('edit-faq'), - 'ad_entry_theme' => Translation::get('ad_entry_theme'), + 'msgQuestion' => Translation::get('msgQuestion'), 'msgNoHashAllowed' => Translation::get('msgNoHashAllowed'), 'msgShowHelp' => Translation::get('msgShowHelp'), 'ad_entry_content' => Translation::get('ad_entry_content'), @@ -375,7 +375,7 @@ 'ad_entry_restricted_users' => Translation::get('ad_entry_restricted_users'), 'userPermissionOptions' => $userHelper->getAllUserOptions($userPermission[0], true), 'ad_entry_changelog' => Translation::get('ad_entry_changelog'), - 'ad_entry_date' => Translation::get('ad_entry_date'), + 'msgDate' => Translation::get('msgDate'), 'ad_entry_changed' => Translation::get('ad_entry_changed'), 'ad_admin_notes_hint' => Translation::get('ad_admin_notes_hint'), 'ad_admin_notes' => Translation::get('ad_admin_notes'), @@ -397,7 +397,7 @@ 'ad_entry_new_revision' => Translation::get('ad_entry_new_revision'), 'ad_gen_yes' => Translation::get('ad_gen_yes'), 'ad_gen_no' => Translation::get('ad_gen_no'), - 'ad_entry_sticky' => Translation::get('ad_entry_sticky'), + 'msgStickyFAQ' => Translation::get('msgStickyFAQ'), 'ad_entry_allowComments' => Translation::get('ad_entry_allowComments'), 'ad_entry_solution_id' => Translation::get('ad_entry_solution_id'), 'nextSolutionId' => $faq->getNextSolutionId(), diff --git a/phpmyfaq/admin/header.php b/phpmyfaq/admin/header.php index abc3413bc1..bc079e03b3 100644 --- a/phpmyfaq/admin/header.php +++ b/phpmyfaq/admin/header.php @@ -68,7 +68,8 @@ $secLevelEntries['content'] .= $adminHelper->addMenuEntry( PermissionType::FAQ_ADD->value, 'editentry', - 'ad_entry_add' + 'ad_entry_add', + 'faq/add' ); $secLevelEntries['content'] .= $adminHelper->addMenuEntry( 'edit_faq+delete_faq', diff --git a/phpmyfaq/admin/import.csv.php b/phpmyfaq/admin/import.csv.php index f8dade90f6..55eb02cb5d 100644 --- a/phpmyfaq/admin/import.csv.php +++ b/phpmyfaq/admin/import.csv.php @@ -53,7 +53,7 @@ 'msgImportRecordsColumnStructure' => Translation::get('msgImportRecordsColumnStructure'), 'csrfToken' => Token::getInstance($container->get('session'))->getTokenString('importfaqs'), 'is_active' => Translation::get('ad_entry_active'), - 'is_sticky' => Translation::get('ad_entry_sticky'), + 'is_sticky' => Translation::get('msgStickyFAQ'), 'trueFalse' => Translation::get('msgCSVImportTrueOrFalse') ]; diff --git a/phpmyfaq/assets/templates/admin/content/faq.editor.twig b/phpmyfaq/assets/templates/admin/content/faq.editor.twig index bccd431ad8..2d42e40cf6 100644 --- a/phpmyfaq/assets/templates/admin/content/faq.editor.twig +++ b/phpmyfaq/assets/templates/admin/content/faq.editor.twig @@ -1,373 +1,384 @@ -
-

- - {{ adminFaqEditorHeader }}{% if editExistingFaq %}: {{ faqData['title'] | raw }}{% endif %} -

- - {% if editExistingFaq %} -
-
+{% extends '@admin/index.twig' %} + +{% block content %} +
+

+ + {{ adminFaqEditorHeader }} + + {% if editExistingFaq %}: {{ faqData['title'] | raw }}{% endif %} + +

+ + {% if editExistingFaq %} + -
- {% endif %} -
- -{% if faqData['notes'] != '' %} - -{% endif %} - -
-
-
- -
-
-
- - {% if numberOfRevisions > 0 %} - -
-
- -
-
- {% endif %} -
- - - - - - - - - -
- - - {{ msgNoHashAllowed }} - -
+ {% if faqData['notes'] != '' %} + + {% endif %} - - {% if isEditorEnabled %} -
-
- - +
+
+
+ +
+
+
+ + {% if numberOfRevisions > 0 %} + +
+ + +
-
{% endif %} - {% if isMarkdownEditorEnabled %} -
-
- -
-
-
-
+
+ + + + + + + + + +
+ + + {{ msgNoHashAllowed }} + +
+ + + {% if isEditorEnabled %} +
+
+ + +
+
+ {% endif %} + + {% if isMarkdownEditorEnabled %} +
+
+ +
+
+
+
+
+
+
+
+
-
-
-
-
-
- {% endif %} + {% endif %} - {% if not isEditorEnabled and not isMarkdownEditorEnabled %} -
-
+ {% if not isEditorEnabled and not isMarkdownEditorEnabled %} +
+
-
-
- {% endif %} - -
+
+
+ {% endif %} -
- -
- -
- -
- -
- -
- {{ languageOptions | raw }} +
+ +
+ +
+ +
-
- - {% if hasPermissionForAddAttachments %} +
- +
-
    - {% for attachment in attachments %} -
  • - {{ attachment.filename }} - {% if hasPermissionForDeleteAttachments %} - - {% endif %} -
  • - {% endfor %} -
- - + {{ languageOptions | raw }}
- {% endif %} - -
- -
- - {{ msgShowHelp }} + + {% if hasPermissionForAddAttachments %} +
+ +
+
    + {% for attachment in attachments %} +
  • + {{ attachment.filename }} + {% if hasPermissionForDeleteAttachments %} + + {% endif %} +
  • + {% endfor %} +
+ + +
+
+ {% endif %} + + +
+ +
+ + {{ msgShowHelp }} +
-
- -
- -
- - {{ msgShowHelp }} + +
+ +
+ + {{ msgShowHelp }} +
-
- -
- -
- + +
+ +
+ +
-
- -
- -
- + +
+ +
+ +
+
- -
-
+
-
-

{{ msgSerp }}

-
+
+

{{ msgSerp }}

+
- -
- -
- + +
+ +
+ +
-
- -
- -
+ +
+ +
+
-
-
- - {% if not isBasicPermission %} +
+ + {% if not isBasicPermission %} +
+
+
{{ ad_entry_grouppermission }}
+
+
+ + +
+
+ + + +
+
+
+
+ {% else %} + + {% endif %} +
-
{{ ad_entry_grouppermission }}
+
{{ ad_entry_userpermission }}
- -
- -
- {% else %} - - {% endif %} -
-
-
{{ ad_entry_userpermission }}
-
-
- - -
-
- - - -
-
-
-
- -
-
- {{ ad_entry_changelog }} -
-
- -
- +
+
+ {{ ad_entry_changelog }} +
+
+ +
+ +
-
-
- -
+
+ +
+
-
-
- -
-
-
- +
+ +
+
+
+ +
-
-
- {{ ad_entry_changelog_history }} -
-
-
+
+ {{ ad_entry_changelog_history }} +
+
+
{% for changelog in changelogs %}
@@ -389,191 +400,193 @@ {{ changelog['changelog'] }}

{% endfor %} +
-
- -
-
- -
-
- {{ ad_entry_date }} -
-
-
- - -
-
- - -
-
- - -
- -
- -
- {{ ad_entry_status }} -
-
- - {% if hasPermissionForApprove %} -
- - -
-
- - -
- {% else %} -
- - -
+ +
+
+ - - {% if canBeNewRevision %} -
- {{ ad_entry_new_revision }} +
+
+ {{ msgDate }}
- - + +
- - + + +
+
+ + +
+
- {% endif %} -
- -
- -
- - +
+ {{ ad_entry_status }} +
+
+ + {% if hasPermissionForApprove %} +
+ + +
+
+ + +
+ {% else %} +
+ + +
+ {% endif %}
- -
- - + {% if canBeNewRevision %} +
+ {{ ad_entry_new_revision }} +
+
+
+ + +
+
+ + +
+
+ {% endif %} + +
+ +
+ +
+ + +
+ + +
+ + +
-
-
+
-
- - - +
+ + + +
+
-
-
- - -
- - + +{% endblock %} diff --git a/phpmyfaq/assets/templates/admin/content/faq.overview.twig b/phpmyfaq/assets/templates/admin/content/faq.overview.twig index 91f5a766f4..d05ee773bc 100644 --- a/phpmyfaq/assets/templates/admin/content/faq.overview.twig +++ b/phpmyfaq/assets/templates/admin/content/faq.overview.twig @@ -68,13 +68,13 @@ ID - {{ msgQuestion }} + {{ 'msgQuestion' | translate }} - {{ msgDate }} + {{ 'msgDate' | translate }} - {{ msgSticky }} + {{ 'msgStickyFAQ' | translate }} {{ 'msgActive' | translate }} diff --git a/phpmyfaq/assets/templates/admin/dashboard.twig b/phpmyfaq/assets/templates/admin/dashboard.twig index 0cf45bdc2a..9046ae975d 100644 --- a/phpmyfaq/assets/templates/admin/dashboard.twig +++ b/phpmyfaq/assets/templates/admin/dashboard.twig @@ -108,7 +108,7 @@
{{ adminDashboardInfoNumComments }}
diff --git a/phpmyfaq/faq.php b/phpmyfaq/faq.php index f66c4330ce..174ed47d7e 100644 --- a/phpmyfaq/faq.php +++ b/phpmyfaq/faq.php @@ -220,7 +220,7 @@ ); $templateVars = [ ... $templateVars, - 'numberOfComments' => sprintf('%d %s', $numComments[$faqId] ?? 0, Translation::get('ad_start_comments')), + 'numberOfComments' => sprintf('%d %s', $numComments[$faqId] ?? 0, Translation::get('msgComments')), 'writeCommentMsg' => $commentMessage ]; } diff --git a/phpmyfaq/src/admin-routes.php b/phpmyfaq/src/admin-routes.php index 4f6385cbf8..262feecae7 100644 --- a/phpmyfaq/src/admin-routes.php +++ b/phpmyfaq/src/admin-routes.php @@ -123,6 +123,11 @@ 'controller' => [ConfigurationController::class, 'index'], 'methods' => 'GET' ], + 'admin.faq.add' => [ + 'path' => '/faq/add', + 'controller' => [FaqController::class, 'add'], + 'methods' => 'GET' + ], 'admin.faqs' => [ 'path' => '/faqs', 'controller' => [FaqController::class, 'index'], diff --git a/phpmyfaq/src/phpMyFAQ/Controller/Administration/AbstractAdministrationController.php b/phpmyfaq/src/phpMyFAQ/Controller/Administration/AbstractAdministrationController.php index 23266502de..05b2eddb99 100644 --- a/phpmyfaq/src/phpMyFAQ/Controller/Administration/AbstractAdministrationController.php +++ b/phpmyfaq/src/phpMyFAQ/Controller/Administration/AbstractAdministrationController.php @@ -81,12 +81,14 @@ protected function getHeader(Request $request): array $secLevelEntries['content'] .= $adminHelper->addMenuEntry( PermissionType::FAQ_ADD->value, 'editentry', - 'ad_entry_add' + 'ad_entry_add', + 'faq/add' ); $secLevelEntries['content'] .= $adminHelper->addMenuEntry( 'edit_faq+delete_faq', 'faqs-overview', - 'msgHeaderFAQOverview' + 'msgHeaderFAQOverview', + 'faqs' ); $secLevelEntries['content'] .= $adminHelper->addMenuEntry( PermissionType::FAQ_EDIT->value, diff --git a/phpmyfaq/src/phpMyFAQ/Controller/Administration/FaqController.php b/phpmyfaq/src/phpMyFAQ/Controller/Administration/FaqController.php index 97f469ee69..65b980e647 100644 --- a/phpmyfaq/src/phpMyFAQ/Controller/Administration/FaqController.php +++ b/phpmyfaq/src/phpMyFAQ/Controller/Administration/FaqController.php @@ -22,8 +22,13 @@ use phpMyFAQ\Category; use phpMyFAQ\Category\Relation; use phpMyFAQ\Core\Exception; +use phpMyFAQ\Database; use phpMyFAQ\Enums\PermissionType; +use phpMyFAQ\Helper\LanguageHelper; use phpMyFAQ\Session\Token; +use phpMyFAQ\Template\Extensions\FormatBytesTwigExtension; +use phpMyFAQ\Template\Extensions\IsoDateTwigExtension; +use phpMyFAQ\Template\Extensions\UserNameTwigExtension; use phpMyFAQ\Translation; use phpMyFAQ\User\CurrentUser; use Symfony\Component\HttpFoundation\Request; @@ -69,11 +74,149 @@ public function index(Request $request): Response 'categories' => $category->getCategoryTree(), 'numberOfRecords' => $categoryRelation->getNumberOfFaqsPerCategory(), 'numberOfComments' => $comments->getNumberOfCommentsByCategory(), - 'msgComments' => Translation::get('ad_start_comments'), - 'msgQuestion' => Translation::get('ad_entry_theme'), - 'msgDate' => Translation::get('ad_entry_date'), - 'msgSticky' => Translation::get('ad_entry_sticky'), - 'msgActive' => Translation::get('ad_record_active'), + ] + ); + } + + /** + * @throws Exception + * @throws LoaderError + * @throws \Exception + * @todo refactor Twig template variables + */ + #[Route('/faq/add', name: 'admin.faq.add', methods: ['GET'])] + public function add(Request $request): Response + { + $this->userHasPermission(PermissionType::FAQ_ADD); + + [ $currentAdminUser, $currentAdminGroups ] = CurrentUser::getCurrentUserGroupId($this->currentUser); + + $category = new Category($this->configuration, $currentAdminGroups, true); + $category->setUser($currentAdminUser); + $category->setGroups($currentAdminGroups); + $category->buildCategoryTree(); + + $categoryHelper = $this->container->get('phpmyfaq.helper.category-helper'); + $categoryHelper->setCategory($category); + + $faq = $this->container->get('phpmyfaq.faq'); + $userHelper = $this->container->get('phpmyfaq.helper.user-helper'); + $logging = $this->container->get('phpmyfaq.admin.admin-log'); + $session = $this->container->get('session'); + + $logging->log($this->currentUser, 'admin-add-faq'); + $categories = []; + + $faqData = [ + 'id' => 0, + 'lang' => $this->configuration->getLanguage()->getLanguage(), + 'revision_id' => 0, + 'author' => $this->currentUser->getUserData('display_name'), + 'email' => $this->currentUser->getUserData('email'), + 'comment' => $this->configuration->get('records.defaultAllowComments') ? 'checked' : null, + ]; + + $this->addExtension(new IsoDateTwigExtension()); + $this->addExtension(new UserNameTwigExtension()); + $this->addExtension(new FormatBytesTwigExtension()); + return $this->render( + '@admin/content/faq.editor.twig', + [ + ... $this->getHeader($request), + ... $this->getFooter(), + 'ad_record_faq' => Translation::get('ad_record_faq'), + 'ad_menu_faq_meta' => Translation::get('ad_menu_faq_meta'), + 'ad_record_permissions' => Translation::get('ad_record_permissions'), + 'adminFaqEditorHeader' => Translation::get('ad_entry_add'), + 'editExistingFaq' => false, + 'isEditorEnabled' => $this->configuration->get('main.enableWysiwygEditor'), + 'isMarkdownEditorEnabled' => $this->configuration->get('main.enableMarkdownEditor'), + 'isBasicPermission' => $this->configuration->get('security.permLevel') === 'basic', + 'defaultUrl' => $this->configuration->getDefaultUrl(), + 'faqRevisionId' => 0, + 'faqData' => $faqData, + 'openQuestionId' => 0, + 'notifyUser' => '', + 'notifyEmail' => '', + 'csrfToken' => Token::getInstance($session)->getTokenString('edit-faq'), + 'msgQuestion' => Translation::get('msgQuestion'), + 'msgNoHashAllowed' => Translation::get('msgNoHashAllowed'), + 'msgShowHelp' => Translation::get('msgShowHelp'), + 'ad_entry_content' => Translation::get('ad_entry_content'), + 'ad_entry_category' => Translation::get('ad_entry_category'), + 'categoryOptions' => $categoryHelper->renderOptions($categories), + 'ad_entry_locale' => Translation::get('ad_entry_locale'), + 'languageOptions' => LanguageHelper::renderSelectLanguage('de', false, [], 'lang'), + 'hasPermissionForAddAttachments' => $this->currentUser->perm->hasPermission( + $this->currentUser->getUserId(), + PermissionType::ATTACHMENT_ADD->value + ), + 'hasPermissionForDeleteAttachments' => $this->currentUser->perm->hasPermission( + $this->currentUser->getUserId(), + PermissionType::ATTACHMENT_DELETE->value + ), + 'ad_menu_attachments' => Translation::get('ad_menu_attachments'), + 'csrfTokenDeleteAttachment' => Token::getInstance($session)->getTokenString('delete-attachment'), + 'attachments' => [], + 'ad_att_add' => Translation::get('ad_att_add'), + 'ad_entry_tags' => Translation::get('ad_entry_tags'), + 'ad_entry_keywords' => Translation::get('ad_entry_keywords'), + 'ad_entry_author' => Translation::get('ad_entry_author'), + 'msgEmail' => Translation::get('msgEmail'), + 'msgSeoCenter' => Translation::get('seoCenter'), + 'msgSerp' => Translation::get('msgSerp'), + 'msgSerpTitle' => Translation::get('msgSerpTitle'), + 'ad_entry_grouppermission' => Translation::get('ad_entry_grouppermission'), + 'ad_entry_all_groups' => Translation::get('ad_entry_all_groups'), + 'allGroups' => true, + 'restrictedGroups' => false, + 'ad_entry_restricted_groups' => Translation::get('ad_entry_restricted_groups'), + 'groupPermissionOptions' => ($this->configuration->get('security.permLevel') === 'medium') ? + $this->currentUser->perm->getAllGroupsOptions([-1], $this->currentUser) : '', + 'ad_entry_userpermission' => Translation::get('ad_entry_userpermission'), + 'allUsers' => true, + 'msgAccessAllUsers' => Translation::get('msgAccessAllUsers'), + 'restrictedUsers' => false, + 'ad_entry_restricted_users' => Translation::get('ad_entry_restricted_users'), + 'userPermissionOptions' => $userHelper->getAllUserOptions(-1, true), + 'ad_entry_changelog' => Translation::get('ad_entry_changelog'), + 'msgDate' => Translation::get('msgDate'), + 'ad_entry_changed' => Translation::get('ad_entry_changed'), + 'ad_admin_notes_hint' => Translation::get('ad_admin_notes_hint'), + 'ad_admin_notes' => Translation::get('ad_admin_notes'), + 'ad_entry_changelog_history' => Translation::get('ad_entry_changelog_history'), + 'changelogs' => [], + 'ad_entry_revision' => Translation::get('ad_entry_revision'), + 'ad_gen_reset' => Translation::get('ad_gen_reset'), + 'ad_entry_save' => Translation::get('ad_entry_save'), + 'msgUpdateFaqDate' => Translation::get('msgUpdateFaqDate'), + 'msgKeepFaqDate' => Translation::get('msgKeepFaqDate'), + 'msgEditFaqDat' => Translation::get('msgEditFaqDat'), + 'ad_entry_status' => Translation::get('ad_entry_status'), + 'hasPermissionForApprove' => $this->currentUser->perm->hasPermission( + $this->currentUser->getUserId(), + PermissionType::FAQ_APPROVE->value + ), + 'isActive' => null, + 'isInActive' => null, + 'ad_entry_visibility' => Translation::get('ad_entry_visibility'), + 'ad_entry_not_visibility' => Translation::get('ad_entry_not_visibility'), + 'canBeNewRevision' => false, + 'ad_entry_new_revision' => Translation::get('ad_entry_new_revision'), + 'ad_gen_yes' => Translation::get('ad_gen_yes'), + 'ad_gen_no' => Translation::get('ad_gen_no'), + 'msgStickyFAQ' => Translation::get('msgStickyFAQ'), + 'ad_entry_allowComments' => Translation::get('ad_entry_allowComments'), + 'ad_entry_solution_id' => Translation::get('ad_entry_solution_id'), + 'nextSolutionId' => $faq->getNextSolutionId(), + 'nextFaqId' => $this->configuration->getDb()->nextId(Database::getTablePrefix() . 'faqdata', 'id'), + 'ad_att_addto' => Translation::get('ad_att_addto'), + 'ad_att_addto_2' => Translation::get('ad_att_addto_2'), + 'ad_att_att' => Translation::get('ad_att_att'), + 'maxAttachmentSize' => $this->configuration->get('records.maxAttachmentSize'), + 'csrfTokenUploadAttachment' => Token::getInstance($session)->getTokenString('upload-attachment'), + 'msgAttachmentsFilesize' => Translation::get('msgAttachmentsFilesize'), + 'ad_att_butt' => Translation::get('ad_att_butt'), ] ); } diff --git a/phpmyfaq/src/phpMyFAQ/Controller/Administration/ImportController.php b/phpmyfaq/src/phpMyFAQ/Controller/Administration/ImportController.php index dc2394f1f9..c565e6928c 100644 --- a/phpmyfaq/src/phpMyFAQ/Controller/Administration/ImportController.php +++ b/phpmyfaq/src/phpMyFAQ/Controller/Administration/ImportController.php @@ -63,7 +63,7 @@ public function index(Request $request): Response 'msgImportRecordsColumnStructure' => Translation::get('msgImportRecordsColumnStructure'), 'csrfToken' => Token::getInstance($this->container->get('session'))->getTokenString('importfaqs'), 'is_active' => Translation::get('ad_entry_active'), - 'is_sticky' => Translation::get('ad_entry_sticky'), + 'is_sticky' => Translation::get('msgStickyFAQ'), 'trueFalse' => Translation::get('msgCSVImportTrueOrFalse') ] ); diff --git a/phpmyfaq/src/phpMyFAQ/Controller/Administration/OpenQuestionsController.php b/phpmyfaq/src/phpMyFAQ/Controller/Administration/OpenQuestionsController.php index d642772be5..0035578561 100644 --- a/phpmyfaq/src/phpMyFAQ/Controller/Administration/OpenQuestionsController.php +++ b/phpmyfaq/src/phpMyFAQ/Controller/Administration/OpenQuestionsController.php @@ -55,7 +55,7 @@ public function index(Request $request): Response 'csrfTokenDeleteQuestion' => Token::getInstance($session)->getTokenString('delete-questions'), 'currentLocale' => $this->configuration->getLanguage()->getLanguage(), 'msgAuthor' => Translation::get('ad_entry_author'), - 'msgQuestion' => Translation::get('ad_entry_theme'), + 'msgQuestion' => Translation::get('msgQuestion'), 'msgVisibility' => Translation::get('ad_entry_visibility'), 'questions' => $question->getAll(), 'yes' => Translation::get('ad_gen_yes'), diff --git a/phpmyfaq/src/services.php b/phpmyfaq/src/services.php index 3908bdd3ed..bc15c74594 100644 --- a/phpmyfaq/src/services.php +++ b/phpmyfaq/src/services.php @@ -18,6 +18,7 @@ use phpMyFAQ\Administration\AdminLog; use phpMyFAQ\Administration\Backup; use phpMyFAQ\Administration\Category; +use phpMyFAQ\Administration\Changelog; use phpMyFAQ\Administration\RatingData; use phpMyFAQ\Administration\Session as AdminSession; use phpMyFAQ\Attachment\AttachmentCollection; @@ -79,6 +80,11 @@ new Reference('phpmyfaq.configuration'), ]); + $services->set('phpmyfaq.admin.changelog', Changelog::class) + ->args([ + new Reference('phpmyfaq.configuration'), + ]); + $services->set('phpmyfaq.admin.rating-data', RatingData::class) ->args([ new Reference('phpmyfaq.configuration'), @@ -161,11 +167,9 @@ new Reference('phpmyfaq.configuration') ]); - $services->set('phpmyfaq.helper.statistics', StatisticsHelper::class) + $services->set('phpmyfaq.faq.permission', Faq\Permission::class) ->args([ - new Reference('phpmyfaq.admin.session'), - new Reference('phpmyfaq.visits'), - new Reference('phpmyfaq.date') + new Reference('phpmyfaq.configuration') ]); $services->set('phpmyfaq.faq.statistics', Statistics::class) @@ -185,6 +189,13 @@ $services->set('phpmyfaq.helper.category-helper', CategoryHelper::class); + $services->set('phpmyfaq.helper.statistics', StatisticsHelper::class) + ->args([ + new Reference('phpmyfaq.admin.session'), + new Reference('phpmyfaq.visits'), + new Reference('phpmyfaq.date') + ]); + $services->set('phpmyfaq.helper.user-helper', UserHelper::class) ->args([ new Reference('phpmyfaq.user.current_user') diff --git a/phpmyfaq/translations/language_ar.php b/phpmyfaq/translations/language_ar.php index e2e43eb8ba..314e124bf6 100644 --- a/phpmyfaq/translations/language_ar.php +++ b/phpmyfaq/translations/language_ar.php @@ -170,13 +170,13 @@ $PMF_LANG['ad_entry_action'] = 'عمليات'; $PMF_LANG['ad_entry_edit_1'] = 'تحرير السؤال'; $PMF_LANG['ad_entry_edit_2'] = ''; -$PMF_LANG['ad_entry_theme'] = 'عنوان السؤال:'; +$PMF_LANG['msgQuestion'] = 'عنوان السؤال:'; $PMF_LANG['ad_entry_content'] = 'السؤال:'; $PMF_LANG['ad_entry_keywords'] = 'كلمات البحث:'; $PMF_LANG['ad_entry_author'] = 'الكاتب:'; $PMF_LANG['ad_entry_category'] = 'التصنيف:'; $PMF_LANG['ad_entry_active'] = 'نشط؟'; -$PMF_LANG['ad_entry_date'] = 'التاريخ'; +$PMF_LANG['msgDate'] = 'التاريخ'; $PMF_LANG['ad_entry_status'] = 'حالة السؤال'; $PMF_LANG['ad_entry_changed'] = 'معدّل؟'; $PMF_LANG['ad_entry_changelog'] = 'سجل التعديلات'; @@ -370,7 +370,7 @@ $PMF_LANG['ad_log_bede'] = 'تم حذف السؤال التالية: '; $PMF_LANG['msgVisits'] = 'زيارات'; $PMF_LANG['ad_start_articles'] = 'مواضيع'; -$PMF_LANG['ad_start_comments'] = 'تعليقات'; +$PMF_LANG['msgComments'] = 'تعليقات'; $PMF_LANG['ad_categ_paste'] = 'لصق'; $PMF_LANG['ad_categ_cut'] = 'قص'; $PMF_LANG['msgCopy'] = 'نسخ'; @@ -751,7 +751,7 @@ $PMF_LANG['ad_searchstats_search_term_lang'] = 'لغة'; $PMF_LANG['ad_searchstats_search_term_percentage'] = 'نسبة'; $PMF_LANG['ad_record_sticky'] = 'مثبت'; -$PMF_LANG['ad_entry_sticky'] = 'مثبت'; +$PMF_LANG['msgStickyFAQ'] = 'مثبت'; $PMF_LANG['stickyRecordsHeader'] = 'أسئلة مثبتة'; $PMF_LANG['ad_menu_stopwordsconfig'] = 'الكلمات المستثناة'; $PMF_LANG['ad_config_stopword_input'] = 'Add new stop word'; diff --git a/phpmyfaq/translations/language_bn.php b/phpmyfaq/translations/language_bn.php index 9545a2f4d5..184a3a151d 100644 --- a/phpmyfaq/translations/language_bn.php +++ b/phpmyfaq/translations/language_bn.php @@ -205,13 +205,13 @@ $PMF_LANG["ad_entry_action"] = "Action"; $PMF_LANG["ad_entry_edit_1"] = "Edit Record"; $PMF_LANG["ad_entry_edit_2"] = ""; -$PMF_LANG["ad_entry_theme"] = "Question"; +$PMF_LANG["msgQuestion"] = "Question"; $PMF_LANG["ad_entry_content"] = "Answer"; $PMF_LANG["ad_entry_keywords"] = "Keywords"; $PMF_LANG["ad_entry_author"] = "Author"; $PMF_LANG["ad_entry_category"] = "Entity"; $PMF_LANG["ad_entry_active"] = "Active?"; -$PMF_LANG["ad_entry_date"] = "Date"; +$PMF_LANG["msgDate"] = "Date"; $PMF_LANG["ad_entry_status"] = "FAQ Status"; $PMF_LANG["ad_entry_changed"] = "Changed?"; $PMF_LANG["ad_entry_changelog"] = "Changelog"; @@ -449,7 +449,7 @@ $PMF_LANG["msgVisits"] = "Visits"; $PMF_LANG["ad_start_articles"] = "Articles"; -$PMF_LANG["ad_start_comments"] = "Comments"; +$PMF_LANG["msgComments"] = "Comments"; // Added v1.1 - 30.01.2002 - Bastian diff --git a/phpmyfaq/translations/language_bs.php b/phpmyfaq/translations/language_bs.php index 66fdb24bff..925243fd46 100644 --- a/phpmyfaq/translations/language_bs.php +++ b/phpmyfaq/translations/language_bs.php @@ -205,13 +205,13 @@ $PMF_LANG["ad_entry_action"] = "Akcija"; $PMF_LANG["ad_entry_edit_1"] = "Dodaj/Izmeni Unos"; $PMF_LANG["ad_entry_edit_2"] = ""; -$PMF_LANG["ad_entry_theme"] = "Tema"; +$PMF_LANG["msgQuestion"] = "Tema"; $PMF_LANG["ad_entry_content"] = "Sadržaj"; $PMF_LANG["ad_entry_keywords"] = "Ključne reči"; $PMF_LANG["ad_entry_author"] = "Autor"; $PMF_LANG["ad_entry_category"] = "Kategorija"; $PMF_LANG["ad_entry_active"] = "Aktivno?"; -$PMF_LANG["ad_entry_date"] = "Datum"; +$PMF_LANG["msgDate"] = "Datum"; $PMF_LANG["ad_entry_status"] = "Status FAQ"; $PMF_LANG["ad_entry_changed"] = "Izmenjeno?"; $PMF_LANG["ad_entry_changelog"] = "Log izmena"; @@ -449,7 +449,7 @@ $PMF_LANG["msgVisits"] = "Poseta"; $PMF_LANG["ad_start_articles"] = "Članaka"; -$PMF_LANG["ad_start_comments"] = "Komentara"; +$PMF_LANG["msgComments"] = "Komentara"; // Added v1.1 - 30.01.2002 - Bastian diff --git a/phpmyfaq/translations/language_cs.php b/phpmyfaq/translations/language_cs.php index 5ef3c40d24..ab61f68a26 100644 --- a/phpmyfaq/translations/language_cs.php +++ b/phpmyfaq/translations/language_cs.php @@ -173,13 +173,13 @@ $PMF_LANG['ad_entry_action'] = 'Akce'; $PMF_LANG['ad_entry_edit_1'] = 'Edituj záznam'; $PMF_LANG['ad_entry_edit_2'] = ''; -$PMF_LANG['ad_entry_theme'] = 'Téma:'; +$PMF_LANG['msgQuestion'] = 'Téma:'; $PMF_LANG['ad_entry_content'] = 'Obsah:'; $PMF_LANG['ad_entry_keywords'] = 'Klíčová slova:'; $PMF_LANG['ad_entry_author'] = 'Autor:'; $PMF_LANG['ad_entry_category'] = 'Kategorie:'; $PMF_LANG['ad_entry_active'] = 'Aktivovat zobrazení tohoto záznamu:'; -$PMF_LANG['ad_entry_date'] = 'Datum'; +$PMF_LANG['msgDate'] = 'Datum'; $PMF_LANG['ad_entry_status'] = 'Status der FAQ'; $PMF_LANG['ad_entry_changed'] = 'Změněno?'; $PMF_LANG['ad_entry_changelog'] = 'Změny'; @@ -373,7 +373,7 @@ $PMF_LANG['ad_log_bede'] = 'Smazán záznam: '; $PMF_LANG['msgVisits'] = 'Návštěv'; $PMF_LANG['ad_start_articles'] = 'Článků'; -$PMF_LANG['ad_start_comments'] = 'Komentářů'; +$PMF_LANG['msgComments'] = 'Komentářů'; $PMF_LANG['ad_categ_paste'] = 'vložit'; $PMF_LANG['ad_categ_cut'] = 'vyjmout'; $PMF_LANG['msgCopy'] = 'kopírovat'; @@ -674,7 +674,7 @@ $PMF_LANG['ad_searchstats_search_term_lang'] = 'Jazyk'; $PMF_LANG['ad_searchstats_search_term_percentage'] = 'Procento'; $PMF_LANG['ad_record_sticky'] = 'Štítky'; -$PMF_LANG['ad_entry_sticky'] = 'Štítky'; +$PMF_LANG['msgStickyFAQ'] = 'Štítky'; $PMF_LANG['stickyRecordsHeader'] = 'Štítky záznamů'; $PMF_LANG['ad_menu_stopwordsconfig'] = 'Stop slova'; $PMF_LANG['ad_config_stopword_input'] = 'Přidat nové stop slovo'; diff --git a/phpmyfaq/translations/language_cy.php b/phpmyfaq/translations/language_cy.php index b62b022689..28990c07a0 100644 --- a/phpmyfaq/translations/language_cy.php +++ b/phpmyfaq/translations/language_cy.php @@ -206,13 +206,13 @@ $PMF_LANG["ad_entry_action"] = "Gweithred"; $PMF_LANG["ad_entry_edit_1"] = "Golygu Cofnod"; $PMF_LANG["ad_entry_edit_2"] = ""; -$PMF_LANG["ad_entry_theme"] = "Thema"; +$PMF_LANG["msgQuestion"] = "Thema"; $PMF_LANG["ad_entry_content"] = "Cynnwys"; $PMF_LANG["ad_entry_keywords"] = "Geiriau Allweddol"; $PMF_LANG["ad_entry_author"] = "Awdur"; $PMF_LANG["ad_entry_category"] = "Categori"; $PMF_LANG["ad_entry_active"] = "Gweithredol?"; -$PMF_LANG["ad_entry_date"] = "Dyddiad"; +$PMF_LANG["msgDate"] = "Dyddiad"; $PMF_LANG["ad_entry_status"] = "Status der FAQ"; $PMF_LANG["ad_entry_changed"] = "Newidiwyd?"; $PMF_LANG["ad_entry_changelog"] = "Newid log"; @@ -447,7 +447,7 @@ $PMF_LANG["msgVisits"] = "Ymweliadau"; $PMF_LANG["ad_start_articles"] = "Erthyglau"; -$PMF_LANG["ad_start_comments"] = "Sylwadau"; +$PMF_LANG["msgComments"] = "Sylwadau"; // Added v1.1 - 30.01.2002 - Bastian diff --git a/phpmyfaq/translations/language_da.php b/phpmyfaq/translations/language_da.php index ed794add0c..9ace3fecc6 100644 --- a/phpmyfaq/translations/language_da.php +++ b/phpmyfaq/translations/language_da.php @@ -172,13 +172,13 @@ $PMF_LANG['ad_entry_action'] = 'Aktion'; $PMF_LANG['ad_entry_edit_1'] = 'Ret indlæg'; $PMF_LANG['ad_entry_edit_2'] = ''; -$PMF_LANG['ad_entry_theme'] = 'Tema:'; +$PMF_LANG['msgQuestion'] = 'Tema:'; $PMF_LANG['ad_entry_content'] = 'Indhold:'; $PMF_LANG['ad_entry_keywords'] = 'Nøgleord:'; $PMF_LANG['ad_entry_author'] = 'Forfatter:'; $PMF_LANG['ad_entry_category'] = 'Kategori:'; $PMF_LANG['ad_entry_active'] = 'Aktiv?'; -$PMF_LANG['ad_entry_date'] = 'Dato'; +$PMF_LANG['msgDate'] = 'Dato'; $PMF_LANG['ad_entry_status'] = 'Status der FAQ'; $PMF_LANG['ad_entry_changed'] = 'ændret?'; $PMF_LANG['ad_entry_changelog'] = 'Log over ændringer'; @@ -372,7 +372,7 @@ $PMF_LANG['ad_log_bede'] = 'Slet følgende registrering: '; $PMF_LANG['msgVisits'] = 'Besøg'; $PMF_LANG['ad_start_articles'] = 'Artikler'; -$PMF_LANG['ad_start_comments'] = 'kommentarer'; +$PMF_LANG['msgComments'] = 'kommentarer'; $PMF_LANG['ad_categ_paste'] = 'sæt ind'; $PMF_LANG['ad_categ_cut'] = 'klip'; $PMF_LANG['msgCopy'] = 'kopier'; diff --git a/phpmyfaq/translations/language_de.php b/phpmyfaq/translations/language_de.php index 2696800b95..893d5aa272 100755 --- a/phpmyfaq/translations/language_de.php +++ b/phpmyfaq/translations/language_de.php @@ -202,13 +202,13 @@ $PMF_LANG['ad_entry_action'] = "Aktion"; $PMF_LANG['ad_entry_edit_1'] = "FAQ"; $PMF_LANG['ad_entry_edit_2'] = "bearbeiten"; -$PMF_LANG['ad_entry_theme'] = "Frage"; +$PMF_LANG['msgQuestion'] = "Frage"; $PMF_LANG['ad_entry_content'] = "Antwort"; $PMF_LANG['ad_entry_keywords'] = "Suchbegriffe"; $PMF_LANG['ad_entry_author'] = "Verfasser"; $PMF_LANG['ad_entry_category'] = "Kategorie"; $PMF_LANG['ad_entry_active'] = "Aktiviert"; -$PMF_LANG['ad_entry_date'] = "Datum"; +$PMF_LANG['msgDate'] = "Datum"; $PMF_LANG["ad_entry_status"] = "Status der FAQ"; $PMF_LANG['ad_entry_changed'] = "Änderungen"; $PMF_LANG['ad_entry_changelog'] = "Änderungen"; @@ -442,7 +442,7 @@ $PMF_LANG['msgVisits'] = "Besuche"; $PMF_LANG['ad_start_articles'] = "FAQs"; -$PMF_LANG['ad_start_comments'] = "Kommentare"; +$PMF_LANG['msgComments'] = "Kommentare"; // Added v1.1 - 30.01.2002 - Bastian $PMF_LANG['ad_categ_paste'] = "einfügen"; @@ -814,7 +814,7 @@ // added 2.5.0-beta - 2009-03-31 by Anatoliy $PMF_LANG['ad_record_sticky'] = "Wichtig"; -$PMF_LANG['ad_entry_sticky'] = "Wichtige FAQ"; +$PMF_LANG['msgStickyFAQ'] = "Wichtige FAQ"; $PMF_LANG['stickyRecordsHeader'] = "Wichtige FAQs"; // added 2.5.0-beta - 2009-04-01 by Anatoliy diff --git a/phpmyfaq/translations/language_el.php b/phpmyfaq/translations/language_el.php index adf7aec8d3..dee44433cd 100644 --- a/phpmyfaq/translations/language_el.php +++ b/phpmyfaq/translations/language_el.php @@ -173,13 +173,13 @@ $PMF_LANG['ad_entry_action'] = 'Ενέργεια'; $PMF_LANG['ad_entry_edit_1'] = 'Μεταβολή καταχώρησης'; $PMF_LANG['ad_entry_edit_2'] = ''; -$PMF_LANG['ad_entry_theme'] = 'Συνδυασμός γραφικών:'; +$PMF_LANG['msgQuestion'] = 'Συνδυασμός γραφικών:'; $PMF_LANG['ad_entry_content'] = 'Περιεχόμενο:'; $PMF_LANG['ad_entry_keywords'] = 'Λέξεις κλειδιά:'; $PMF_LANG['ad_entry_author'] = 'Συγγραφέας:'; $PMF_LANG['ad_entry_category'] = 'Κατηγορία:'; $PMF_LANG['ad_entry_active'] = 'Ενεργή;'; -$PMF_LANG['ad_entry_date'] = 'Ημερομηνία'; +$PMF_LANG['msgDate'] = 'Ημερομηνία'; $PMF_LANG['ad_entry_status'] = 'Status der FAQ'; $PMF_LANG['ad_entry_changed'] = 'Αλλαγμένη;'; $PMF_LANG['ad_entry_changelog'] = 'Ημερολόγιο αλλαγών:'; @@ -373,7 +373,7 @@ $PMF_LANG['ad_log_bede'] = 'Εγινε διαγραφή της ακόλουθης καταχώρησης: '; $PMF_LANG['msgVisits'] = 'Επισκέψεις'; $PMF_LANG['ad_start_articles'] = 'Αρθρα'; -$PMF_LANG['ad_start_comments'] = 'Σχόλια'; +$PMF_LANG['msgComments'] = 'Σχόλια'; $PMF_LANG['ad_categ_paste'] = 'επικόλληση'; $PMF_LANG['ad_categ_cut'] = 'αποκοπή'; $PMF_LANG['msgCopy'] = 'αντιγραφή'; @@ -673,7 +673,7 @@ $PMF_LANG['ad_searchstats_search_term_lang'] = 'Γλώσσσα'; $PMF_LANG['ad_searchstats_search_term_percentage'] = 'Ποσοστό'; $PMF_LANG['ad_record_sticky'] = 'Επικολλημένο'; -$PMF_LANG['ad_entry_sticky'] = 'Επικολλημένο'; +$PMF_LANG['msgStickyFAQ'] = 'Επικολλημένο'; $PMF_LANG['stickyRecordsHeader'] = 'Επικολλημένες καταχωρήσεις'; $PMF_LANG['ad_menu_stopwordsconfig'] = 'Stop Words'; $PMF_LANG['ad_config_stopword_input'] = 'Προσθήκη νέου stop word'; diff --git a/phpmyfaq/translations/language_en.php b/phpmyfaq/translations/language_en.php index 9d259038e3..27133f371c 100644 --- a/phpmyfaq/translations/language_en.php +++ b/phpmyfaq/translations/language_en.php @@ -203,13 +203,13 @@ $PMF_LANG["ad_entry_action"] = "Action"; $PMF_LANG["ad_entry_edit_1"] = "Edit Record"; $PMF_LANG["ad_entry_edit_2"] = ""; -$PMF_LANG["ad_entry_theme"] = "Question"; +$PMF_LANG["msgQuestion"] = "Question"; $PMF_LANG["ad_entry_content"] = "Answer"; $PMF_LANG["ad_entry_keywords"] = "Keywords"; $PMF_LANG["ad_entry_author"] = "Author"; $PMF_LANG["ad_entry_category"] = "Category"; $PMF_LANG["ad_entry_active"] = "Visible"; -$PMF_LANG["ad_entry_date"] = "Date"; +$PMF_LANG["msgDate"] = "Date"; $PMF_LANG["ad_entry_status"] = "FAQ status"; $PMF_LANG["ad_entry_changed"] = "Changed?"; $PMF_LANG["ad_entry_changelog"] = "Changelog"; @@ -443,7 +443,7 @@ $PMF_LANG["msgVisits"] = "Visits"; $PMF_LANG["ad_start_articles"] = "Articles"; -$PMF_LANG["ad_start_comments"] = "Comments"; +$PMF_LANG["msgComments"] = "Comments"; // Added v1.1 - 30.01.2002 - Bastian $PMF_LANG["ad_categ_paste"] = "paste"; @@ -816,7 +816,7 @@ // added 2.5.0-beta - 2009-03-31 by Anatoliy $PMF_LANG['ad_record_sticky'] = 'Sticky'; -$PMF_LANG['ad_entry_sticky'] = 'Sticky'; +$PMF_LANG['msgStickyFAQ'] = 'Sticky'; $PMF_LANG['stickyRecordsHeader'] = 'Sticky FAQs'; // added 2.5.0-beta - 2009-04-01 by Anatoliy diff --git a/phpmyfaq/translations/language_es.php b/phpmyfaq/translations/language_es.php index ab96d799f9..15e5f46a9c 100644 --- a/phpmyfaq/translations/language_es.php +++ b/phpmyfaq/translations/language_es.php @@ -203,13 +203,13 @@ $PMF_LANG['ad_entry_action'] = 'Acción'; $PMF_LANG['ad_entry_edit_1'] = 'FAQ'; $PMF_LANG['ad_entry_edit_2'] = 'editar'; -$PMF_LANG['ad_entry_theme'] = 'Pregunta'; +$PMF_LANG['msgQuestion'] = 'Pregunta'; $PMF_LANG['ad_entry_content'] = 'Respuesta'; $PMF_LANG['ad_entry_keywords'] = 'Buscar palabras claves:'; $PMF_LANG['ad_entry_author'] = 'Autor'; $PMF_LANG['ad_entry_category'] = 'Categoría'; $PMF_LANG['ad_entry_active'] = 'Activado'; -$PMF_LANG['ad_entry_date'] = 'Fecha'; +$PMF_LANG['msgDate'] = 'Fecha'; $PMF_LANG['ad_entry_status'] = 'Estado de la FAQ'; $PMF_LANG['ad_entry_changed'] = '¿Qué se cambió?'; $PMF_LANG['ad_entry_changelog'] = 'Cambios'; @@ -444,7 +444,7 @@ $PMF_LANG['msgVisits'] = 'Visitas'; $PMF_LANG['ad_start_articles'] = 'FAQs'; -$PMF_LANG['ad_start_comments'] = 'Comentarios'; +$PMF_LANG['msgComments'] = 'Comentarios'; // Añadido v1.1 - 30.01.2002 - Bastian $PMF_LANG['ad_categ_paste'] = 'pegar'; @@ -815,7 +815,7 @@ // added 2.5.0-beta - 2009-03-31 by Anatoliy $PMF_LANG['ad_record_sticky'] = 'Pegajoso'; -$PMF_LANG['ad_entry_sticky'] = 'FAQ pegajosa'; +$PMF_LANG['msgStickyFAQ'] = 'FAQ pegajosa'; $PMF_LANG['stickyRecordsHeader'] = 'FAQs pegajosas'; // added 2.5.0-beta - 2009-04-01 by Anatoliy diff --git a/phpmyfaq/translations/language_eu.php b/phpmyfaq/translations/language_eu.php index 6f6514813c..af99315e59 100644 --- a/phpmyfaq/translations/language_eu.php +++ b/phpmyfaq/translations/language_eu.php @@ -209,13 +209,13 @@ $PMF_LANG["ad_entry_action"] = "Ekintza"; $PMF_LANG["ad_entry_edit_1"] = ""; $PMF_LANG["ad_entry_edit_2"] = ". erregistroa editatu"; -$PMF_LANG["ad_entry_theme"] = "Galdera"; +$PMF_LANG["msgQuestion"] = "Galdera"; $PMF_LANG["ad_entry_content"] = "Edukia"; $PMF_LANG["ad_entry_keywords"] = "Hitz gakoak"; $PMF_LANG["ad_entry_author"] = "Egilea"; $PMF_LANG["ad_entry_category"] = "Atala"; $PMF_LANG["ad_entry_active"] = "Aktibatu?"; -$PMF_LANG["ad_entry_date"] = "Eguna"; +$PMF_LANG["msgDate"] = "Eguna"; $PMF_LANG["ad_entry_status"] = "Status der FAQ"; $PMF_LANG["ad_entry_changed"] = "Aldatu?"; $PMF_LANG["ad_entry_changelog"] = "Aldaketen log-a"; @@ -453,7 +453,7 @@ $PMF_LANG["msgVisits"] = "Bisitak"; $PMF_LANG["ad_start_articles"] = "Artikuluak"; -$PMF_LANG["ad_start_comments"] = "iruzkin"; +$PMF_LANG["msgComments"] = "iruzkin"; // Added v1.1 - 30.01.2002 - Bastian diff --git a/phpmyfaq/translations/language_fa.php b/phpmyfaq/translations/language_fa.php index 8c2c01ede6..e083264e5f 100644 --- a/phpmyfaq/translations/language_fa.php +++ b/phpmyfaq/translations/language_fa.php @@ -174,13 +174,13 @@ $PMF_LANG['ad_entry_action'] = 'عمل'; $PMF_LANG['ad_entry_edit_1'] = 'اصلاح رکورد'; $PMF_LANG['ad_entry_edit_2'] = 'ویرایش رکورد'; -$PMF_LANG['ad_entry_theme'] = 'تیتر مطلب:'; +$PMF_LANG['msgQuestion'] = 'تیتر مطلب:'; $PMF_LANG['ad_entry_content'] = 'محتوا:'; $PMF_LANG['ad_entry_keywords'] = 'کلیدواژه:'; $PMF_LANG['ad_entry_author'] = 'نویسنده:'; $PMF_LANG['ad_entry_category'] = 'موضوع:'; $PMF_LANG['ad_entry_active'] = 'قابل مشاهده'; -$PMF_LANG['ad_entry_date'] = 'تاریخ'; +$PMF_LANG['msgDate'] = 'تاریخ'; $PMF_LANG['ad_entry_status'] = 'Status der FAQ'; $PMF_LANG['ad_entry_changed'] = 'تغییر یافته?'; $PMF_LANG['ad_entry_changelog'] = 'سیاهه تغییرات'; @@ -374,7 +374,7 @@ $PMF_LANG['ad_log_bede'] = 'مطالب زیر پاک شدند: '; $PMF_LANG['msgVisits'] = 'مشاهدات'; $PMF_LANG['ad_start_articles'] = 'مطالب'; -$PMF_LANG['ad_start_comments'] = 'نظرات'; +$PMF_LANG['msgComments'] = 'نظرات'; $PMF_LANG['ad_categ_paste'] = 'الصاق'; $PMF_LANG['ad_categ_cut'] = 'برش'; $PMF_LANG['msgCopy'] = 'رونوشت'; diff --git a/phpmyfaq/translations/language_fi.php b/phpmyfaq/translations/language_fi.php index 0f75bca92d..ef40036fe4 100644 --- a/phpmyfaq/translations/language_fi.php +++ b/phpmyfaq/translations/language_fi.php @@ -175,13 +175,13 @@ $PMF_LANG['ad_entry_action'] = 'Toiminto'; $PMF_LANG['ad_entry_edit_1'] = 'Muokkaa tietuetta'; $PMF_LANG['ad_entry_edit_2'] = ''; -$PMF_LANG['ad_entry_theme'] = 'Kysymys:'; +$PMF_LANG['msgQuestion'] = 'Kysymys:'; $PMF_LANG['ad_entry_content'] = 'Vastaus:'; $PMF_LANG['ad_entry_keywords'] = 'Avainsanat:'; $PMF_LANG['ad_entry_author'] = 'Kysyjä:'; $PMF_LANG['ad_entry_category'] = 'Kategoria:'; $PMF_LANG['ad_entry_active'] = 'Aktiivinen:'; -$PMF_LANG['ad_entry_date'] = 'Päiväys'; +$PMF_LANG['msgDate'] = 'Päiväys'; $PMF_LANG['ad_entry_status'] = 'Status der FAQ'; $PMF_LANG['ad_entry_changed'] = 'Muutettu?'; $PMF_LANG['ad_entry_changelog'] = 'Muutoshistoria'; @@ -375,7 +375,7 @@ $PMF_LANG['ad_log_bede'] = 'Seuraava tietue on poistettu: '; $PMF_LANG['msgVisits'] = 'Käynnit'; $PMF_LANG['ad_start_articles'] = 'Kysymyksiä'; -$PMF_LANG['ad_start_comments'] = 'Kommentteja'; +$PMF_LANG['msgComments'] = 'Kommentteja'; $PMF_LANG['ad_categ_paste'] = 'liitä'; $PMF_LANG['ad_categ_cut'] = 'leikkaa'; $PMF_LANG['msgCopy'] = 'kopioi'; @@ -681,7 +681,7 @@ $PMF_LANG['ad_searchstats_search_term_lang'] = 'Kieli'; $PMF_LANG['ad_searchstats_search_term_percentage'] = 'Prosentit'; $PMF_LANG['ad_record_sticky'] = 'Pysyvä'; -$PMF_LANG['ad_entry_sticky'] = 'Pysyvä'; +$PMF_LANG['msgStickyFAQ'] = 'Pysyvä'; $PMF_LANG['stickyRecordsHeader'] = 'Pysyvät kysymykset'; $PMF_LANG['ad_menu_stopwordsconfig'] = 'Ohitettavat sanat'; $PMF_LANG['ad_config_stopword_input'] = 'Lisää ohitettava sana'; diff --git a/phpmyfaq/translations/language_fr-ca.php b/phpmyfaq/translations/language_fr-ca.php index 3f0007d6e2..3a069dfa90 100644 --- a/phpmyfaq/translations/language_fr-ca.php +++ b/phpmyfaq/translations/language_fr-ca.php @@ -172,13 +172,13 @@ $PMF_LANG['ad_entry_action'] = 'Action'; $PMF_LANG['ad_entry_edit_1'] = 'Editer article'; $PMF_LANG['ad_entry_edit_2'] = 'Editer article'; -$PMF_LANG['ad_entry_theme'] = 'Question :'; +$PMF_LANG['msgQuestion'] = 'Question :'; $PMF_LANG['ad_entry_content'] = 'Réponse :'; $PMF_LANG['ad_entry_keywords'] = 'Mots-clef :'; $PMF_LANG['ad_entry_author'] = 'Auteur :'; $PMF_LANG['ad_entry_category'] = 'Catégorie :'; $PMF_LANG['ad_entry_active'] = 'Publier ?'; -$PMF_LANG['ad_entry_date'] = 'Date'; +$PMF_LANG['msgDate'] = 'Date'; $PMF_LANG['ad_entry_status'] = 'Status der FAQ'; $PMF_LANG['ad_entry_changed'] = 'Qu\'avez-vous modifié ?'; $PMF_LANG['ad_entry_changelog'] = 'Changements'; @@ -372,7 +372,7 @@ $PMF_LANG['ad_log_bede'] = 'L\'article suivant a été supprimé : '; $PMF_LANG['msgVisits'] = 'Visites'; $PMF_LANG['ad_start_articles'] = 'Articles'; -$PMF_LANG['ad_start_comments'] = 'Commentaires'; +$PMF_LANG['msgComments'] = 'Commentaires'; $PMF_LANG['ad_categ_paste'] = 'coller'; $PMF_LANG['ad_categ_cut'] = 'couper'; $PMF_LANG['msgCopy'] = 'copier'; @@ -685,7 +685,7 @@ $LANG_CONF['search.numberSearchTerms'] = array("input", "Nombre de termes trouvés"); $LANG_CONF['records.orderingPopularFaqs'] = array("select", "Trier par FaqHelper les plus populaires"); $PMF_LANG['ad_record_sticky'] = 'Épingler cette faq :'; -$PMF_LANG['ad_entry_sticky'] = 'Épingler cette faq '; +$PMF_LANG['msgStickyFAQ'] = 'Épingler cette faq '; $PMF_LANG['stickyRecordsHeader'] = 'FAQs épinglées'; $PMF_LANG['msgSearchOnAllLanguages'] = 'Chercher dans toutes les langues :'; $PMF_LANG['msgMostPopularSearches'] = 'Les recherches les plus populaires sont :'; diff --git a/phpmyfaq/translations/language_fr.php b/phpmyfaq/translations/language_fr.php index 9073564dfb..efc64c00c4 100644 --- a/phpmyfaq/translations/language_fr.php +++ b/phpmyfaq/translations/language_fr.php @@ -204,13 +204,13 @@ $PMF_LANG["ad_entry_action"] = "Action"; $PMF_LANG["ad_entry_edit_1"] = "Éditer l'enregistrement"; $PMF_LANG["ad_entry_edit_2"] = ""; -$PMF_LANG["ad_entry_theme"] = "Question"; +$PMF_LANG["msgQuestion"] = "Question"; $PMF_LANG["ad_entry_content"] = "Réponse"; $PMF_LANG["ad_entry_keywords"] = "Mots-clés"; $PMF_LANG["ad_entry_author"] = "Auteur"; $PMF_LANG["ad_entry_category"] = "Catégorie"; $PMF_LANG["ad_entry_active"] = "Visible"; -$PMF_LANG["ad_entry_date"] = "Date"; +$PMF_LANG["msgDate"] = "Date"; $PMF_LANG["ad_entry_status"] = "Statut de la FAQ"; $PMF_LANG["ad_entry_changed"] = "Modifié ?"; $PMF_LANG["ad_entry_changelog"] = "Changements"; @@ -445,7 +445,7 @@ $PMF_LANG["msgVisits"] = "Visites"; $PMF_LANG["ad_start_articles"] = "Articles"; -$PMF_LANG["ad_start_comments"] = "Commentaires"; +$PMF_LANG["msgComments"] = "Commentaires"; // Added v1.1 - 30.01.2002 - Bastian $PMF_LANG["ad_categ_paste"] = "Coller"; @@ -819,7 +819,7 @@ // added 2.5.0-beta - 2009-03-31 by Anatoliy $PMF_LANG["ad_record_sticky"] = "Epingler"; -$PMF_LANG["ad_entry_sticky"] = "Epingler"; +$PMF_LANG["msgStickyFAQ"] = "Epingler"; $PMF_LANG["stickyRecordsHeader"] = "FAQs épinglées"; // added 2.5.0-beta - 2009-04-01 by Anatoliy diff --git a/phpmyfaq/translations/language_he.php b/phpmyfaq/translations/language_he.php index 75d249c83e..4b2d869cc6 100644 --- a/phpmyfaq/translations/language_he.php +++ b/phpmyfaq/translations/language_he.php @@ -173,13 +173,13 @@ $PMF_LANG['ad_entry_action'] = 'פעולה'; $PMF_LANG['ad_entry_edit_1'] = 'ערוך ערך'; $PMF_LANG['ad_entry_edit_2'] = ''; -$PMF_LANG['ad_entry_theme'] = 'כותרת:'; +$PMF_LANG['msgQuestion'] = 'כותרת:'; $PMF_LANG['ad_entry_content'] = 'תוכן:'; $PMF_LANG['ad_entry_keywords'] = 'מילות מפתח:'; $PMF_LANG['ad_entry_author'] = 'מחבר:'; $PMF_LANG['ad_entry_category'] = 'קטגוריה: '; $PMF_LANG['ad_entry_active'] = 'פעיל?'; -$PMF_LANG['ad_entry_date'] = 'תאריך'; +$PMF_LANG['msgDate'] = 'תאריך'; $PMF_LANG['ad_entry_status'] = 'Status der FAQ'; $PMF_LANG['ad_entry_changed'] = 'מה שונה?'; $PMF_LANG['ad_entry_changelog'] = 'מעקב שינויים'; @@ -374,7 +374,7 @@ $PMF_LANG['ad_log_bede'] = 'מחק את הערכים הבאים: '; $PMF_LANG['msgVisits'] = 'ביקורים'; $PMF_LANG['ad_start_articles'] = 'שאלות'; -$PMF_LANG['ad_start_comments'] = 'תגובות'; +$PMF_LANG['msgComments'] = 'תגובות'; $PMF_LANG['ad_categ_paste'] = 'הדבק'; $PMF_LANG['ad_categ_cut'] = 'חתוך'; $PMF_LANG['msgCopy'] = 'העתק'; @@ -668,7 +668,7 @@ $PMF_LANG['ad_searchstats_search_term_lang'] = 'Language'; $PMF_LANG['ad_searchstats_search_term_percentage'] = 'Percentage'; $PMF_LANG['ad_record_sticky'] = 'Sticky'; -$PMF_LANG['ad_entry_sticky'] = 'Sticky'; +$PMF_LANG['msgStickyFAQ'] = 'Sticky'; $PMF_LANG['stickyRecordsHeader'] = 'שאלות חמות'; $PMF_LANG['ad_menu_stopwordsconfig'] = 'Stop Words'; $PMF_LANG['ad_config_stopword_input'] = 'Add new stop word'; diff --git a/phpmyfaq/translations/language_hi.php b/phpmyfaq/translations/language_hi.php index 3b74a0dec5..2c8c76b934 100644 --- a/phpmyfaq/translations/language_hi.php +++ b/phpmyfaq/translations/language_hi.php @@ -205,13 +205,13 @@ $PMF_LANG["ad_entry_action"] = "क्रिया"; $PMF_LANG["ad_entry_edit_1"] = "लेख सम्पादन"; $PMF_LANG["ad_entry_edit_2"] = ""; -$PMF_LANG["ad_entry_theme"] = "प्रश्न"; +$PMF_LANG["msgQuestion"] = "प्रश्न"; $PMF_LANG["ad_entry_content"] = "ऊत्तर"; $PMF_LANG["ad_entry_keywords"] = "कुंजी शब्द"; $PMF_LANG["ad_entry_author"] = "लेखक"; $PMF_LANG["ad_entry_category"] = "वर्ग"; $PMF_LANG["ad_entry_active"] = "सक्रिय?"; -$PMF_LANG["ad_entry_date"] = "दिनांक"; +$PMF_LANG["msgDate"] = "दिनांक"; $PMF_LANG["ad_entry_status"] = "Status der FAQ"; $PMF_LANG["ad_entry_changed"] = "बदला गया?"; $PMF_LANG["ad_entry_changelog"] = "बदलाव का लॉग"; @@ -449,7 +449,7 @@ $PMF_LANG["msgVisits"] = "दर्शन"; $PMF_LANG["ad_start_articles"] = "लेख"; -$PMF_LANG["ad_start_comments"] = "टिका-टिप्पणी"; +$PMF_LANG["msgComments"] = "टिका-टिप्पणी"; $PMF_LANG["ad_user_chpw"] = "आप केवल मौजूदा प्रयोगकर्ता का संकेतक शब्द बदल सकते हैं \"" . $PMF_LANG["ad_menu_passwd"] . "\"."; diff --git a/phpmyfaq/translations/language_hu.php b/phpmyfaq/translations/language_hu.php index 2ffe51f8b0..39c1762bb6 100644 --- a/phpmyfaq/translations/language_hu.php +++ b/phpmyfaq/translations/language_hu.php @@ -173,13 +173,13 @@ $PMF_LANG['ad_entry_action'] = 'Művelet'; $PMF_LANG['ad_entry_edit_1'] = 'Bejegyzés szerkesztése'; $PMF_LANG['ad_entry_edit_2'] = ''; -$PMF_LANG['ad_entry_theme'] = 'Téma:'; +$PMF_LANG['msgQuestion'] = 'Téma:'; $PMF_LANG['ad_entry_content'] = 'Bejegyzés:'; $PMF_LANG['ad_entry_keywords'] = 'Kulcsszavak:'; $PMF_LANG['ad_entry_author'] = 'Szerző:'; $PMF_LANG['ad_entry_category'] = 'Kategória:'; $PMF_LANG['ad_entry_active'] = 'Aktív?'; -$PMF_LANG['ad_entry_date'] = 'Dátum'; +$PMF_LANG['msgDate'] = 'Dátum'; $PMF_LANG['ad_entry_status'] = 'Status der FAQ'; $PMF_LANG['ad_entry_changed'] = 'Változás'; $PMF_LANG['ad_entry_changelog'] = 'Változtatások:'; @@ -373,7 +373,7 @@ $PMF_LANG['ad_log_bede'] = 'Bejegyzés törölve: '; $PMF_LANG['msgVisits'] = 'Látogatások'; $PMF_LANG['ad_start_articles'] = 'Hírek'; -$PMF_LANG['ad_start_comments'] = 'Megjegyzések'; +$PMF_LANG['msgComments'] = 'Megjegyzések'; $PMF_LANG['ad_categ_paste'] = 'beillesztés'; $PMF_LANG['ad_categ_cut'] = 'kivágás'; $PMF_LANG['msgCopy'] = 'másolás'; @@ -641,7 +641,7 @@ $PMF_LANG['ad_searchstats_search_term_lang'] = 'Nyelv'; $PMF_LANG['ad_searchstats_search_term_percentage'] = 'Százalék'; $PMF_LANG['ad_record_sticky'] = 'Ragadós'; -$PMF_LANG['ad_entry_sticky'] = 'Ragadós'; +$PMF_LANG['msgStickyFAQ'] = 'Ragadós'; $PMF_LANG['stickyRecordsHeader'] = 'Ragadós bejegyzések'; $PMF_LANG['ad_menu_stopwordsconfig'] = 'Tiltott szavak'; $PMF_LANG['ad_config_stopword_input'] = 'Tiltott szó hozzáadása'; diff --git a/phpmyfaq/translations/language_id.php b/phpmyfaq/translations/language_id.php index 72c456caa6..f4628c20a3 100644 --- a/phpmyfaq/translations/language_id.php +++ b/phpmyfaq/translations/language_id.php @@ -206,13 +206,13 @@ $PMF_LANG["ad_entry_action"] = "Perintah"; $PMF_LANG["ad_entry_edit_1"] = "Edit Materi"; $PMF_LANG["ad_entry_edit_2"] = ""; -$PMF_LANG["ad_entry_theme"] = "Pertanyaan"; +$PMF_LANG["msgQuestion"] = "Pertanyaan"; $PMF_LANG["ad_entry_content"] = "Jawaban"; $PMF_LANG["ad_entry_keywords"] = "Kata Kunci"; $PMF_LANG["ad_entry_author"] = "Penulis"; $PMF_LANG["ad_entry_category"] = "Kategori"; $PMF_LANG["ad_entry_active"] = "Aktif?"; -$PMF_LANG["ad_entry_date"] = "Tanggal"; +$PMF_LANG["msgDate"] = "Tanggal"; $PMF_LANG["ad_entry_status"] = "Status der FAQ"; $PMF_LANG["ad_entry_changed"] = "Berubah?"; $PMF_LANG["ad_entry_changelog"] = "Catatan perubahan"; @@ -450,7 +450,7 @@ $PMF_LANG["msgVisits"] = "Kunjungan"; $PMF_LANG["ad_start_articles"] = "Artikel"; -$PMF_LANG["ad_start_comments"] = "Komentar"; +$PMF_LANG["msgComments"] = "Komentar"; // Added v1.1 - 30.01.2002 - Bastian @@ -837,7 +837,7 @@ // added 2.5.0-beta - 2009-03-31 by Anatoliy $PMF_LANG['ad_record_sticky'] = 'Sticky'; -$PMF_LANG['ad_entry_sticky'] = 'Sticky'; +$PMF_LANG['msgStickyFAQ'] = 'Sticky'; $PMF_LANG['stickyRecordsHeader'] = 'Artikel Pilihan'; // added 2.5.0-beta - 2009-04-01 by Anatoliy diff --git a/phpmyfaq/translations/language_it.php b/phpmyfaq/translations/language_it.php index b60b39e936..39be05e0eb 100644 --- a/phpmyfaq/translations/language_it.php +++ b/phpmyfaq/translations/language_it.php @@ -176,13 +176,13 @@ $PMF_LANG['ad_entry_action'] = 'Azione'; $PMF_LANG['ad_entry_edit_1'] = 'Modifica FAQ'; $PMF_LANG['ad_entry_edit_2'] = ''; -$PMF_LANG['ad_entry_theme'] = 'Tema:'; +$PMF_LANG['msgQuestion'] = 'Tema:'; $PMF_LANG['ad_entry_content'] = 'Contenuto:'; $PMF_LANG['ad_entry_keywords'] = 'Parole chiave:'; $PMF_LANG['ad_entry_author'] = 'Autore:'; $PMF_LANG['ad_entry_category'] = 'Categoria:'; $PMF_LANG['ad_entry_active'] = 'Attivo?'; -$PMF_LANG['ad_entry_date'] = 'Data'; +$PMF_LANG['msgDate'] = 'Data'; $PMF_LANG['ad_entry_status'] = 'Status der FAQ'; $PMF_LANG['ad_entry_changed'] = 'Motivo della modifica:'; $PMF_LANG['ad_entry_changelog'] = 'Diario delle variazioni'; @@ -376,7 +376,7 @@ $PMF_LANG['ad_log_bede'] = 'Cancella il seguente elemento: '; $PMF_LANG['msgVisits'] = 'Accessi'; $PMF_LANG['ad_start_articles'] = 'FAQ'; -$PMF_LANG['ad_start_comments'] = 'Commenti'; +$PMF_LANG['msgComments'] = 'Commenti'; $PMF_LANG['ad_categ_paste'] = 'Incolla'; $PMF_LANG['ad_categ_cut'] = 'Taglia'; $PMF_LANG['msgCopy'] = 'Copia'; @@ -674,7 +674,7 @@ $PMF_LANG['ad_searchstats_search_term_lang'] = 'Lingua'; $PMF_LANG['ad_searchstats_search_term_percentage'] = 'Percentuale'; $PMF_LANG['ad_record_sticky'] = 'Sticky'; -$PMF_LANG['ad_entry_sticky'] = 'Sticky'; +$PMF_LANG['msgStickyFAQ'] = 'Sticky'; $PMF_LANG['stickyRecordsHeader'] = 'Sticky FAQs'; $PMF_LANG['ad_menu_stopwordsconfig'] = 'Parole comuni (stop words)'; $PMF_LANG['ad_config_stopword_input'] = 'Aggiungi una nuova parola comune (stop word)'; diff --git a/phpmyfaq/translations/language_ja.php b/phpmyfaq/translations/language_ja.php index e8fd65146a..45c5af1d1f 100644 --- a/phpmyfaq/translations/language_ja.php +++ b/phpmyfaq/translations/language_ja.php @@ -172,13 +172,13 @@ $PMF_LANG['ad_entry_action'] = '操作'; $PMF_LANG['ad_entry_edit_1'] = 'レコードの変更'; $PMF_LANG['ad_entry_edit_2'] = ''; -$PMF_LANG['ad_entry_theme'] = '質問:'; +$PMF_LANG['msgQuestion'] = '質問:'; $PMF_LANG['ad_entry_content'] = '回答:'; $PMF_LANG['ad_entry_keywords'] = 'キーワード:'; $PMF_LANG['ad_entry_author'] = '作成者:'; $PMF_LANG['ad_entry_category'] = 'カテゴリー:'; $PMF_LANG['ad_entry_active'] = '有効にする'; -$PMF_LANG['ad_entry_date'] = '日付'; +$PMF_LANG['msgDate'] = '日付'; $PMF_LANG['ad_entry_status'] = 'Status der FAQ'; $PMF_LANG['ad_entry_changed'] = '変更しますか?'; $PMF_LANG['ad_entry_changelog'] = '変更履歴'; @@ -372,7 +372,7 @@ $PMF_LANG['ad_log_bede'] = '次のエントリーを削除: '; $PMF_LANG['msgVisits'] = '訪問数'; $PMF_LANG['ad_start_articles'] = '記事数'; -$PMF_LANG['ad_start_comments'] = 'コメント数'; +$PMF_LANG['msgComments'] = 'コメント数'; $PMF_LANG['ad_categ_paste'] = '貼り付け'; $PMF_LANG['ad_categ_cut'] = '切り取り'; $PMF_LANG['msgCopy'] = 'コピー'; @@ -670,7 +670,7 @@ $PMF_LANG['ad_searchstats_search_term_lang'] = '言語'; $PMF_LANG['ad_searchstats_search_term_percentage'] = '達成率'; $PMF_LANG['ad_record_sticky'] = 'スティッキー'; -$PMF_LANG['ad_entry_sticky'] = 'スティッキー'; +$PMF_LANG['msgStickyFAQ'] = 'スティッキー'; $PMF_LANG['stickyRecordsHeader'] = 'スティッキー FAQ'; $PMF_LANG['ad_menu_stopwordsconfig'] = 'ストップワード'; $PMF_LANG['ad_config_stopword_input'] = '新規ストップワードの追加'; diff --git a/phpmyfaq/translations/language_ko.php b/phpmyfaq/translations/language_ko.php index 105c3b540d..6e04b2c98f 100644 --- a/phpmyfaq/translations/language_ko.php +++ b/phpmyfaq/translations/language_ko.php @@ -206,13 +206,13 @@ $PMF_LANG["ad_entry_action"] = "동작"; $PMF_LANG["ad_entry_edit_1"] = "FAQ 추가(수정)"; $PMF_LANG["ad_entry_edit_2"] = ""; -$PMF_LANG["ad_entry_theme"] = "제목"; +$PMF_LANG["msgQuestion"] = "제목"; $PMF_LANG["ad_entry_content"] = "내용"; $PMF_LANG["ad_entry_keywords"] = "키워드"; $PMF_LANG["ad_entry_author"] = "작성자"; $PMF_LANG["ad_entry_category"] = "카테고리"; $PMF_LANG["ad_entry_active"] = "사용"; -$PMF_LANG["ad_entry_date"] = "날짜"; +$PMF_LANG["msgDate"] = "날짜"; $PMF_LANG["ad_entry_status"] = "Status der FAQ"; $PMF_LANG["ad_entry_changed"] = "변경?"; $PMF_LANG["ad_entry_changelog"] = "변경이력"; @@ -450,7 +450,7 @@ $PMF_LANG["msgVisits"] = "방문"; $PMF_LANG["ad_start_articles"] = "글(FAQ)"; -$PMF_LANG["ad_start_comments"] = "코멘트"; +$PMF_LANG["msgComments"] = "코멘트"; // Added v1.1 - 30.01.2002 - Bastian diff --git a/phpmyfaq/translations/language_lt.php b/phpmyfaq/translations/language_lt.php index 15cf0f288b..9528372151 100755 --- a/phpmyfaq/translations/language_lt.php +++ b/phpmyfaq/translations/language_lt.php @@ -205,13 +205,13 @@ $PMF_LANG["ad_entry_action"] = "Veiksmas"; $PMF_LANG["ad_entry_edit_1"] = "Redaguoti įrašą"; $PMF_LANG["ad_entry_edit_2"] = ""; -$PMF_LANG["ad_entry_theme"] = "Klausimas"; +$PMF_LANG["msgQuestion"] = "Klausimas"; $PMF_LANG["ad_entry_content"] = "Atsakymas"; $PMF_LANG["ad_entry_keywords"] = "Raktažodžiai"; $PMF_LANG["ad_entry_author"] = "Autorius"; $PMF_LANG["ad_entry_category"] = "Grupė"; $PMF_LANG["ad_entry_active"] = "Aktyvus?"; -$PMF_LANG["ad_entry_date"] = "Data"; +$PMF_LANG["msgDate"] = "Data"; $PMF_LANG["ad_entry_status"] = "Status der FAQ"; $PMF_LANG["ad_entry_changed"] = "Pakeistas?"; $PMF_LANG["ad_entry_changelog"] = "Keitimų žurnalas"; @@ -449,7 +449,7 @@ $PMF_LANG["msgVisits"] = "Apsilankymai"; $PMF_LANG["ad_start_articles"] = "Straipsniai"; -$PMF_LANG["ad_start_comments"] = "Komentarai"; +$PMF_LANG["msgComments"] = "Komentarai"; // Added v1.1 - 30.01.2002 - Bastian @@ -842,7 +842,7 @@ // added 2.5.0-beta - 2009-03-31 by Anatoliy $PMF_LANG['ad_record_sticky'] = 'Lipnus'; -$PMF_LANG['ad_entry_sticky'] = 'Lipnus'; +$PMF_LANG['msgStickyFAQ'] = 'Lipnus'; $PMF_LANG['stickyRecordsHeader'] = 'Lipnūs DUK'; // added 2.5.0-beta - 2009-04-01 by Anatoliy diff --git a/phpmyfaq/translations/language_lv.php b/phpmyfaq/translations/language_lv.php index 8d6c4191fe..f34432b50e 100644 --- a/phpmyfaq/translations/language_lv.php +++ b/phpmyfaq/translations/language_lv.php @@ -207,13 +207,13 @@ $PMF_LANG["ad_entry_action"] = "Darbîba"; $PMF_LANG["ad_entry_edit_1"] = "Modificçt ierakstu"; $PMF_LANG["ad_entry_edit_2"] = ""; -$PMF_LANG["ad_entry_theme"] = "Jautâjums (virsraksts)"; +$PMF_LANG["msgQuestion"] = "Jautâjums (virsraksts)"; $PMF_LANG["ad_entry_content"] = "Atbilde"; $PMF_LANG["ad_entry_keywords"] = "Atslçgvârdi"; $PMF_LANG["ad_entry_author"] = "Autors"; $PMF_LANG["ad_entry_category"] = "Sadaïa"; $PMF_LANG["ad_entry_active"] = "Aktîvs?"; -$PMF_LANG["ad_entry_date"] = "Datums"; +$PMF_LANG["msgDate"] = "Datums"; $PMF_LANG["ad_entry_status"] = "Status der FAQ"; $PMF_LANG["ad_entry_changed"] = "Modificçts?"; $PMF_LANG["ad_entry_changelog"] = "Modificçðanas vçsture"; @@ -446,7 +446,7 @@ $PMF_LANG["ad_log_bede"] = "Ieraksts dzçsts: "; $PMF_LANG["msgVisits"] = "Apmeklçjumi"; $PMF_LANG["ad_start_articles"] = "Ieraksti"; -$PMF_LANG["ad_start_comments"] = "Komentâri"; +$PMF_LANG["msgComments"] = "Komentâri"; // Added v1.1 - 30.01.2002 - Bastian $PMF_LANG["ad_categ_paste"] = "paste"; diff --git a/phpmyfaq/translations/language_mn.php b/phpmyfaq/translations/language_mn.php index f52186439c..06f54bf110 100644 --- a/phpmyfaq/translations/language_mn.php +++ b/phpmyfaq/translations/language_mn.php @@ -202,13 +202,13 @@ $PMF_LANG["ad_entry_action"] = "Үйлдэл"; $PMF_LANG["ad_entry_edit_1"] = "Бичлэг засах"; $PMF_LANG["ad_entry_edit_2"] = ""; -$PMF_LANG["ad_entry_theme"] = "Асуулт"; +$PMF_LANG["msgQuestion"] = "Асуулт"; $PMF_LANG["ad_entry_content"] = "Хариулт:"; $PMF_LANG["ad_entry_keywords"] = "Түлхүүр үг:"; $PMF_LANG["ad_entry_author"] = "Зохиогч:"; $PMF_LANG["ad_entry_category"] = "Ангилал:"; $PMF_LANG["ad_entry_active"] = "Хандах боломжтой:"; -$PMF_LANG["ad_entry_date"] = "Огноо:"; +$PMF_LANG["msgDate"] = "Огноо:"; $PMF_LANG["ad_entry_status"] = "Status der FAQ"; $PMF_LANG["ad_entry_changed"] = "Өөрчилсөн үү?"; $PMF_LANG["ad_entry_changelog"] = "Өөрчлөлт:"; @@ -445,7 +445,7 @@ $PMF_LANG["msgVisits"] = "Зочлолт"; $PMF_LANG["ad_start_articles"] = "Нийтлэлүүд"; -$PMF_LANG["ad_start_comments"] = "Сэтгэгдлүүд"; +$PMF_LANG["msgComments"] = "Сэтгэгдлүүд"; // Added v1.1 - 30.01.2002 - Bastian @@ -833,7 +833,7 @@ // added 2.5.0-beta - 2009-03-31 by Anatoliy $PMF_LANG['ad_record_sticky'] = 'Наалдамтгай'; -$PMF_LANG['ad_entry_sticky'] = 'Наалдамтгай'; +$PMF_LANG['msgStickyFAQ'] = 'Наалдамтгай'; $PMF_LANG['stickyRecordsHeader'] = 'Наалдамтгай FAQs'; // added 2.5.0-beta - 2009-04-01 by Anatoliy diff --git a/phpmyfaq/translations/language_ms.php b/phpmyfaq/translations/language_ms.php index 016ed93600..02037e2c91 100644 --- a/phpmyfaq/translations/language_ms.php +++ b/phpmyfaq/translations/language_ms.php @@ -172,13 +172,13 @@ $PMF_LANG['ad_entry_action'] = 'Tindakan'; $PMF_LANG['ad_entry_edit_1'] = 'Edit Rekod'; $PMF_LANG['ad_entry_edit_2'] = ''; -$PMF_LANG['ad_entry_theme'] = 'Soalan:'; +$PMF_LANG['msgQuestion'] = 'Soalan:'; $PMF_LANG['ad_entry_content'] = 'Jawapan:'; $PMF_LANG['ad_entry_keywords'] = 'Katakunci:'; $PMF_LANG['ad_entry_author'] = 'Pengarang:'; $PMF_LANG['ad_entry_category'] = 'Kategori:'; $PMF_LANG['ad_entry_active'] = 'Aktif?'; -$PMF_LANG['ad_entry_date'] = 'Tarikh'; +$PMF_LANG['msgDate'] = 'Tarikh'; $PMF_LANG['ad_entry_status'] = 'Status der FAQ'; $PMF_LANG['ad_entry_changed'] = 'Tukar?'; $PMF_LANG['ad_entry_changelog'] = 'Log Perubahan'; @@ -372,7 +372,7 @@ $PMF_LANG['ad_log_bede'] = 'Padam entri berikut: '; $PMF_LANG['msgVisits'] = 'Lawatan'; $PMF_LANG['ad_start_articles'] = 'Artikel'; -$PMF_LANG['ad_start_comments'] = 'Komen'; +$PMF_LANG['msgComments'] = 'Komen'; $PMF_LANG['ad_categ_paste'] = 'tampal'; $PMF_LANG['ad_categ_cut'] = 'potong'; $PMF_LANG['msgCopy'] = 'salin'; @@ -670,7 +670,7 @@ $PMF_LANG['ad_searchstats_search_term_lang'] = 'Bahasa'; $PMF_LANG['ad_searchstats_search_term_percentage'] = 'Peratusan'; $PMF_LANG['ad_record_sticky'] = 'Pelekat'; -$PMF_LANG['ad_entry_sticky'] = 'Pelekat'; +$PMF_LANG['msgStickyFAQ'] = 'Pelekat'; $PMF_LANG['stickyRecordsHeader'] = 'FAQ pilihan'; $PMF_LANG['ad_menu_stopwordsconfig'] = 'Kata henti'; $PMF_LANG['ad_config_stopword_input'] = 'Tambah kata henti baru'; diff --git a/phpmyfaq/translations/language_nb.php b/phpmyfaq/translations/language_nb.php index 24fe633a10..1e2150c114 100644 --- a/phpmyfaq/translations/language_nb.php +++ b/phpmyfaq/translations/language_nb.php @@ -171,13 +171,13 @@ $PMF_LANG['ad_entry_action'] = 'Handling'; $PMF_LANG['ad_entry_edit_1'] = 'Rediger OSS 1'; $PMF_LANG['ad_entry_edit_2'] = 'Rediger OSS 2'; -$PMF_LANG['ad_entry_theme'] = 'Tema'; +$PMF_LANG['msgQuestion'] = 'Tema'; $PMF_LANG['ad_entry_content'] = 'Innhold:'; $PMF_LANG['ad_entry_keywords'] = 'Nøkkelord:'; $PMF_LANG['ad_entry_author'] = 'Forfatter:'; $PMF_LANG['ad_entry_category'] = 'Kategori:'; $PMF_LANG['ad_entry_active'] = 'Synlig:'; -$PMF_LANG['ad_entry_date'] = 'Dato'; +$PMF_LANG['msgDate'] = 'Dato'; $PMF_LANG['ad_entry_status'] = 'Status der FAQ'; $PMF_LANG['ad_entry_changed'] = 'Endret?'; $PMF_LANG['ad_entry_changelog'] = 'Historikk'; @@ -371,7 +371,7 @@ $PMF_LANG['ad_log_bede'] = 'Slettet følgende registrering: '; $PMF_LANG['msgVisits'] = 'Besøk'; $PMF_LANG['ad_start_articles'] = 'Artikler'; -$PMF_LANG['ad_start_comments'] = 'Kommentarer'; +$PMF_LANG['msgComments'] = 'Kommentarer'; $PMF_LANG['ad_categ_paste'] = 'lim inn'; $PMF_LANG['ad_categ_cut'] = 'klipp ut'; $PMF_LANG['msgCopy'] = 'kopier'; @@ -642,7 +642,7 @@ $PMF_LANG['ad_searchstats_search_term_lang'] = 'Språk'; $PMF_LANG['ad_searchstats_search_term_percentage'] = 'Prosent'; $PMF_LANG['ad_record_sticky'] = 'Klistre'; -$PMF_LANG['ad_entry_sticky'] = 'Klistre'; +$PMF_LANG['msgStickyFAQ'] = 'Klistre'; $PMF_LANG['stickyRecordsHeader'] = 'Klistre FAQs'; $PMF_LANG['ad_menu_stopwordsconfig'] = 'Stoppeord'; $PMF_LANG['ad_config_stopword_input'] = 'Legg til nytt stoppeord'; diff --git a/phpmyfaq/translations/language_nl.php b/phpmyfaq/translations/language_nl.php index 554d1be6eb..d18912eca0 100644 --- a/phpmyfaq/translations/language_nl.php +++ b/phpmyfaq/translations/language_nl.php @@ -174,13 +174,13 @@ $PMF_LANG['ad_entry_action'] = 'Actie'; $PMF_LANG['ad_entry_edit_1'] = 'Bewerk vraag'; $PMF_LANG['ad_entry_edit_2'] = 'bewerken'; -$PMF_LANG['ad_entry_theme'] = 'Thema:'; +$PMF_LANG['msgQuestion'] = 'Thema:'; $PMF_LANG['ad_entry_content'] = 'Inhoud:'; $PMF_LANG['ad_entry_keywords'] = 'Trefwoorden:'; $PMF_LANG['ad_entry_author'] = 'Auteur:'; $PMF_LANG['ad_entry_category'] = 'Categorie:'; $PMF_LANG['ad_entry_active'] = 'Zichtbaar:'; -$PMF_LANG['ad_entry_date'] = 'Datum'; +$PMF_LANG['msgDate'] = 'Datum'; $PMF_LANG['ad_entry_status'] = 'Status der FAQ'; $PMF_LANG['ad_entry_changed'] = 'Gewijzigd?'; $PMF_LANG['ad_entry_changelog'] = 'Aanpassingslog'; @@ -374,7 +374,7 @@ $PMF_LANG['ad_log_bede'] = 'Verwijder de vraag: '; $PMF_LANG['msgVisits'] = 'Bezoeken'; $PMF_LANG['ad_start_articles'] = 'Artikelen'; -$PMF_LANG['ad_start_comments'] = 'Commentaren'; +$PMF_LANG['msgComments'] = 'Commentaren'; $PMF_LANG['ad_categ_paste'] = 'plakken'; $PMF_LANG['ad_categ_cut'] = 'knippen'; $PMF_LANG['msgCopy'] = 'kopiëren'; @@ -640,7 +640,7 @@ $PMF_LANG['ad_searchstats_search_term_lang'] = 'Taal'; $PMF_LANG['ad_searchstats_search_term_percentage'] = 'Procenten'; $PMF_LANG['ad_record_sticky'] = 'Plakker'; -$PMF_LANG['ad_entry_sticky'] = 'Plakker'; +$PMF_LANG['msgStickyFAQ'] = 'Plakker'; $PMF_LANG['stickyRecordsHeader'] = 'Plakker FAQs'; $PMF_LANG['ad_menu_stopwordsconfig'] = 'Stopwoorden'; $PMF_LANG['ad_config_stopword_input'] = 'Voeg nieuw stopwoord toe'; diff --git a/phpmyfaq/translations/language_pl.php b/phpmyfaq/translations/language_pl.php index 5fb2e3208e..6e7d3aa1f7 100644 --- a/phpmyfaq/translations/language_pl.php +++ b/phpmyfaq/translations/language_pl.php @@ -205,13 +205,13 @@ $PMF_LANG["ad_entry_action"] = "Działanie"; $PMF_LANG["ad_entry_edit_1"] = "Edytuj Rekord"; $PMF_LANG["ad_entry_edit_2"] = ""; -$PMF_LANG["ad_entry_theme"] = "Pytanie"; +$PMF_LANG["msgQuestion"] = "Pytanie"; $PMF_LANG["ad_entry_content"] = "Odpowiedź"; $PMF_LANG["ad_entry_keywords"] = "Słowa kluczowe"; $PMF_LANG["ad_entry_author"] = "Autor"; $PMF_LANG["ad_entry_category"] = "Kategoria"; $PMF_LANG["ad_entry_active"] = "Widoczne"; -$PMF_LANG["ad_entry_date"] = "Data"; +$PMF_LANG["msgDate"] = "Data"; $PMF_LANG["ad_entry_status"] = "FAQ status"; $PMF_LANG["ad_entry_changed"] = "Zmieniony?"; $PMF_LANG["ad_entry_changelog"] = "Dziennik zmian"; @@ -446,7 +446,7 @@ $PMF_LANG["msgVisits"] = "Wizyty"; $PMF_LANG["ad_start_articles"] = "Artykuły"; -$PMF_LANG["ad_start_comments"] = "Komentarze"; +$PMF_LANG["msgComments"] = "Komentarze"; // Added v1.1 - 30.01.2002 - Bastian $PMF_LANG["ad_categ_paste"] = "wklej"; @@ -821,7 +821,7 @@ // added 2.5.0-beta - 2009-03-31 by Anatoliy $PMF_LANG['ad_record_sticky'] = 'Przyklej'; -$PMF_LANG['ad_entry_sticky'] = 'Przyklej'; +$PMF_LANG['msgStickyFAQ'] = 'Przyklej'; $PMF_LANG['stickyRecordsHeader'] = 'Przyklejone FAQs'; // added 2.5.0-beta - 2009-04-01 by Anatoliy diff --git a/phpmyfaq/translations/language_pt-br.php b/phpmyfaq/translations/language_pt-br.php index f36a68eb18..92b69597cf 100644 --- a/phpmyfaq/translations/language_pt-br.php +++ b/phpmyfaq/translations/language_pt-br.php @@ -170,13 +170,13 @@ $PMF_LANG['ad_entry_topic'] = 'Tópico'; $PMF_LANG['ad_entry_action'] = 'Ação'; $PMF_LANG['ad_entry_edit_1'] = 'Editar Registro'; -$PMF_LANG['ad_entry_theme'] = 'Tema:'; +$PMF_LANG['msgQuestion'] = 'Tema:'; $PMF_LANG['ad_entry_content'] = 'Conteúdo:'; $PMF_LANG['ad_entry_keywords'] = 'Palavras-Chave:'; $PMF_LANG['ad_entry_author'] = 'Autor:'; $PMF_LANG['ad_entry_category'] = 'Categoria:'; $PMF_LANG['ad_entry_active'] = 'Ativo?'; -$PMF_LANG['ad_entry_date'] = 'Data'; +$PMF_LANG['msgDate'] = 'Data'; $PMF_LANG['ad_entry_status'] = 'Status da FAQ'; $PMF_LANG['ad_entry_changed'] = 'Alterado?'; $PMF_LANG['ad_entry_changelog'] = 'Log de Alterações'; @@ -369,7 +369,7 @@ $PMF_LANG['ad_log_bede'] = 'Removido o registro: '; $PMF_LANG['msgVisits'] = 'Visitas'; $PMF_LANG['ad_start_articles'] = 'Artigos'; -$PMF_LANG['ad_start_comments'] = 'Comentários'; +$PMF_LANG['msgComments'] = 'Comentários'; $PMF_LANG['ad_categ_paste'] = 'colar'; $PMF_LANG['ad_categ_cut'] = 'cortar'; $PMF_LANG['msgCopy'] = 'copiar'; @@ -652,7 +652,7 @@ $PMF_LANG['ad_searchstats_search_term_lang'] = 'Linguagem'; $PMF_LANG['ad_searchstats_search_term_percentage'] = 'Percentagem'; $PMF_LANG['ad_record_sticky'] = 'Permanente'; -$PMF_LANG['ad_entry_sticky'] = 'Permanente'; +$PMF_LANG['msgStickyFAQ'] = 'Permanente'; $PMF_LANG['stickyRecordsHeader'] = 'FAQs permanentes'; $PMF_LANG['ad_menu_stopwordsconfig'] = 'Palavras ignoradas'; $PMF_LANG['ad_config_stopword_input'] = 'Adicionar uma nova palavra a ser ignorada'; diff --git a/phpmyfaq/translations/language_pt.php b/phpmyfaq/translations/language_pt.php index 2ad41d9898..41447bed3d 100755 --- a/phpmyfaq/translations/language_pt.php +++ b/phpmyfaq/translations/language_pt.php @@ -172,13 +172,13 @@ $PMF_LANG['ad_entry_action'] = 'Ação'; $PMF_LANG['ad_entry_edit_1'] = 'Editar Registo'; $PMF_LANG['ad_entry_edit_2'] = ''; -$PMF_LANG['ad_entry_theme'] = 'Tema:'; +$PMF_LANG['msgQuestion'] = 'Tema:'; $PMF_LANG['ad_entry_content'] = 'Conteúdo:'; $PMF_LANG['ad_entry_keywords'] = 'Palavras-Chave:'; $PMF_LANG['ad_entry_author'] = 'Autor:'; $PMF_LANG['ad_entry_category'] = 'Categoria:'; $PMF_LANG['ad_entry_active'] = 'Ativo?'; -$PMF_LANG['ad_entry_date'] = 'Data'; +$PMF_LANG['msgDate'] = 'Data'; $PMF_LANG['ad_entry_status'] = 'Status der FAQ'; $PMF_LANG['ad_entry_changed'] = 'Alterado?/Alteração'; $PMF_LANG['ad_entry_changelog'] = 'Changelog'; @@ -372,7 +372,7 @@ $PMF_LANG['ad_log_bede'] = 'Foi apagada a entrada: '; $PMF_LANG['msgVisits'] = 'Visitas'; $PMF_LANG['ad_start_articles'] = 'Artigos'; -$PMF_LANG['ad_start_comments'] = 'Comentários'; +$PMF_LANG['msgComments'] = 'Comentários'; $PMF_LANG['ad_categ_paste'] = 'Colar'; $PMF_LANG['ad_categ_cut'] = 'Cortar'; $PMF_LANG['msgCopy'] = 'Copiar'; @@ -657,7 +657,7 @@ $PMF_LANG['ad_searchstats_search_term_lang'] = 'Idioma'; $PMF_LANG['ad_searchstats_search_term_percentage'] = 'Percentagem'; $PMF_LANG['ad_record_sticky'] = 'Permanente'; -$PMF_LANG['ad_entry_sticky'] = 'Permanente'; +$PMF_LANG['msgStickyFAQ'] = 'Permanente'; $PMF_LANG['stickyRecordsHeader'] = 'Permanentes'; $PMF_LANG['ad_menu_stopwordsconfig'] = 'Stop Words'; $PMF_LANG['ad_config_stopword_input'] = 'Adicionar uma nova stop word'; diff --git a/phpmyfaq/translations/language_ro.php b/phpmyfaq/translations/language_ro.php index c09d58d1c2..811f39b698 100644 --- a/phpmyfaq/translations/language_ro.php +++ b/phpmyfaq/translations/language_ro.php @@ -172,13 +172,13 @@ $PMF_LANG['ad_entry_action'] = 'Actiune'; $PMF_LANG['ad_entry_edit_1'] = 'Modifica Inregistrare'; $PMF_LANG['ad_entry_edit_2'] = ''; -$PMF_LANG['ad_entry_theme'] = 'Titlu:'; +$PMF_LANG['msgQuestion'] = 'Titlu:'; $PMF_LANG['ad_entry_content'] = ''; $PMF_LANG['ad_entry_keywords'] = 'Cuvinte cheie:'; $PMF_LANG['ad_entry_author'] = 'Autor:'; $PMF_LANG['ad_entry_category'] = 'Categoria:'; $PMF_LANG['ad_entry_active'] = 'Activ?'; -$PMF_LANG['ad_entry_date'] = 'Data'; +$PMF_LANG['msgDate'] = 'Data'; $PMF_LANG['ad_entry_status'] = 'Status der FAQ'; $PMF_LANG['ad_entry_changed'] = 'Modificat?'; $PMF_LANG['ad_entry_changelog'] = 'Jurnal modificari:'; @@ -372,7 +372,7 @@ $PMF_LANG['ad_log_bede'] = 'Sters urmatoarea inregistrare: '; $PMF_LANG['msgVisits'] = 'Vizite'; $PMF_LANG['ad_start_articles'] = 'Articole'; -$PMF_LANG['ad_start_comments'] = 'Comentarii'; +$PMF_LANG['msgComments'] = 'Comentarii'; $PMF_LANG['ad_categ_paste'] = 'insereaza'; $PMF_LANG['ad_categ_cut'] = 'cut'; $PMF_LANG['msgCopy'] = 'copieaza'; @@ -609,7 +609,7 @@ $PMF_LANG['ad_searchstats_search_term_lang'] = 'Limba'; $PMF_LANG['ad_searchstats_search_term_percentage'] = 'Procentaj'; $PMF_LANG['ad_record_sticky'] = 'Sticky(pune sus)'; -$PMF_LANG['ad_entry_sticky'] = 'Sticky(punesus)'; +$PMF_LANG['msgStickyFAQ'] = 'Sticky(punesus)'; $PMF_LANG['stickyRecordsHeader'] = 'Sticky(pune sus) Intrebarile frecvente'; $PMF_LANG['ad_menu_stopwordsconfig'] = 'Cuvinte cenzurate'; $PMF_LANG['ad_config_stopword_input'] = 'Adauga cuvinte cenzurate'; diff --git a/phpmyfaq/translations/language_ru.php b/phpmyfaq/translations/language_ru.php index 6a958d34a3..99253319a1 100644 --- a/phpmyfaq/translations/language_ru.php +++ b/phpmyfaq/translations/language_ru.php @@ -173,13 +173,13 @@ $PMF_LANG['ad_entry_action'] = 'Действие'; $PMF_LANG['ad_entry_edit_1'] = 'Редактирование записей'; $PMF_LANG['ad_entry_edit_2'] = ':'; -$PMF_LANG['ad_entry_theme'] = 'Вопрос:'; +$PMF_LANG['msgQuestion'] = 'Вопрос:'; $PMF_LANG['ad_entry_content'] = 'Ответ:'; $PMF_LANG['ad_entry_keywords'] = 'Ключи:'; $PMF_LANG['ad_entry_author'] = 'Автор:'; $PMF_LANG['ad_entry_category'] = 'Раздел:'; $PMF_LANG['ad_entry_active'] = 'Активировать?'; -$PMF_LANG['ad_entry_date'] = 'Дата'; +$PMF_LANG['msgDate'] = 'Дата'; $PMF_LANG['ad_entry_status'] = 'Status der FAQ'; $PMF_LANG['ad_entry_changed'] = 'Изменено?'; $PMF_LANG['ad_entry_changelog'] = 'Список изменений:'; @@ -373,7 +373,7 @@ $PMF_LANG['ad_log_bede'] = 'Удалена запись: '; $PMF_LANG['msgVisits'] = 'Посещений'; $PMF_LANG['ad_start_articles'] = 'Записей'; -$PMF_LANG['ad_start_comments'] = 'Комментариев'; +$PMF_LANG['msgComments'] = 'Комментариев'; $PMF_LANG['ad_categ_paste'] = 'вставить'; $PMF_LANG['ad_categ_cut'] = 'вырезать'; $PMF_LANG['msgCopy'] = 'копировать'; @@ -641,7 +641,7 @@ $PMF_LANG['ad_searchstats_search_term_lang'] = 'Язык'; $PMF_LANG['ad_searchstats_search_term_percentage'] = 'Процентов'; $PMF_LANG['ad_record_sticky'] = 'Важное'; -$PMF_LANG['ad_entry_sticky'] = 'Важное'; +$PMF_LANG['msgStickyFAQ'] = 'Важное'; $PMF_LANG['stickyRecordsHeader'] = 'ВАЖНОЕ:'; $PMF_LANG['ad_menu_stopwordsconfig'] = 'Стоп-слова'; $PMF_LANG['ad_config_stopword_input'] = 'Добавить новое стоп-слово'; diff --git a/phpmyfaq/translations/language_sk.php b/phpmyfaq/translations/language_sk.php index 5b3232d0c9..7dd67ef3d9 100644 --- a/phpmyfaq/translations/language_sk.php +++ b/phpmyfaq/translations/language_sk.php @@ -205,13 +205,13 @@ $PMF_LANG["ad_entry_action"] = "Akcia"; $PMF_LANG["ad_entry_edit_1"] = "Uprav nahrávku"; $PMF_LANG["ad_entry_edit_2"] = ""; -$PMF_LANG["ad_entry_theme"] = "Otázka"; +$PMF_LANG["msgQuestion"] = "Otázka"; $PMF_LANG["ad_entry_content"] = "Odpoveď"; $PMF_LANG["ad_entry_keywords"] = "Kľúčové slová"; $PMF_LANG["ad_entry_author"] = "Autor"; $PMF_LANG["ad_entry_category"] = "Kategória"; $PMF_LANG["ad_entry_active"] = "Aktívny?"; -$PMF_LANG["ad_entry_date"] = "Dátum"; +$PMF_LANG["msgDate"] = "Dátum"; $PMF_LANG["ad_entry_status"] = "Status der FAQ"; $PMF_LANG["ad_entry_changed"] = "Zmenený?"; $PMF_LANG["ad_entry_changelog"] = "Changelog"; @@ -449,7 +449,7 @@ $PMF_LANG["msgVisits"] = "Návštevy"; $PMF_LANG["ad_start_articles"] = "Články"; -$PMF_LANG["ad_start_comments"] = "Komentáre"; +$PMF_LANG["msgComments"] = "Komentáre"; // Added v1.1 - 30.01.2002 - Bastian @@ -836,7 +836,7 @@ // added 2.5.0-beta - 2009-03-31 by Anatoliy $PMF_LANG['ad_record_sticky'] = 'Otravné'; -$PMF_LANG['ad_entry_sticky'] = 'Otravné'; +$PMF_LANG['msgStickyFAQ'] = 'Otravné'; $PMF_LANG['stickyRecordsHeader'] = 'Otravné FAQ'; // added 2.5.0-beta - 2009-04-01 by Anatoliy diff --git a/phpmyfaq/translations/language_sl.php b/phpmyfaq/translations/language_sl.php index 8e1ef7bcde..7d59b7da9e 100644 --- a/phpmyfaq/translations/language_sl.php +++ b/phpmyfaq/translations/language_sl.php @@ -206,13 +206,13 @@ $PMF_LANG["ad_entry_action"] = "Akcija"; $PMF_LANG["ad_entry_edit_1"] = "Uredi vnos"; $PMF_LANG["ad_entry_edit_2"] = ""; -$PMF_LANG["ad_entry_theme"] = "Tema"; +$PMF_LANG["msgQuestion"] = "Tema"; $PMF_LANG["ad_entry_content"] = "Vsebina"; $PMF_LANG["ad_entry_keywords"] = "Besede"; $PMF_LANG["ad_entry_author"] = "Avtor"; $PMF_LANG["ad_entry_category"] = "Kategorija"; $PMF_LANG["ad_entry_active"] = "Aktivno?"; -$PMF_LANG["ad_entry_date"] = "Datum"; +$PMF_LANG["msgDate"] = "Datum"; $PMF_LANG["ad_entry_status"] = "Status der FAQ"; $PMF_LANG["ad_entry_changed"] = "Spremembe?"; $PMF_LANG["ad_entry_changelog"] = "Vsebina sprememb"; @@ -450,7 +450,7 @@ $PMF_LANG["msgVisits"] = "Obiskov"; $PMF_LANG["ad_start_articles"] = "Èlankov"; -$PMF_LANG["ad_start_comments"] = "Komentarjev"; +$PMF_LANG["msgComments"] = "Komentarjev"; // Added v1.1 - 30.01.2002 - Bastian diff --git a/phpmyfaq/translations/language_sr.php b/phpmyfaq/translations/language_sr.php index b18b1cc036..f87ea8b623 100644 --- a/phpmyfaq/translations/language_sr.php +++ b/phpmyfaq/translations/language_sr.php @@ -208,13 +208,13 @@ $PMF_LANG["ad_entry_action"] = "Akcija"; $PMF_LANG["ad_entry_edit_1"] = "Dodaj/Izmeni Unos"; $PMF_LANG["ad_entry_edit_2"] = ""; -$PMF_LANG["ad_entry_theme"] = "Tema"; +$PMF_LANG["msgQuestion"] = "Tema"; $PMF_LANG["ad_entry_content"] = "Sadržaj"; $PMF_LANG["ad_entry_keywords"] = "Ključne reči"; $PMF_LANG["ad_entry_author"] = "Autor"; $PMF_LANG["ad_entry_category"] = "Kategorija"; $PMF_LANG["ad_entry_active"] = "Aktivno?"; -$PMF_LANG["ad_entry_date"] = "Datum"; +$PMF_LANG["msgDate"] = "Datum"; $PMF_LANG["ad_entry_status"] = "Status der FAQ"; $PMF_LANG["ad_entry_changed"] = "Izmenjeno?"; $PMF_LANG["ad_entry_changelog"] = "Log izmena"; @@ -452,7 +452,7 @@ $PMF_LANG["msgVisits"] = "Poseta"; $PMF_LANG["ad_start_articles"] = "Članaka"; -$PMF_LANG["ad_start_comments"] = "Komentara"; +$PMF_LANG["msgComments"] = "Komentara"; // Added v1.1 - 30.01.2002 - Bastian diff --git a/phpmyfaq/translations/language_sv.php b/phpmyfaq/translations/language_sv.php index b20fa66627..ca2e2a08f7 100755 --- a/phpmyfaq/translations/language_sv.php +++ b/phpmyfaq/translations/language_sv.php @@ -175,13 +175,13 @@ $PMF_LANG['ad_entry_action'] = 'Händelse'; $PMF_LANG['ad_entry_edit_1'] = 'Ändra inlägg'; $PMF_LANG['ad_entry_edit_2'] = ''; -$PMF_LANG['ad_entry_theme'] = 'Fråga:'; +$PMF_LANG['msgQuestion'] = 'Fråga:'; $PMF_LANG['ad_entry_content'] = 'Svar:'; $PMF_LANG['ad_entry_keywords'] = 'Nyckelord:'; $PMF_LANG['ad_entry_author'] = 'Författare:'; $PMF_LANG['ad_entry_category'] = 'Kategori:'; $PMF_LANG['ad_entry_active'] = 'Aktiv?'; -$PMF_LANG['ad_entry_date'] = 'Datum'; +$PMF_LANG['msgDate'] = 'Datum'; $PMF_LANG['ad_entry_status'] = 'Status der FAQ'; $PMF_LANG['ad_entry_changed'] = 'Ändringsnoteringar?'; $PMF_LANG['ad_entry_changelog'] = 'Ändringslogg'; @@ -375,7 +375,7 @@ $PMF_LANG['ad_log_bede'] = 'Följande inlägg togs bort:'; $PMF_LANG['msgVisits'] = 'Besök'; $PMF_LANG['ad_start_articles'] = 'Artiklar'; -$PMF_LANG['ad_start_comments'] = 'Kommentarer'; +$PMF_LANG['msgComments'] = 'Kommentarer'; $PMF_LANG['ad_categ_paste'] = 'klistra in'; $PMF_LANG['ad_categ_cut'] = 'klipp ut'; $PMF_LANG['msgCopy'] = 'kopiera'; @@ -718,7 +718,7 @@ $PMF_LANG['ad_searchstats_search_term_lang'] = 'Språk'; $PMF_LANG['ad_searchstats_search_term_percentage'] = 'Procent'; $PMF_LANG['ad_record_sticky'] = 'Alltid överst'; -$PMF_LANG['ad_entry_sticky'] = 'Alltid överst'; +$PMF_LANG['msgStickyFAQ'] = 'Alltid överst'; $PMF_LANG['stickyRecordsHeader'] = 'Frågor/svar som alltid visas överst'; $PMF_LANG['ad_menu_stopwordsconfig'] = 'Spärrade ord'; $PMF_LANG['ad_config_stopword_input'] = 'Lägg till nytt spärrat ord'; diff --git a/phpmyfaq/translations/language_th.php b/phpmyfaq/translations/language_th.php index a03afe7885..a77c44cd7a 100644 --- a/phpmyfaq/translations/language_th.php +++ b/phpmyfaq/translations/language_th.php @@ -173,13 +173,13 @@ $PMF_LANG['ad_entry_action'] = 'ดำเนินการ'; $PMF_LANG['ad_entry_edit_1'] = 'แก้ไขข้อมูล'; $PMF_LANG['ad_entry_edit_2'] = ''; -$PMF_LANG['ad_entry_theme'] = 'คำถาม:'; +$PMF_LANG['msgQuestion'] = 'คำถาม:'; $PMF_LANG['ad_entry_content'] = 'คำตอบ:'; $PMF_LANG['ad_entry_keywords'] = 'คำค้น:'; $PMF_LANG['ad_entry_author'] = 'ผู้เขียน:'; $PMF_LANG['ad_entry_category'] = 'หัวข้อ:'; $PMF_LANG['ad_entry_active'] = 'เปิดใช้'; -$PMF_LANG['ad_entry_date'] = 'วันที่'; +$PMF_LANG['msgDate'] = 'วันที่'; $PMF_LANG['ad_entry_status'] = 'Status der FAQ'; $PMF_LANG['ad_entry_changed'] = 'แก้ไข'; $PMF_LANG['ad_entry_changelog'] = 'สถานะการแก้ไข'; @@ -373,7 +373,7 @@ $PMF_LANG['ad_log_bede'] = 'ลบผู้ใช้เหล่านี้: '; $PMF_LANG['msgVisits'] = 'เยี่ยมชม'; $PMF_LANG['ad_start_articles'] = 'หัวข้อ'; -$PMF_LANG['ad_start_comments'] = 'ความคิดเห็น'; +$PMF_LANG['msgComments'] = 'ความคิดเห็น'; $PMF_LANG['ad_categ_paste'] = 'วางทับ'; $PMF_LANG['ad_categ_cut'] = 'ตัดออก'; $PMF_LANG['msgCopy'] = 'คัดลอก'; @@ -670,7 +670,7 @@ $PMF_LANG['ad_searchstats_search_term_lang'] = 'ภาษา'; $PMF_LANG['ad_searchstats_search_term_percentage'] = 'เปอร์เซนต์'; $PMF_LANG['ad_record_sticky'] = 'ปักหมุด'; -$PMF_LANG['ad_entry_sticky'] = 'ปักหมุด'; +$PMF_LANG['msgStickyFAQ'] = 'ปักหมุด'; $PMF_LANG['stickyRecordsHeader'] = 'ปักหมุด FAQs'; $PMF_LANG['ad_menu_stopwordsconfig'] = 'คำยกเว้น'; $PMF_LANG['ad_config_stopword_input'] = 'เพิ่ม คำยกเว้น ใหม่'; diff --git a/phpmyfaq/translations/language_tr.php b/phpmyfaq/translations/language_tr.php index 635c537bd5..697a75c1e2 100644 --- a/phpmyfaq/translations/language_tr.php +++ b/phpmyfaq/translations/language_tr.php @@ -203,13 +203,13 @@ $PMF_LANG["ad_entry_action"] = "Eylem"; $PMF_LANG["ad_entry_edit_1"] = "Düzenle"; $PMF_LANG["ad_entry_edit_2"] = ""; -$PMF_LANG["ad_entry_theme"] = "Soru"; +$PMF_LANG["msgQuestion"] = "Soru"; $PMF_LANG["ad_entry_content"] = "Cevap"; $PMF_LANG["ad_entry_keywords"] = "Anahtar sözcükler"; $PMF_LANG["ad_entry_author"] = "Oluşturan"; $PMF_LANG["ad_entry_category"] = "Kategori"; $PMF_LANG["ad_entry_active"] = "Görünür"; -$PMF_LANG["ad_entry_date"] = "Tarih"; +$PMF_LANG["msgDate"] = "Tarih"; $PMF_LANG["ad_entry_status"] = "Status der FAQ"; $PMF_LANG["ad_entry_changed"] = "Değişiklik?"; $PMF_LANG["ad_entry_changelog"] = "Değişiklik günlüğü"; @@ -446,7 +446,7 @@ $PMF_LANG["msgVisits"] = "Ziyaret"; $PMF_LANG["ad_start_articles"] = "İçerikler"; -$PMF_LANG["ad_start_comments"] = "Yorumlar"; +$PMF_LANG["msgComments"] = "Yorumlar"; // Added v1.1 - 30.01.2002 - Bastian @@ -820,7 +820,7 @@ // added 2.5.0-beta - 2009-03-31 by Anatoliy $PMF_LANG['ad_record_sticky'] = "Sabitlenmiş"; -$PMF_LANG['ad_entry_sticky'] = "Sabitlenmiş"; +$PMF_LANG['msgStickyFAQ'] = "Sabitlenmiş"; $PMF_LANG['stickyRecordsHeader'] = "Sabitlenmiş içerikler"; // added 2.5.0-beta - 2009-04-01 by Anatoliy diff --git a/phpmyfaq/translations/language_tw.php b/phpmyfaq/translations/language_tw.php index 3f5559a2b7..34a0c5c310 100644 --- a/phpmyfaq/translations/language_tw.php +++ b/phpmyfaq/translations/language_tw.php @@ -203,13 +203,13 @@ $PMF_LANG["ad_entry_action"] = "動作"; $PMF_LANG["ad_entry_edit_1"] = "編輯記錄"; $PMF_LANG["ad_entry_edit_2"] = ""; -$PMF_LANG["ad_entry_theme"] = "問題"; +$PMF_LANG["msgQuestion"] = "問題"; $PMF_LANG["ad_entry_content"] = "答案"; $PMF_LANG["ad_entry_keywords"] = "關鍵字"; $PMF_LANG["ad_entry_author"] = "作者"; $PMF_LANG["ad_entry_category"] = "類別"; $PMF_LANG["ad_entry_active"] = "可被看到"; -$PMF_LANG["ad_entry_date"] = "日期"; +$PMF_LANG["msgDate"] = "日期"; $PMF_LANG["ad_entry_status"] = "Status der FAQ"; $PMF_LANG["ad_entry_changed"] = "已變更?"; $PMF_LANG["ad_entry_changelog"] = "異動日誌 Changelog"; @@ -446,7 +446,7 @@ $PMF_LANG["msgVisits"] = "訪客次數 (Visits)"; $PMF_LANG["ad_start_articles"] = "文章"; -$PMF_LANG["ad_start_comments"] = "評論"; +$PMF_LANG["msgComments"] = "評論"; // Added v1.1 - 30.01.2002 - Bastian - admin - 管理 @@ -820,7 +820,7 @@ // added 2.5.0-beta - 2009-03-31 by Anatoliy 開發者 $PMF_LANG['ad_record_sticky'] = "置頂 Sticky"; -$PMF_LANG['ad_entry_sticky'] = "置頂 Sticky"; +$PMF_LANG['msgStickyFAQ'] = "置頂 Sticky"; $PMF_LANG['stickyRecordsHeader'] = "置頂 FAQs Sticky FAQs"; // added 2.5.0-beta - 2009-04-01 by Anatoliy 開發者 diff --git a/phpmyfaq/translations/language_uk.php b/phpmyfaq/translations/language_uk.php index d0292bd132..64fdd97739 100644 --- a/phpmyfaq/translations/language_uk.php +++ b/phpmyfaq/translations/language_uk.php @@ -205,13 +205,13 @@ $PMF_LANG["ad_entry_action"] = "Дія"; $PMF_LANG["ad_entry_edit_1"] = "Редагування записів"; $PMF_LANG["ad_entry_edit_2"] = ""; -$PMF_LANG["ad_entry_theme"] = "Питання"; +$PMF_LANG["msgQuestion"] = "Питання"; $PMF_LANG["ad_entry_content"] = "Відповідь"; $PMF_LANG["ad_entry_keywords"] = "Ключі"; $PMF_LANG["ad_entry_author"] = "Автор"; $PMF_LANG["ad_entry_category"] = "Розділ"; $PMF_LANG["ad_entry_active"] = "Активувати?"; -$PMF_LANG["ad_entry_date"] = "Дата"; +$PMF_LANG["msgDate"] = "Дата"; $PMF_LANG["ad_entry_status"] = "Status der FAQ"; $PMF_LANG["ad_entry_changed"] = "Змінено?"; $PMF_LANG["ad_entry_changelog"] = "Changelog"; @@ -450,7 +450,7 @@ $PMF_LANG["msgVisits"] = "Відвідин"; $PMF_LANG["ad_start_articles"] = "Записів"; -$PMF_LANG["ad_start_comments"] = "Коментарів"; +$PMF_LANG["msgComments"] = "Коментарів"; // Added v1.1 - 30.01.2002 - Bastian diff --git a/phpmyfaq/translations/language_vi.php b/phpmyfaq/translations/language_vi.php index 7c40804072..db3b04b22f 100644 --- a/phpmyfaq/translations/language_vi.php +++ b/phpmyfaq/translations/language_vi.php @@ -208,13 +208,13 @@ $PMF_LANG["ad_entry_action"] = "Hành động"; $PMF_LANG["ad_entry_edit_1"] = "Chỉnh sửa nội dung"; $PMF_LANG["ad_entry_edit_2"] = "Chỉnh sửa nội dung"; -$PMF_LANG["ad_entry_theme"] = "Câu hỏi"; +$PMF_LANG["msgQuestion"] = "Câu hỏi"; $PMF_LANG["ad_entry_content"] = "Câu trả lời"; $PMF_LANG["ad_entry_keywords"] = "Từ khóa"; $PMF_LANG["ad_entry_author"] = "Tác giả"; $PMF_LANG["ad_entry_category"] = "Mục"; $PMF_LANG["ad_entry_active"] = "Kích hoạt?"; -$PMF_LANG["ad_entry_date"] = "Ngày"; +$PMF_LANG["msgDate"] = "Ngày"; $PMF_LANG["ad_entry_status"] = "Status der FAQ"; $PMF_LANG["ad_entry_changed"] = "Bạn đã thay đổi những gì?"; $PMF_LANG["ad_entry_changelog"] = "Changelog"; @@ -448,7 +448,7 @@ $PMF_LANG["ad_log_bede"] = "Bài sau đã bị xóa: "; $PMF_LANG["msgVisits"] = "Lượt thăm"; $PMF_LANG["ad_start_articles"] = "Bài"; -$PMF_LANG["ad_start_comments"] = "Bình luận"; +$PMF_LANG["msgComments"] = "Bình luận"; // Added v1.1 - 30.01.2002 - Bastian $PMF_LANG["ad_categ_paste"] = "dán"; diff --git a/phpmyfaq/translations/language_zh.php b/phpmyfaq/translations/language_zh.php index a0c6d0c82a..48c5aa8f8a 100644 --- a/phpmyfaq/translations/language_zh.php +++ b/phpmyfaq/translations/language_zh.php @@ -174,13 +174,13 @@ $PMF_LANG['ad_entry_action'] = '操作'; $PMF_LANG['ad_entry_edit_1'] = '编辑问答'; $PMF_LANG['ad_entry_edit_2'] = ''; -$PMF_LANG['ad_entry_theme'] = '问题:'; +$PMF_LANG['msgQuestion'] = '问题:'; $PMF_LANG['ad_entry_content'] = '答案:'; $PMF_LANG['ad_entry_keywords'] = '关键词:'; $PMF_LANG['ad_entry_author'] = '作者:'; $PMF_LANG['ad_entry_category'] = '类别:'; $PMF_LANG['ad_entry_active'] = '激活?'; -$PMF_LANG['ad_entry_date'] = '日期'; +$PMF_LANG['msgDate'] = '日期'; $PMF_LANG['ad_entry_status'] = 'Status der FAQ'; $PMF_LANG['ad_entry_changed'] = '修改?'; $PMF_LANG['ad_entry_changelog'] = '变更记录'; @@ -374,7 +374,7 @@ $PMF_LANG['ad_log_bede'] = '删除如下内容: '; $PMF_LANG['msgVisits'] = '访问人数'; $PMF_LANG['ad_start_articles'] = '问答条数'; -$PMF_LANG['ad_start_comments'] = '篇/评论'; +$PMF_LANG['msgComments'] = '篇/评论'; $PMF_LANG['ad_categ_paste'] = '粘贴'; $PMF_LANG['ad_categ_cut'] = '剪切'; $PMF_LANG['msgCopy'] = '复制'; @@ -642,7 +642,7 @@ $PMF_LANG['ad_searchstats_search_term_lang'] = '语言'; $PMF_LANG['ad_searchstats_search_term_percentage'] = '百分比'; $PMF_LANG['ad_record_sticky'] = '置顶'; -$PMF_LANG['ad_entry_sticky'] = '置顶'; +$PMF_LANG['msgStickyFAQ'] = '置顶'; $PMF_LANG['stickyRecordsHeader'] = '疑难问答'; $PMF_LANG['ad_menu_stopwordsconfig'] = '禁用词'; $PMF_LANG['ad_config_stopword_input'] = '添加禁用词'; diff --git a/tests/phpMyFAQ/FormsTest.php b/tests/phpMyFAQ/FormsTest.php index 3709c990dc..7bf30f058f 100644 --- a/tests/phpMyFAQ/FormsTest.php +++ b/tests/phpMyFAQ/FormsTest.php @@ -112,7 +112,7 @@ public function testGetTranslatedLanguages(): void public function testGetTranslations(): void { $result = $this->forms->getTranslations(1, 1); - $this->assertEquals('Add question', $result[0]->input_label); + $this->assertEquals('Question', $result[0]->input_label); $this->assertEquals('default', $result[0]->input_lang); }