From 5b4d03175a18e0aec1dccef5752a2380a0bb9a92 Mon Sep 17 00:00:00 2001 From: Thorsten Rinne Date: Sun, 24 Nov 2024 13:41:54 +0100 Subject: [PATCH] refactor: improved translation key --- phpmyfaq/admin/media.browser.php | 2 +- phpmyfaq/admin/no-permission.php | 8 +------- .../assets/templates/admin/no-permission.twig | 4 ++-- .../Administration/Api/AttachmentController.php | 4 ++-- .../Administration/Api/CategoryController.php | 4 ++-- .../Administration/Api/CommentController.php | 2 +- .../Api/ConfigurationController.php | 2 +- .../Api/ConfigurationTabController.php | 2 +- .../Administration/Api/ExportController.php | 2 +- .../Administration/Api/FaqController.php | 16 ++++++++-------- .../Administration/Api/FormController.php | 10 +++++----- .../Administration/Api/GlossaryController.php | 6 +++--- .../Administration/Api/ImageController.php | 2 +- .../Administration/Api/InstanceController.php | 4 ++-- .../Administration/Api/NewsController.php | 8 ++++---- .../Administration/Api/QuestionController.php | 4 ++-- .../Administration/Api/SearchController.php | 2 +- .../Administration/Api/SessionController.php | 2 +- .../Administration/Api/StatisticsController.php | 4 ++-- .../Administration/Api/StopWordController.php | 4 ++-- .../Administration/Api/TagController.php | 4 ++-- .../Administration/Api/UserController.php | 12 ++++++------ .../Controller/Frontend/UserController.php | 2 +- phpmyfaq/translations/language_ar.php | 4 ++-- phpmyfaq/translations/language_bn.php | 4 ++-- phpmyfaq/translations/language_bs.php | 4 ++-- phpmyfaq/translations/language_cs.php | 4 ++-- phpmyfaq/translations/language_cy.php | 4 ++-- phpmyfaq/translations/language_da.php | 4 ++-- phpmyfaq/translations/language_de.php | 4 ++-- phpmyfaq/translations/language_el.php | 4 ++-- phpmyfaq/translations/language_en.php | 4 ++-- phpmyfaq/translations/language_es.php | 4 ++-- phpmyfaq/translations/language_eu.php | 4 ++-- phpmyfaq/translations/language_fa.php | 4 ++-- phpmyfaq/translations/language_fi.php | 4 ++-- phpmyfaq/translations/language_fr-ca.php | 4 ++-- phpmyfaq/translations/language_fr.php | 4 ++-- phpmyfaq/translations/language_he.php | 4 ++-- phpmyfaq/translations/language_hi.php | 4 ++-- phpmyfaq/translations/language_hu.php | 4 ++-- phpmyfaq/translations/language_id.php | 4 ++-- phpmyfaq/translations/language_it.php | 4 ++-- phpmyfaq/translations/language_ja.php | 4 ++-- phpmyfaq/translations/language_ko.php | 4 ++-- phpmyfaq/translations/language_lt.php | 4 ++-- phpmyfaq/translations/language_lv.php | 4 ++-- phpmyfaq/translations/language_mn.php | 4 ++-- phpmyfaq/translations/language_ms.php | 4 ++-- phpmyfaq/translations/language_nb.php | 4 ++-- phpmyfaq/translations/language_nl.php | 4 ++-- phpmyfaq/translations/language_pl.php | 4 ++-- phpmyfaq/translations/language_pt-br.php | 4 ++-- phpmyfaq/translations/language_pt.php | 4 ++-- phpmyfaq/translations/language_ro.php | 4 ++-- phpmyfaq/translations/language_ru.php | 4 ++-- phpmyfaq/translations/language_sk.php | 4 ++-- phpmyfaq/translations/language_sl.php | 4 ++-- phpmyfaq/translations/language_sr.php | 4 ++-- phpmyfaq/translations/language_sv.php | 4 ++-- phpmyfaq/translations/language_th.php | 4 ++-- phpmyfaq/translations/language_tr.php | 4 ++-- phpmyfaq/translations/language_tw.php | 4 ++-- phpmyfaq/translations/language_uk.php | 4 ++-- phpmyfaq/translations/language_vi.php | 4 ++-- phpmyfaq/translations/language_zh.php | 4 ++-- 66 files changed, 138 insertions(+), 144 deletions(-) diff --git a/phpmyfaq/admin/media.browser.php b/phpmyfaq/admin/media.browser.php index aa2357de82..2f1b28cbf3 100644 --- a/phpmyfaq/admin/media.browser.php +++ b/phpmyfaq/admin/media.browser.php @@ -92,7 +92,7 @@ $templateVars = [ 'metaLanguage' => Translation::get('metaLanguage'), 'notAuthenticated' => !$user->isLoggedIn(), - 'msgNotAuthenticated' => Translation::get('err_NotAuth'), + 'msgNotAuthenticated' => Translation::get('msgNoPermission'), 'msgMediaSearch' => Translation::get('ad_media_name_search'), 'isImageDirectoryMissing' => !is_dir(PMF_CONTENT_DIR . '/user/images'), 'msgImageDirectoryMissing' => sprintf(Translation::get('ad_dir_missing'), '/images'), diff --git a/phpmyfaq/admin/no-permission.php b/phpmyfaq/admin/no-permission.php index cfdbea6067..f2bd1faf41 100644 --- a/phpmyfaq/admin/no-permission.php +++ b/phpmyfaq/admin/no-permission.php @@ -16,14 +16,8 @@ */ use phpMyFAQ\Template\TwigWrapper; -use phpMyFAQ\Translation; $twig = new TwigWrapper(PMF_ROOT_DIR . '/assets/templates'); $template = $twig->loadTemplate('@admin/no-permission.twig'); -echo $template->render( - [ - 'adminHeaderNoPermission' => Translation::get('ad_entryins_fail'), - 'msgNoPermission' => Translation::get('err_NotAuth') - ] -); +echo $template->render(); diff --git a/phpmyfaq/assets/templates/admin/no-permission.twig b/phpmyfaq/assets/templates/admin/no-permission.twig index 55bab66c5e..7153ada5f6 100644 --- a/phpmyfaq/assets/templates/admin/no-permission.twig +++ b/phpmyfaq/assets/templates/admin/no-permission.twig @@ -1,10 +1,10 @@

- {{ adminHeaderNoPermission }} + {{ 'msgErrorOccurred' | translate }}

- {{ msgNoPermission }} + {{ 'msgNoPermission' | translate }}

diff --git a/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/AttachmentController.php b/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/AttachmentController.php index 3d35d081ab..5c09bed415 100644 --- a/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/AttachmentController.php +++ b/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/AttachmentController.php @@ -46,7 +46,7 @@ public function delete(Request $request): JsonResponse !Token::getInstance($this->container->get('session')) ->verifyToken('delete-attachment', $deleteData->csrf) ) { - return $this->json(['error' => Translation::get('err_NotAuth')], Response::HTTP_UNAUTHORIZED); + return $this->json(['error' => Translation::get('msgNoPermission')], Response::HTTP_UNAUTHORIZED); } $attachment = AttachmentFactory::create($deleteData->attId); @@ -75,7 +75,7 @@ public function refresh(Request $request): JsonResponse !Token::getInstance($this->container->get('session')) ->verifyToken('refresh-attachment', $dataToCheck->csrf) ) { - return $this->json(['error' => Translation::get('err_NotAuth')], Response::HTTP_UNAUTHORIZED); + return $this->json(['error' => Translation::get('msgNoPermission')], Response::HTTP_UNAUTHORIZED); } $attachment = AttachmentFactory::create($dataToCheck->attId); diff --git a/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/CategoryController.php b/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/CategoryController.php index e71f10b18e..63901cf76c 100644 --- a/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/CategoryController.php +++ b/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/CategoryController.php @@ -49,7 +49,7 @@ public function delete(Request $request): JsonResponse $data = json_decode($request->getContent()); if (!Token::getInstance($this->container->get('session'))->verifyToken('category', $data->csrfToken)) { - return $this->json(['error' => Translation::get('err_NotAuth')], Response::HTTP_UNAUTHORIZED); + return $this->json(['error' => Translation::get('msgNoPermission')], Response::HTTP_UNAUTHORIZED); } [ $currentAdminUser, $currentAdminGroups ] = CurrentUser::getCurrentUserGroupId($currentUser); @@ -151,7 +151,7 @@ public function updateOrder(Request $request): JsonResponse $data = json_decode($request->getContent()); if (!Token::getInstance($this->container->get('session'))->verifyToken('category', $data->csrfToken)) { - return $this->json(['error' => Translation::get('err_NotAuth')], Response::HTTP_UNAUTHORIZED); + return $this->json(['error' => Translation::get('msgNoPermission')], Response::HTTP_UNAUTHORIZED); } $user = CurrentUser::getCurrentUser($this->configuration); diff --git a/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/CommentController.php b/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/CommentController.php index f705ddcf69..b191360aff 100644 --- a/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/CommentController.php +++ b/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/CommentController.php @@ -44,7 +44,7 @@ public function delete(Request $request): JsonResponse !Token::getInstance($this->container->get('session')) ->verifyToken('delete-comment', $data->data->{'pmf-csrf-token'}) ) { - return $this->json(['error' => Translation::get('err_NotAuth')], Response::HTTP_UNAUTHORIZED); + return $this->json(['error' => Translation::get('msgNoPermission')], Response::HTTP_UNAUTHORIZED); } $comments = new Comments($this->configuration); diff --git a/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/ConfigurationController.php b/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/ConfigurationController.php index 8e55ccb794..5b659e3aab 100644 --- a/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/ConfigurationController.php +++ b/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/ConfigurationController.php @@ -42,7 +42,7 @@ public function sendTestMail(Request $request): JsonResponse $data = json_decode($request->getContent()); if (!Token::getInstance($this->container->get('session'))->verifyToken('configuration', $data->csrf)) { - return $this->json(['error' => Translation::get('err_NotAuth')], Response::HTTP_UNAUTHORIZED); + return $this->json(['error' => Translation::get('msgNoPermission')], Response::HTTP_UNAUTHORIZED); } try { diff --git a/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/ConfigurationTabController.php b/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/ConfigurationTabController.php index 3403c645fc..8265bc2856 100644 --- a/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/ConfigurationTabController.php +++ b/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/ConfigurationTabController.php @@ -92,7 +92,7 @@ public function save(Request $request): JsonResponse $oldConfigurationData = $this->configuration->getAll(); if (!Token::getInstance($this->container->get('session'))->verifyToken('configuration', $csrfToken)) { - return $this->json(['error' => Translation::get('err_NotAuth')], Response::HTTP_UNAUTHORIZED); + return $this->json(['error' => Translation::get('msgNoPermission')], Response::HTTP_UNAUTHORIZED); } else { // Set the new values $newConfigValues = []; diff --git a/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/ExportController.php b/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/ExportController.php index 733ea607ed..516076fc71 100644 --- a/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/ExportController.php +++ b/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/ExportController.php @@ -83,7 +83,7 @@ public function exportReport(Request $request): Response !Token::getInstance($this->container->get('session')) ->verifyToken('create-report', $data->{'pmf-csrf-token'}) ) { - return $this->json(['error' => Translation::get('err_NotAuth')], Response::HTTP_UNAUTHORIZED); + return $this->json(['error' => Translation::get('msgNoPermission')], Response::HTTP_UNAUTHORIZED); } $text = []; diff --git a/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/FaqController.php b/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/FaqController.php index 3def21a2aa..f7557e6729 100644 --- a/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/FaqController.php +++ b/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/FaqController.php @@ -86,7 +86,7 @@ public function create(Request $request): JsonResponse $data = json_decode($request->getContent())->data; if (!Token::getInstance($this->container->get('session'))->verifyToken('edit-faq', $data->{'pmf-csrf-token'})) { - return $this->json(['error' => Translation::get('err_NotAuth')], Response::HTTP_UNAUTHORIZED); + return $this->json(['error' => Translation::get('msgNoPermission')], Response::HTTP_UNAUTHORIZED); } // Collect FAQ data @@ -279,7 +279,7 @@ public function update(Request $request): JsonResponse $data = json_decode($request->getContent())->data; if (!Token::getInstance()->verifyToken('edit-faq', $data->{'pmf-csrf-token'})) { - return $this->json(['error' => Translation::get('err_NotAuth')], Response::HTTP_UNAUTHORIZED); + return $this->json(['error' => Translation::get('msgNoPermission')], Response::HTTP_UNAUTHORIZED); } // Collect FAQ data @@ -505,7 +505,7 @@ public function activate(Request $request): JsonResponse $checked = Filter::filterVar($data->checked, FILTER_VALIDATE_BOOLEAN); if (!Token::getInstance()->verifyToken('faq-overview', $data->csrf)) { - return $this->json(['error' => Translation::get('err_NotAuth')], Response::HTTP_UNAUTHORIZED); + return $this->json(['error' => Translation::get('msgNoPermission')], Response::HTTP_UNAUTHORIZED); } if (!($faqIds === false || $faqIds === [] || $faqIds === null)) { @@ -543,7 +543,7 @@ public function sticky(Request $request): JsonResponse $checked = Filter::filterVar($data->checked, FILTER_VALIDATE_BOOLEAN); if (!Token::getInstance()->verifyToken('faq-overview', $data->csrf)) { - return $this->json(['error' => Translation::get('err_NotAuth')], Response::HTTP_UNAUTHORIZED); + return $this->json(['error' => Translation::get('msgNoPermission')], Response::HTTP_UNAUTHORIZED); } if (!($faqIds === false || $faqIds === [] || $faqIds === null)) { @@ -583,7 +583,7 @@ public function delete(Request $request): JsonResponse $faqLanguage = Filter::filterVar($data->faqLanguage, FILTER_SANITIZE_SPECIAL_CHARS); if (!Token::getInstance()->verifyToken('faq-overview', $data->csrf)) { - return $this->json(['error' => Translation::get('err_NotAuth')], Response::HTTP_UNAUTHORIZED); + return $this->json(['error' => Translation::get('msgNoPermission')], Response::HTTP_UNAUTHORIZED); } $adminLog = new AdminLog($this->configuration); @@ -611,7 +611,7 @@ public function search(Request $request): JsonResponse $data = json_decode($request->getContent()); if (!Token::getInstance()->verifyToken('edit-faq', $data->csrf)) { - return $this->json(['error' => Translation::get('err_NotAuth')], Response::HTTP_UNAUTHORIZED); + return $this->json(['error' => Translation::get('msgNoPermission')], Response::HTTP_UNAUTHORIZED); } $faqPermission = new FaqPermission($this->configuration); @@ -649,7 +649,7 @@ public function saveOrderOfStickyFaqs(Request $request): JsonResponse $data = json_decode($request->getContent()); if (!Token::getInstance()->verifyToken('order-stickyfaqs', $data->csrf)) { - return $this->json(['error' => Translation::get('err_NotAuth')], Response::HTTP_UNAUTHORIZED); + return $this->json(['error' => Translation::get('msgNoPermission')], Response::HTTP_UNAUTHORIZED); } $faq = new Faq($this->configuration); @@ -672,7 +672,7 @@ public function import(Request $request): JsonResponse } if (!Token::getInstance()->verifyToken('importfaqs', $request->request->get('csrf'))) { - return $this->json(['error' => Translation::get('err_NotAuth')], Response::HTTP_UNAUTHORIZED); + return $this->json(['error' => Translation::get('msgNoPermission')], Response::HTTP_UNAUTHORIZED); } $faqImport = new Import($this->configuration); diff --git a/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/FormController.php b/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/FormController.php index 3f308ab31d..75f26abbe5 100644 --- a/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/FormController.php +++ b/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/FormController.php @@ -42,7 +42,7 @@ public function activateInput(Request $request) $forms = new Forms($this->configuration); if (!Token::getInstance($this->container->get('session'))->verifyToken('activate-input', $data->csrf)) { - return $this->json(['error' => Translation::get('err_NotAuth')], Response::HTTP_UNAUTHORIZED); + return $this->json(['error' => Translation::get('msgNoPermission')], Response::HTTP_UNAUTHORIZED); } try { @@ -64,7 +64,7 @@ public function setInputAsRequired(Request $request) $forms = new Forms($this->configuration); if (!Token::getInstance($this->container->get('session'))->verifyToken('require-input', $data->csrf)) { - return $this->json(['error' => Translation::get('err_NotAuth')], Response::HTTP_UNAUTHORIZED); + return $this->json(['error' => Translation::get('msgNoPermission')], Response::HTTP_UNAUTHORIZED); } try { @@ -87,7 +87,7 @@ public function editTranslation(Request $request) $forms = new Forms($this->configuration); if (!Token::getInstance($this->container->get('session'))->verifyToken('edit-translation', $data->csrf)) { - return $this->json(['error' => Translation::get('err_NotAuth')], Response::HTTP_UNAUTHORIZED); + return $this->json(['error' => Translation::get('msgNoPermission')], Response::HTTP_UNAUTHORIZED); } try { @@ -109,7 +109,7 @@ public function deleteTranslation(Request $request) $forms = new Forms($this->configuration); if (!Token::getInstance($this->container->get('session'))->verifyToken('delete-translation', $data->csrf)) { - return $this->json(['error' => Translation::get('err_NotAuth')], Response::HTTP_UNAUTHORIZED); + return $this->json(['error' => Translation::get('msgNoPermission')], Response::HTTP_UNAUTHORIZED); } try { @@ -140,7 +140,7 @@ public function addTranslation(Request $request): JsonResponse $forms = new Forms($this->configuration); if (!Token::getInstance($this->container->get('session'))->verifyToken('add-translation', $data->csrf)) { - return $this->json(['error' => Translation::get('err_NotAuth')], Response::HTTP_UNAUTHORIZED); + return $this->json(['error' => Translation::get('msgNoPermission')], Response::HTTP_UNAUTHORIZED); } try { diff --git a/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/GlossaryController.php b/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/GlossaryController.php index f8b3eb4c08..b0ab40fd4c 100644 --- a/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/GlossaryController.php +++ b/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/GlossaryController.php @@ -62,7 +62,7 @@ public function delete(Request $request): JsonResponse $glossaryLanguage = Filter::filterVar($data->lang, FILTER_SANITIZE_SPECIAL_CHARS); if (!Token::getInstance($this->container->get('session'))->verifyToken('delete-glossary', $data->csrf)) { - return $this->json(['error' => Translation::get('err_NotAuth')], Response::HTTP_UNAUTHORIZED); + return $this->json(['error' => Translation::get('msgNoPermission')], Response::HTTP_UNAUTHORIZED); } $glossary = new Glossary($this->configuration); @@ -90,7 +90,7 @@ public function create(Request $request): JsonResponse $glossaryDefinition = Filter::filterVar($data->definition, FILTER_SANITIZE_SPECIAL_CHARS); if (!Token::getInstance($this->container->get('session'))->verifyToken('add-glossary', $data->csrf)) { - return $this->json(['error' => Translation::get('err_NotAuth')], Response::HTTP_UNAUTHORIZED); + return $this->json(['error' => Translation::get('msgNoPermission')], Response::HTTP_UNAUTHORIZED); } $glossary = new Glossary($this->configuration); @@ -119,7 +119,7 @@ public function update(Request $request): JsonResponse $glossaryDefinition = Filter::filterVar($data->definition, FILTER_SANITIZE_SPECIAL_CHARS); if (!Token::getInstance($this->container->get('session'))->verifyToken('update-glossary', $data->csrf)) { - return $this->json(['error' => Translation::get('err_NotAuth')], Response::HTTP_UNAUTHORIZED); + return $this->json(['error' => Translation::get('msgNoPermission')], Response::HTTP_UNAUTHORIZED); } $glossary = new Glossary($this->configuration); diff --git a/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/ImageController.php b/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/ImageController.php index 522c8ad1e0..a97eeeb265 100644 --- a/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/ImageController.php +++ b/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/ImageController.php @@ -45,7 +45,7 @@ public function upload(Request $request): JsonResponse !Token::getInstance($this->container->get('session')) ->verifyToken('edit-faq', $request->query->get('csrf')) ) { - return $this->json(['error' => Translation::get('err_NotAuth')], Response::HTTP_UNAUTHORIZED); + return $this->json(['error' => Translation::get('msgNoPermission')], Response::HTTP_UNAUTHORIZED); } $file = $request->files->get('file'); diff --git a/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/InstanceController.php b/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/InstanceController.php index 9348d8c609..1c7d7211dd 100644 --- a/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/InstanceController.php +++ b/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/InstanceController.php @@ -51,7 +51,7 @@ public function add(Request $request): JsonResponse $data = json_decode($request->getContent()); if (!Token::getInstance($this->container->get('session'))->verifyToken('add-instance', $data->csrf)) { - return $this->json(['error' => Translation::get('err_NotAuth')], Response::HTTP_UNAUTHORIZED); + return $this->json(['error' => Translation::get('msgNoPermission')], Response::HTTP_UNAUTHORIZED); } $url = Filter::filterVar($data->url, FILTER_SANITIZE_SPECIAL_CHARS); @@ -160,7 +160,7 @@ public function delete(Request $request): JsonResponse $data = json_decode($request->getContent()); if (!Token::getInstance($this->container->get('session'))->verifyToken('delete-instance', $data->csrf)) { - return $this->json(['error' => Translation::get('err_NotAuth')], Response::HTTP_UNAUTHORIZED); + return $this->json(['error' => Translation::get('msgNoPermission')], Response::HTTP_UNAUTHORIZED); } $instanceId = Filter::filterVar($data->instanceId, FILTER_SANITIZE_SPECIAL_CHARS); diff --git a/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/NewsController.php b/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/NewsController.php index 5a276ba13f..10f45e0aaa 100644 --- a/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/NewsController.php +++ b/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/NewsController.php @@ -46,7 +46,7 @@ public function create(Request $request): JsonResponse $news = new News($this->configuration); if (!Token::getInstance($this->container->get('session'))->verifyToken('save-news', $data->csrfToken)) { - return $this->json(['error' => Translation::get('err_NotAuth')], Response::HTTP_UNAUTHORIZED); + return $this->json(['error' => Translation::get('msgNoPermission')], Response::HTTP_UNAUTHORIZED); } $header = Filter::filterVar($data->newsHeader, FILTER_SANITIZE_SPECIAL_CHARS); @@ -94,7 +94,7 @@ public function delete(Request $request): JsonResponse $news = new News($this->configuration); if (!Token::getInstance($this->container->get('session'))->verifyToken('delete-news', $data->csrfToken)) { - return $this->json(['error' => Translation::get('err_NotAuth')], Response::HTTP_UNAUTHORIZED); + return $this->json(['error' => Translation::get('msgNoPermission')], Response::HTTP_UNAUTHORIZED); } $deleteId = Filter::filterVar($data->id, FILTER_VALIDATE_INT); @@ -119,7 +119,7 @@ public function update(Request $request): JsonResponse $news = new News($this->configuration); if (!Token::getInstance($this->container->get('session'))->verifyToken('update-news', $data->csrfToken)) { - return $this->json(['error' => Translation::get('err_NotAuth')], Response::HTTP_UNAUTHORIZED); + return $this->json(['error' => Translation::get('msgNoPermission')], Response::HTTP_UNAUTHORIZED); } $newsId = Filter::filterVar($data->id, FILTER_VALIDATE_INT); @@ -168,7 +168,7 @@ public function activate(Request $request): JsonResponse $news = new News($this->configuration); if (!Token::getInstance($this->container->get('session'))->verifyToken('activate-news', $data->csrfToken)) { - return $this->json(['error' => Translation::get('err_NotAuth')], Response::HTTP_UNAUTHORIZED); + return $this->json(['error' => Translation::get('msgNoPermission')], Response::HTTP_UNAUTHORIZED); } $newsId = Filter::filterVar($data->id, FILTER_VALIDATE_INT); diff --git a/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/QuestionController.php b/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/QuestionController.php index 0f4ba01696..e81085ca21 100644 --- a/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/QuestionController.php +++ b/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/QuestionController.php @@ -43,7 +43,7 @@ public function delete(Request $request): JsonResponse !Token::getInstance($this->container->get('session')) ->verifyToken('delete-questions', $data->data->{'pmf-csrf-token'}) ) { - return $this->json(['error' => Translation::get('err_NotAuth')], Response::HTTP_UNAUTHORIZED); + return $this->json(['error' => Translation::get('msgNoPermission')], Response::HTTP_UNAUTHORIZED); } $questionIds = $data->data->{'questions[]'}; @@ -60,7 +60,7 @@ public function delete(Request $request): JsonResponse return $this->json(['success' => Translation::get('ad_open_question_deleted')], Response::HTTP_OK); } else { - return $this->json(['error' => Translation::get('err_NotAuth')], Response::HTTP_UNAUTHORIZED); + return $this->json(['error' => Translation::get('msgNoPermission')], Response::HTTP_UNAUTHORIZED); } } } diff --git a/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/SearchController.php b/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/SearchController.php index c37aa05887..8ae19784f3 100644 --- a/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/SearchController.php +++ b/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/SearchController.php @@ -47,7 +47,7 @@ public function deleteTerm(Request $request): JsonResponse !Token::getInstance($this->container->get('session')) ->verifyToken('delete-searchterm', $deleteData->csrf) ) { - return $this->json(['error' => Translation::get('err_NotAuth')], Response::HTTP_UNAUTHORIZED); + return $this->json(['error' => Translation::get('msgNoPermission')], Response::HTTP_UNAUTHORIZED); } $searchId = Filter::filterVar($deleteData->searchTermId, FILTER_VALIDATE_INT); diff --git a/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/SessionController.php b/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/SessionController.php index 0f26f751c7..b289d4c7a0 100644 --- a/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/SessionController.php +++ b/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/SessionController.php @@ -43,7 +43,7 @@ public function export(Request $request): BinaryFileResponse|JsonResponse $requestData = json_decode($request->getContent()); if (!Token::getInstance($this->container->get('session'))->verifyToken('export-sessions', $requestData->csrf)) { - return $this->json(['error' => Translation::get('err_NotAuth')], Response::HTTP_UNAUTHORIZED); + return $this->json(['error' => Translation::get('msgNoPermission')], Response::HTTP_UNAUTHORIZED); } $session = $this->container->get('phpmyfaq.admin.session'); diff --git a/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/StatisticsController.php b/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/StatisticsController.php index f6c317365f..5f680a31c5 100644 --- a/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/StatisticsController.php +++ b/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/StatisticsController.php @@ -43,7 +43,7 @@ public function deleteAdminLog(Request $request): JsonResponse $data = json_decode($request->getContent(), false, 512, JSON_THROW_ON_ERROR); if (!Token::getInstance($this->container->get('session'))->verifyToken('delete-adminlog', $data->csrfToken)) { - return $this->json(['error' => Translation::get('err_NotAuth')], Response::HTTP_UNAUTHORIZED); + return $this->json(['error' => Translation::get('msgNoPermission')], Response::HTTP_UNAUTHORIZED); } $logging = new AdminLog($this->configuration); @@ -68,7 +68,7 @@ public function truncateSearchTerms(Request $request): JsonResponse !Token::getInstance($this->container->get('session')) ->verifyToken('truncate-search-terms', $data->csrfToken) ) { - return $this->json(['error' => Translation::get('err_NotAuth')], Response::HTTP_UNAUTHORIZED); + return $this->json(['error' => Translation::get('msgNoPermission')], Response::HTTP_UNAUTHORIZED); } $search = new Search($this->configuration); diff --git a/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/StopWordController.php b/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/StopWordController.php index 1cf6bd8390..1a30b455d9 100644 --- a/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/StopWordController.php +++ b/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/StopWordController.php @@ -66,7 +66,7 @@ public function delete(Request $request): JsonResponse $stopWords = new StopWords($this->configuration); if (!Token::getInstance($this->container->get('session'))->verifyToken('stopwords', $data->csrf)) { - return $this->json(['error' => Translation::get('err_NotAuth')], Response::HTTP_UNAUTHORIZED); + return $this->json(['error' => Translation::get('msgNoPermission')], Response::HTTP_UNAUTHORIZED); } if (null != $stopWordId && Language::isASupportedLanguage($stopWordsLang)) { @@ -95,7 +95,7 @@ public function save(Request $request): JsonResponse $stopWords = new StopWords($this->configuration); if (!Token::getInstance($this->container->get('session'))->verifyToken('stopwords', $data->csrf)) { - return $this->json(['error' => Translation::get('err_NotAuth')], Response::HTTP_UNAUTHORIZED); + return $this->json(['error' => Translation::get('msgNoPermission')], Response::HTTP_UNAUTHORIZED); } if (null != $stopWord && Language::isASupportedLanguage($stopWordsLang)) { diff --git a/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/TagController.php b/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/TagController.php index a29cfbce1c..d71db00918 100644 --- a/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/TagController.php +++ b/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/TagController.php @@ -47,7 +47,7 @@ public function update(Request $request): JsonResponse $postData = json_decode($request->getContent()); if (!Token::getInstance($this->container->get('session'))->verifyToken('tags', $postData->csrf)) { - return $this->json(['error' => Translation::get('err_NotAuth')], Response::HTTP_UNAUTHORIZED); + return $this->json(['error' => Translation::get('msgNoPermission')], Response::HTTP_UNAUTHORIZED); } $id = Filter::filterVar($postData->id, FILTER_VALIDATE_INT); @@ -60,7 +60,7 @@ public function update(Request $request): JsonResponse if ($tags->update($tagEntity)) { return $this->json(['updated' => Translation::get('ad_entryins_suc')], Response::HTTP_OK); } else { - return $this->json(['error' => Translation::get('ad_entryins_fail')], Response::HTTP_BAD_REQUEST); + return $this->json(['error' => Translation::get('msgErrorOccurred')], Response::HTTP_BAD_REQUEST); } } diff --git a/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/UserController.php b/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/UserController.php index 997a4f3936..0bf2308989 100644 --- a/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/UserController.php +++ b/phpmyfaq/src/phpMyFAQ/Controller/Administration/Api/UserController.php @@ -193,7 +193,7 @@ public function activate(Request $request): JsonResponse $data = json_decode($request->getContent()); if (!Token::getInstance($this->container->get('session'))->verifyToken('activate-user', $data->csrfToken)) { - return $this->json(['error' => Translation::get('err_NotAuth')], Response::HTTP_UNAUTHORIZED); + return $this->json(['error' => Translation::get('msgNoPermission')], Response::HTTP_UNAUTHORIZED); } $userId = Filter::filterVar($data->userId, FILTER_VALIDATE_INT); @@ -229,7 +229,7 @@ public function overwritePassword(Request $request): JsonResponse $retypedPassword = Filter::filterVar($data->passwordRepeat, FILTER_SANITIZE_SPECIAL_CHARS); if (!Token::getInstance($this->container->get('session'))->verifyToken('overwrite-password', $csrfToken)) { - return $this->json(['error' => Translation::get('err_NotAuth')], Response::HTTP_UNAUTHORIZED); + return $this->json(['error' => Translation::get('msgNoPermission')], Response::HTTP_UNAUTHORIZED); } if (strlen((string) $newPassword) <= 7 || strlen((string) $retypedPassword) <= 7) { @@ -263,7 +263,7 @@ public function deleteUser(Request $request): JsonResponse $data = json_decode($request->getContent()); if (!Token::getInstance($this->container->get('session'))->verifyToken('delete-user', $data->csrfToken)) { - return $this->json(['error' => Translation::get('err_NotAuth')], Response::HTTP_UNAUTHORIZED); + return $this->json(['error' => Translation::get('msgNoPermission')], Response::HTTP_UNAUTHORIZED); } $userId = Filter::filterVar($data->userId, FILTER_VALIDATE_INT); @@ -301,7 +301,7 @@ public function addUser(Request $request): JsonResponse $data = json_decode($request->getContent()); if (!Token::getInstance($this->container->get('session'))->verifyToken('add-user', $data->csrf)) { - return $this->json(['error' => Translation::get('err_NotAuth')], Response::HTTP_UNAUTHORIZED); + return $this->json(['error' => Translation::get('msgNoPermission')], Response::HTTP_UNAUTHORIZED); } $errorMessage = []; @@ -369,7 +369,7 @@ public function editUser(Request $request): JsonResponse $data = json_decode($request->getContent()); if (!Token::getInstance($this->container->get('session'))->verifyToken('update-user-data', $data->csrfToken)) { - return $this->json(['error' => Translation::get('err_NotAuth')], Response::HTTP_UNAUTHORIZED); + return $this->json(['error' => Translation::get('msgNoPermission')], Response::HTTP_UNAUTHORIZED); } $userId = Filter::filterVar($data->userId, FILTER_VALIDATE_INT, 0); @@ -434,7 +434,7 @@ public function updateUserRights(Request $request): JsonResponse !Token::getInstance($this->container->get('session')) ->verifyToken('update-user-rights', $data->csrfToken) ) { - return $this->json(['error' => Translation::get('err_NotAuth')], Response::HTTP_UNAUTHORIZED); + return $this->json(['error' => Translation::get('msgNoPermission')], Response::HTTP_UNAUTHORIZED); } $userId = Filter::filterVar($data->userId, FILTER_VALIDATE_INT, 0); diff --git a/phpmyfaq/src/phpMyFAQ/Controller/Frontend/UserController.php b/phpmyfaq/src/phpMyFAQ/Controller/Frontend/UserController.php index 8affafaf4b..70a20aace1 100644 --- a/phpmyfaq/src/phpMyFAQ/Controller/Frontend/UserController.php +++ b/phpmyfaq/src/phpMyFAQ/Controller/Frontend/UserController.php @@ -219,7 +219,7 @@ public function removeTwofactorConfig(Request $request): JsonResponse Response::HTTP_OK ); } else { - return $this->json(['error' => Translation::get('ad_entryins_fail')], Response::HTTP_BAD_REQUEST); + return $this->json(['error' => Translation::get('msgErrorOccurred')], Response::HTTP_BAD_REQUEST); } } else { throw new Exception('The user is not logged in.'); diff --git a/phpmyfaq/translations/language_ar.php b/phpmyfaq/translations/language_ar.php index 0fb07f722d..dba458a401 100644 --- a/phpmyfaq/translations/language_ar.php +++ b/phpmyfaq/translations/language_ar.php @@ -311,7 +311,7 @@ $PMF_LANG['ad_att_att'] = 'الملف'; $PMF_LANG['ad_att_add'] = 'إرفاق ملف'; $PMF_LANG['ad_entryins_suc'] = 'تم حفظ السؤال بنجاح .'; -$PMF_LANG['ad_entryins_fail'] = 'حصل خطأ ما !'; +$PMF_LANG['msgErrorOccurred'] = 'حصل خطأ ما !'; $PMF_LANG['ad_att_del'] = 'حذف'; $PMF_LANG['ad_att_nope'] = 'يمكن وضع مرفقات أثناء تحرير السؤال'; $PMF_LANG['ad_att_delsuc'] = 'تم حذف الملف المرفق بنجاح .'; @@ -375,7 +375,7 @@ $PMF_LANG['ad_categ_cut'] = 'قص'; $PMF_LANG['msgCopy'] = 'نسخ'; $PMF_LANG['ad_categ_process'] = 'تتم الآن عملية معالجة التصنيفات ...'; -$PMF_LANG['err_NotAuth'] = 'ليس لديــــــــك صلاحيــــــــــة'; +$PMF_LANG['msgNoPermission'] = 'ليس لديــــــــك صلاحيــــــــــة'; $PMF_LANG['msgPreviusPage'] = 'الصفحات السابقة'; $PMF_LANG['msgNextPage'] = 'الصفحات التالية'; $PMF_LANG['msgPageDoublePoint'] = 'الصفحة: '; diff --git a/phpmyfaq/translations/language_bn.php b/phpmyfaq/translations/language_bn.php index 46ae184f0c..64d12be9e7 100644 --- a/phpmyfaq/translations/language_bn.php +++ b/phpmyfaq/translations/language_bn.php @@ -370,7 +370,7 @@ $PMF_LANG["ad_att_att"] = "Attachments"; $PMF_LANG["ad_att_add"] = "Attach file"; $PMF_LANG["ad_entryins_suc"] = "Record successfully saved."; -$PMF_LANG["ad_entryins_fail"] = "An error occurred."; +$PMF_LANG["msgErrorOccurred"] = "An error occurred."; $PMF_LANG["ad_att_del"] = "Delete"; $PMF_LANG["ad_att_nope"] = "Attachments can be added only while editing."; $PMF_LANG["ad_att_delsuc"] = "The attachment has been deleted successfully."; @@ -460,7 +460,7 @@ $PMF_LANG["ad_categ_process"] = "Processing categories..."; // Added v1.1.4 - 07.05.2002 - Thorsten -$PMF_LANG["err_NotAuth"] = "আপনার অনুমতি নেই।"; +$PMF_LANG["msgNoPermission"] = "আপনার অনুমতি নেই।"; // Added v1.2.3 - 29.11.2002 - Thorsten $PMF_LANG["msgPreviusPage"] = "আগের পাতা"; diff --git a/phpmyfaq/translations/language_bs.php b/phpmyfaq/translations/language_bs.php index 367c78c3f3..9f4bd5731a 100644 --- a/phpmyfaq/translations/language_bs.php +++ b/phpmyfaq/translations/language_bs.php @@ -370,7 +370,7 @@ $PMF_LANG["ad_att_att"] = "Fajlovi (attachments)"; $PMF_LANG["ad_att_add"] = "Zakači (attach) fajl"; $PMF_LANG["ad_entryins_suc"] = "Unos uspešno snimljen."; -$PMF_LANG["ad_entryins_fail"] = "Desila se greška."; +$PMF_LANG["msgErrorOccurred"] = "Desila se greška."; $PMF_LANG["ad_att_del"] = "Obriši"; $PMF_LANG["ad_att_nope"] = "Fajlovi mogu biti dodani samo kada se menja unos."; $PMF_LANG["ad_att_delsuc"] = "Fajl je uspešno obrisan."; @@ -460,7 +460,7 @@ $PMF_LANG["ad_categ_process"] = "Procesiram kategorije..."; // Added v1.1.4 - 07.05.2002 - Thorsten -$PMF_LANG["err_NotAuth"] = "Niste autorizovani."; +$PMF_LANG["msgNoPermission"] = "Niste autorizovani."; // Added v1.2.3 - 29.11.2002 - Thorsten $PMF_LANG["msgPreviusPage"] = "prethodna strana"; diff --git a/phpmyfaq/translations/language_cs.php b/phpmyfaq/translations/language_cs.php index 0a3cc427a9..7e4ecdfa4c 100644 --- a/phpmyfaq/translations/language_cs.php +++ b/phpmyfaq/translations/language_cs.php @@ -314,7 +314,7 @@ $PMF_LANG['ad_att_att'] = 'Soubor'; $PMF_LANG['ad_att_add'] = 'Přiložit soubor'; $PMF_LANG['ad_entryins_suc'] = 'Záznam byl úspěšně uložen.'; -$PMF_LANG['ad_entryins_fail'] = 'Došlo k chybě.'; +$PMF_LANG['msgErrorOccurred'] = 'Došlo k chybě.'; $PMF_LANG['ad_att_del'] = 'Smazat'; $PMF_LANG['ad_att_nope'] = 'Přílohy mohou být vkládány jen při editování.'; $PMF_LANG['ad_att_delsuc'] = 'Příloha byla úspěšně smazána.'; @@ -378,7 +378,7 @@ $PMF_LANG['ad_categ_cut'] = 'vyjmout'; $PMF_LANG['msgCopy'] = 'kopírovat'; $PMF_LANG['ad_categ_process'] = 'Zpracovávám kategorie...'; -$PMF_LANG['err_NotAuth'] = 'Přístup zamítnut.'; +$PMF_LANG['msgNoPermission'] = 'Přístup zamítnut.'; $PMF_LANG['msgPreviusPage'] = 'předchozí strana'; $PMF_LANG['msgNextPage'] = 'další strana'; $PMF_LANG['msgPageDoublePoint'] = 'Strana: '; diff --git a/phpmyfaq/translations/language_cy.php b/phpmyfaq/translations/language_cy.php index 6bdc7211d5..dcf962c551 100644 --- a/phpmyfaq/translations/language_cy.php +++ b/phpmyfaq/translations/language_cy.php @@ -369,7 +369,7 @@ $PMF_LANG["ad_att_att"] = "Atodiadau"; $PMF_LANG["ad_att_add"] = "Atodi ffeil"; $PMF_LANG["ad_entryins_suc"] = "Cadwyd y cofnod yn llwyddiannus."; -$PMF_LANG["ad_entryins_fail"] = "Gwall."; +$PMF_LANG["msgErrorOccurred"] = "Gwall."; $PMF_LANG["ad_att_del"] = "Dileu"; $PMF_LANG["ad_att_nope"] = "Gellir ychwanegu atodiadau wrth olygu yn unig."; $PMF_LANG["ad_att_delsuc"] = "Dilëwyd yr atodiad yn llwyddiannus."; @@ -458,7 +458,7 @@ $PMF_LANG["ad_categ_process"] = "Prosesu categorïau..."; // Added v1.1.4 - 07.05.2002 - Thorsten -$PMF_LANG["err_NotAuth"] = "Nid oes caniatâd gennych."; +$PMF_LANG["msgNoPermission"] = "Nid oes caniatâd gennych."; // Added v1.2.3 - 29.11.2002 - Thorsten $PMF_LANG["msgPreviusPage"] = "tudalen blaenorol"; diff --git a/phpmyfaq/translations/language_da.php b/phpmyfaq/translations/language_da.php index 350911d040..daf5b57828 100644 --- a/phpmyfaq/translations/language_da.php +++ b/phpmyfaq/translations/language_da.php @@ -313,7 +313,7 @@ $PMF_LANG['ad_att_att'] = 'Fil'; $PMF_LANG['ad_att_add'] = 'Vedhæft fil'; $PMF_LANG['ad_entryins_suc'] = 'Indlæg gemt.'; -$PMF_LANG['ad_entryins_fail'] = 'En fejl opstod.'; +$PMF_LANG['msgErrorOccurred'] = 'En fejl opstod.'; $PMF_LANG['ad_att_del'] = 'Slet'; $PMF_LANG['ad_att_nope'] = 'Vedhæftninger kan kun tilføjes imens man retter.'; $PMF_LANG['ad_att_delsuc'] = 'Vedhæftningen er slettet.'; @@ -377,7 +377,7 @@ $PMF_LANG['ad_categ_cut'] = 'klip'; $PMF_LANG['msgCopy'] = 'kopier'; $PMF_LANG['ad_categ_process'] = 'Bearbejder kategorier...'; -$PMF_LANG['err_NotAuth'] = 'Du har ikke rettigheder.'; +$PMF_LANG['msgNoPermission'] = 'Du har ikke rettigheder.'; $PMF_LANG['msgPreviusPage'] = 'forrige side'; $PMF_LANG['msgNextPage'] = 'næste side'; $PMF_LANG['msgPageDoublePoint'] = 'Side: '; diff --git a/phpmyfaq/translations/language_de.php b/phpmyfaq/translations/language_de.php index c1b1498276..bced8afcfd 100755 --- a/phpmyfaq/translations/language_de.php +++ b/phpmyfaq/translations/language_de.php @@ -364,7 +364,7 @@ $PMF_LANG['ad_att_none'] = "Keine Anhänge vorhanden"; $PMF_LANG['ad_att_add'] = "Neuen Anhang hinzufügen"; $PMF_LANG['ad_entryins_suc'] = "Eintrag erfolgreich erstellt."; -$PMF_LANG['ad_entryins_fail'] = "Leider ist ein Fehler aufgetreten."; +$PMF_LANG['msgErrorOccurred'] = "Leider ist ein Fehler aufgetreten."; $PMF_LANG['ad_att_del'] = "Löschen"; $PMF_LANG['ad_att_nope'] = "Anhänge sind erst beim Bearbeiten möglich."; $PMF_LANG['ad_att_delsuc'] = "Der Anhang wurde erfolgreich gelöscht."; @@ -452,7 +452,7 @@ $PMF_LANG['ad_categ_process'] = "Bearbeite Kategorien..."; // Added v1.1.4 - 07.05.2002 - Thorsten -$PMF_LANG['err_NotAuth'] = "Sie haben keine ausreichende Berechtigung hierfür."; +$PMF_LANG['msgNoPermission'] = "Sie haben keine ausreichende Berechtigung hierfür."; // Added v1.2.3 - 29.11.2002 - Thorsten $PMF_LANG['msgPreviusPage'] = "vorherige Seite"; diff --git a/phpmyfaq/translations/language_el.php b/phpmyfaq/translations/language_el.php index 17ab7f5b2a..a630e1857b 100644 --- a/phpmyfaq/translations/language_el.php +++ b/phpmyfaq/translations/language_el.php @@ -314,7 +314,7 @@ $PMF_LANG['ad_att_att'] = 'Αρχείο'; $PMF_LANG['ad_att_add'] = 'Επισύναψη αρχείου'; $PMF_LANG['ad_entryins_suc'] = 'Η καταχώρηση αποθηκεύτηκε.'; -$PMF_LANG['ad_entryins_fail'] = 'Σύνεβη ένα σφάλμα.'; +$PMF_LANG['msgErrorOccurred'] = 'Σύνεβη ένα σφάλμα.'; $PMF_LANG['ad_att_del'] = 'Διαγραφή'; $PMF_LANG['ad_att_nope'] = 'Επισυνάψεις μπορούν αν γίνουν μόνο κατά τη μεταβολή ενός άρθρου.'; $PMF_LANG['ad_att_delsuc'] = 'Το συνημμένο διεγράφη.'; @@ -378,7 +378,7 @@ $PMF_LANG['ad_categ_cut'] = 'αποκοπή'; $PMF_LANG['msgCopy'] = 'αντιγραφή'; $PMF_LANG['ad_categ_process'] = 'Επεξεργασία κατηγοριών...'; -$PMF_LANG['err_NotAuth'] = 'Άρνηση πρόσβασης.'; +$PMF_LANG['msgNoPermission'] = 'Άρνηση πρόσβασης.'; $PMF_LANG['msgPreviusPage'] = 'προηγούμενη σελίδα'; $PMF_LANG['msgNextPage'] = 'επόμενη σελίδα'; $PMF_LANG['msgPageDoublePoint'] = 'Σελίδα: '; diff --git a/phpmyfaq/translations/language_en.php b/phpmyfaq/translations/language_en.php index ec9ef39d4a..8da733bd7e 100644 --- a/phpmyfaq/translations/language_en.php +++ b/phpmyfaq/translations/language_en.php @@ -365,7 +365,7 @@ $PMF_LANG["ad_att_none"] = "No attachments available"; $PMF_LANG["ad_att_add"] = "Add new attachment"; $PMF_LANG["ad_entryins_suc"] = "Record successfully saved."; -$PMF_LANG["ad_entryins_fail"] = "An error occurred."; +$PMF_LANG["msgErrorOccurred"] = "An error occurred."; $PMF_LANG["ad_att_del"] = "Delete"; $PMF_LANG["ad_att_nope"] = "Attachments can be added only while editing."; $PMF_LANG["ad_att_delsuc"] = "The attachment has been deleted successfully."; @@ -453,7 +453,7 @@ $PMF_LANG["ad_categ_process"] = "Processing categories..."; // Added v1.1.4 - 07.05.2002 - Thorsten -$PMF_LANG["err_NotAuth"] = "You are not authorized."; +$PMF_LANG["msgNoPermission"] = "You are not authorized."; // Added v1.2.3 - 29.11.2002 - Thorsten $PMF_LANG["msgPreviusPage"] = "previous page"; diff --git a/phpmyfaq/translations/language_es.php b/phpmyfaq/translations/language_es.php index 56a0ef78bb..40c9315c30 100644 --- a/phpmyfaq/translations/language_es.php +++ b/phpmyfaq/translations/language_es.php @@ -366,7 +366,7 @@ $PMF_LANG['ad_att_none'] = 'No hay archivos adjuntos disponibles'; $PMF_LANG['ad_att_add'] = 'Adjuntar archivo'; $PMF_LANG['ad_entryins_suc'] = 'Registro guardado con éxito.'; -$PMF_LANG['ad_entryins_fail'] = 'Ha ocurrido un error.'; +$PMF_LANG['msgErrorOccurred'] = 'Ha ocurrido un error.'; $PMF_LANG['ad_att_del'] = 'Eliminar'; $PMF_LANG['ad_att_nope'] = 'Los archivos adjuntos sólo puden añadirse durante la edición.'; $PMF_LANG['ad_att_delsuc'] = 'Adjunto eliminado correctamente.'; @@ -454,7 +454,7 @@ $PMF_LANG['ad_categ_process'] = 'Procesando categorías...'; // Añadido v1.1.4 - 07.05.2002 - Thorsten -$PMF_LANG['err_NotAuth'] = 'No tienes autorización.'; +$PMF_LANG['msgNoPermission'] = 'No tienes autorización.'; // Añadido v1.2.3 - 29.11.2002 - Thorsten $PMF_LANG['msgPreviusPage'] = 'página anterior'; diff --git a/phpmyfaq/translations/language_eu.php b/phpmyfaq/translations/language_eu.php index 9711ebec4f..47c607c986 100644 --- a/phpmyfaq/translations/language_eu.php +++ b/phpmyfaq/translations/language_eu.php @@ -374,7 +374,7 @@ $PMF_LANG["ad_att_att"] = "Fitxategi erantsiak"; $PMF_LANG["ad_att_add"] = "Fitxategia erantsi"; $PMF_LANG["ad_entryins_suc"] = "Erregistroa ondo gorde da."; -$PMF_LANG["ad_entryins_fail"] = "Akats bat egon da."; +$PMF_LANG["msgErrorOccurred"] = "Akats bat egon da."; $PMF_LANG["ad_att_del"] = "Ezabatu"; $PMF_LANG["ad_att_nope"] = "Eranskinak editatzean soilik dago erabilgarri."; $PMF_LANG["ad_att_delsuc"] = "Eranskina ondo ezabatu da."; @@ -464,7 +464,7 @@ $PMF_LANG["ad_categ_process"] = "Kategoriak prozesatzen..."; // Added v1.1.4 - 07.05.2002 - Thorsten -$PMF_LANG["err_NotAuth"] = "Ez duzu baimenik, barkatu eragozpenak."; +$PMF_LANG["msgNoPermission"] = "Ez duzu baimenik, barkatu eragozpenak."; // Added v1.2.3 - 29.11.2002 - Thorsten $PMF_LANG["msgPreviusPage"] = "aurreko orria"; diff --git a/phpmyfaq/translations/language_fa.php b/phpmyfaq/translations/language_fa.php index 5996fae3b4..e90ee5c7b9 100644 --- a/phpmyfaq/translations/language_fa.php +++ b/phpmyfaq/translations/language_fa.php @@ -315,7 +315,7 @@ $PMF_LANG['ad_att_att'] = 'فایل'; $PMF_LANG['ad_att_add'] = 'الصاق فایل'; $PMF_LANG['ad_entryins_suc'] = 'مطلب با موفقیت ثبت شد.'; -$PMF_LANG['ad_entryins_fail'] = 'اشکالی به وجود آمد.'; +$PMF_LANG['msgErrorOccurred'] = 'اشکالی به وجود آمد.'; $PMF_LANG['ad_att_del'] = 'پاک کن'; $PMF_LANG['ad_att_nope'] = 'الصاقیها فقط در زمان اصلاح میتوانند اضافه شوند.'; $PMF_LANG['ad_att_delsuc'] = 'الصاقی با موفقیت اضافه شد.'; @@ -379,7 +379,7 @@ $PMF_LANG['ad_categ_cut'] = 'برش'; $PMF_LANG['msgCopy'] = 'رونوشت'; $PMF_LANG['ad_categ_process'] = 'پردازش موضوعات...'; -$PMF_LANG['err_NotAuth'] = 'شما شناسایی نشدید.'; +$PMF_LANG['msgNoPermission'] = 'شما شناسایی نشدید.'; $PMF_LANG['msgPreviusPage'] = 'صفحه قبل'; $PMF_LANG['msgNextPage'] = 'صفحه بعد'; $PMF_LANG['msgPageDoublePoint'] = 'صفحه: '; diff --git a/phpmyfaq/translations/language_fi.php b/phpmyfaq/translations/language_fi.php index 220f954fc7..394cbe6dcc 100644 --- a/phpmyfaq/translations/language_fi.php +++ b/phpmyfaq/translations/language_fi.php @@ -316,7 +316,7 @@ $PMF_LANG['ad_att_att'] = 'Tiedosto:'; $PMF_LANG['ad_att_add'] = 'Liitä tiedosto'; $PMF_LANG['ad_entryins_suc'] = 'Tietueen tallentaminen onnistui.'; -$PMF_LANG['ad_entryins_fail'] = 'Tapahtui virhe.'; +$PMF_LANG['msgErrorOccurred'] = 'Tapahtui virhe.'; $PMF_LANG['ad_att_del'] = 'Poista'; $PMF_LANG['ad_att_nope'] = 'Liitteitä voi lisätä vain muokatessa.'; $PMF_LANG['ad_att_delsuc'] = 'Liitteen poistaminen onnistui.'; @@ -380,7 +380,7 @@ $PMF_LANG['ad_categ_cut'] = 'leikkaa'; $PMF_LANG['msgCopy'] = 'kopioi'; $PMF_LANG['ad_categ_process'] = 'Kategorioita käsitellään...'; -$PMF_LANG['err_NotAuth'] = 'Et ole oikeutettu.'; +$PMF_LANG['msgNoPermission'] = 'Et ole oikeutettu.'; $PMF_LANG['msgPreviusPage'] = 'edellinen sivu'; $PMF_LANG['msgNextPage'] = 'seuraava sivu'; $PMF_LANG['msgPageDoublePoint'] = 'Sivu: '; diff --git a/phpmyfaq/translations/language_fr-ca.php b/phpmyfaq/translations/language_fr-ca.php index 04cf07f9dd..613ed271db 100644 --- a/phpmyfaq/translations/language_fr-ca.php +++ b/phpmyfaq/translations/language_fr-ca.php @@ -313,7 +313,7 @@ $PMF_LANG['ad_att_att'] = 'Fichier :'; $PMF_LANG['ad_att_add'] = 'Attacher un fichier'; $PMF_LANG['ad_entryins_suc'] = 'Article engregistré.'; -$PMF_LANG['ad_entryins_fail'] = 'Une erreur est survenue.'; +$PMF_LANG['msgErrorOccurred'] = 'Une erreur est survenue.'; $PMF_LANG['ad_att_del'] = 'Supprimer'; $PMF_LANG['ad_att_nope'] = 'Les fichiers attachés ne peuvent être ajoutés qu\'en édition.'; $PMF_LANG['ad_att_delsuc'] = 'Le fichier attaché a été supprimé.'; @@ -377,7 +377,7 @@ $PMF_LANG['ad_categ_cut'] = 'couper'; $PMF_LANG['msgCopy'] = 'copier'; $PMF_LANG['ad_categ_process'] = 'Traitement des catégories...'; -$PMF_LANG['err_NotAuth'] = 'Vous n\'êtes pas autorisé.'; +$PMF_LANG['msgNoPermission'] = 'Vous n\'êtes pas autorisé.'; $PMF_LANG['msgPreviusPage'] = 'page précédente'; $PMF_LANG['msgNextPage'] = 'page suivante'; $PMF_LANG['msgPageDoublePoint'] = 'Page : '; diff --git a/phpmyfaq/translations/language_fr.php b/phpmyfaq/translations/language_fr.php index 2aa246f30c..309f9cf018 100644 --- a/phpmyfaq/translations/language_fr.php +++ b/phpmyfaq/translations/language_fr.php @@ -366,7 +366,7 @@ $PMF_LANG["ad_att_none"] = "Pas de pièce-jointe"; $PMF_LANG["ad_att_add"] = "Joindre un fichier"; $PMF_LANG["ad_entryins_suc"] = "FAQ enregistrée."; -$PMF_LANG["ad_entryins_fail"] = "Une erreur est survenue."; +$PMF_LANG["msgErrorOccurred"] = "Une erreur est survenue."; $PMF_LANG["ad_att_del"] = "Supprimer"; $PMF_LANG["ad_att_nope"] = "Les pièces-jointes ne peuvent être ajoutées qu'en édition."; $PMF_LANG["ad_att_delsuc"] = "La pièce-jointe a été supprimée."; @@ -454,7 +454,7 @@ $PMF_LANG["ad_categ_process"] = "Traitement des catégories..."; // Added v1.1.4 - 07.05.2002 - Thorsten -$PMF_LANG["err_NotAuth"] = "Vous n'êtes pas autorisé."; +$PMF_LANG["msgNoPermission"] = "Vous n'êtes pas autorisé."; // Added v1.2.3 - 29.11.2002 - Thorsten $PMF_LANG["msgPreviusPage"] = "Page précédente"; diff --git a/phpmyfaq/translations/language_he.php b/phpmyfaq/translations/language_he.php index 3c2e45def4..0a9716f85b 100644 --- a/phpmyfaq/translations/language_he.php +++ b/phpmyfaq/translations/language_he.php @@ -315,7 +315,7 @@ $PMF_LANG['ad_att_att'] = 'קובץ'; $PMF_LANG['ad_att_add'] = 'צרף קובץ'; $PMF_LANG['ad_entryins_suc'] = 'הערך נשמר בהצלחה.'; -$PMF_LANG['ad_entryins_fail'] = 'התרחשה שגיאה.'; +$PMF_LANG['msgErrorOccurred'] = 'התרחשה שגיאה.'; $PMF_LANG['ad_att_del'] = 'מחק'; $PMF_LANG['ad_att_nope'] = 'קבצים מצורפים יכולים להשמר רק בזמן העריכה.'; $PMF_LANG['ad_att_delsuc'] = 'הקובץ המצורף נמחק בהצלחה.'; @@ -379,7 +379,7 @@ $PMF_LANG['ad_categ_cut'] = 'חתוך'; $PMF_LANG['msgCopy'] = 'העתק'; $PMF_LANG['ad_categ_process'] = 'מעבד קטגוריות...'; -$PMF_LANG['err_NotAuth'] = 'אינך מורשה.'; +$PMF_LANG['msgNoPermission'] = 'אינך מורשה.'; $PMF_LANG['msgPreviusPage'] = 'עמוד קודם'; $PMF_LANG['msgNextPage'] = 'עמוד הבא'; $PMF_LANG['msgPageDoublePoint'] = 'עמוד: '; diff --git a/phpmyfaq/translations/language_hi.php b/phpmyfaq/translations/language_hi.php index f8f9f266c2..a33cae4cb7 100644 --- a/phpmyfaq/translations/language_hi.php +++ b/phpmyfaq/translations/language_hi.php @@ -370,7 +370,7 @@ $PMF_LANG["ad_att_att"] = "जुडी हुई फाइलें"; $PMF_LANG["ad_att_add"] = "फाइल जोडें"; $PMF_LANG["ad_entryins_suc"] = "रिकॉर्ड सफलतापूर्वक लजोया गया है."; -$PMF_LANG["ad_entryins_fail"] = "क्षमा करें, कोई खरीबी हो गयी है."; +$PMF_LANG["msgErrorOccurred"] = "क्षमा करें, कोई खरीबी हो गयी है."; $PMF_LANG["ad_att_del"] = "मिटा दें"; $PMF_LANG["ad_att_nope"] = "फाइलें केवल सम्पादन के समय ही जोड़ी जा सकती हैं."; $PMF_LANG["ad_att_delsuc"] = "जुडी हुई फाइल मिटा दी गयी है."; @@ -461,7 +461,7 @@ $PMF_LANG["ad_categ_process"] = "वर्ग संसाधित हो रहा है..."; // Added v1.1.4 - 07.05.2002 - Thorsten -$PMF_LANG["err_NotAuth"] = "आपके पास अधिकार नहीं है."; +$PMF_LANG["msgNoPermission"] = "आपके पास अधिकार नहीं है."; // Added v1.2.3 - 29.11.2002 - Thorsten $PMF_LANG["msgPreviusPage"] = "पिछला पृष्ठ"; diff --git a/phpmyfaq/translations/language_hu.php b/phpmyfaq/translations/language_hu.php index 075f50c06a..867a80ccf8 100644 --- a/phpmyfaq/translations/language_hu.php +++ b/phpmyfaq/translations/language_hu.php @@ -314,7 +314,7 @@ $PMF_LANG['ad_att_att'] = 'Fájl'; $PMF_LANG['ad_att_add'] = 'Fájl csatolása'; $PMF_LANG['ad_entryins_suc'] = 'Bejegyzése tárolva.'; -$PMF_LANG['ad_entryins_fail'] = 'Hiba történt.'; +$PMF_LANG['msgErrorOccurred'] = 'Hiba történt.'; $PMF_LANG['ad_att_del'] = 'Törlés'; $PMF_LANG['ad_att_nope'] = 'Csatolt fájlokat csak szerkesztés közben lehet hozzáadni.'; $PMF_LANG['ad_att_delsuc'] = 'Csatolt fájl törölve.'; @@ -378,7 +378,7 @@ $PMF_LANG['ad_categ_cut'] = 'kivágás'; $PMF_LANG['msgCopy'] = 'másolás'; $PMF_LANG['ad_categ_process'] = 'Kategóriák feldolgozása...'; -$PMF_LANG['err_NotAuth'] = 'Nem vagy bejelentkezve.'; +$PMF_LANG['msgNoPermission'] = 'Nem vagy bejelentkezve.'; $PMF_LANG['msgPreviusPage'] = 'előző oldal'; $PMF_LANG['msgNextPage'] = 'következő oldal'; $PMF_LANG['msgPageDoublePoint'] = 'Oldal: '; diff --git a/phpmyfaq/translations/language_id.php b/phpmyfaq/translations/language_id.php index bc9a8ae5d0..c04c272281 100644 --- a/phpmyfaq/translations/language_id.php +++ b/phpmyfaq/translations/language_id.php @@ -371,7 +371,7 @@ $PMF_LANG["ad_att_att"] = "Lampiran"; $PMF_LANG["ad_att_add"] = "Lampirkan berkas"; $PMF_LANG["ad_entryins_suc"] = "Data berhasil disimpan."; -$PMF_LANG["ad_entryins_fail"] = "Terjadi kesalahan."; +$PMF_LANG["msgErrorOccurred"] = "Terjadi kesalahan."; $PMF_LANG["ad_att_del"] = "Hapus"; $PMF_LANG["ad_att_nope"] = "Lampiran hanya bisa dimasukkan saat mengedit materi."; $PMF_LANG["ad_att_delsuc"] = "Lampiran berhasil dihapus."; @@ -461,7 +461,7 @@ $PMF_LANG["ad_categ_process"] = "Memproses kategori..."; // Added v1.1.4 - 07.05.2002 - Thorsten -$PMF_LANG["err_NotAuth"] = "Anda tidak memiliki kewenangan."; +$PMF_LANG["msgNoPermission"] = "Anda tidak memiliki kewenangan."; // Added v1.2.3 - 29.11.2002 - Thorsten $PMF_LANG["msgPreviusPage"] = "halaman sebelumnya"; diff --git a/phpmyfaq/translations/language_it.php b/phpmyfaq/translations/language_it.php index 9ee8f47875..b5ec17786c 100644 --- a/phpmyfaq/translations/language_it.php +++ b/phpmyfaq/translations/language_it.php @@ -317,7 +317,7 @@ $PMF_LANG['ad_att_att'] = 'File'; $PMF_LANG['ad_att_add'] = 'Allega file'; $PMF_LANG['ad_entryins_suc'] = 'FAQ salvata con successo.'; -$PMF_LANG['ad_entryins_fail'] = 'FAQ non salvata: si è verificato un errore.'; +$PMF_LANG['msgErrorOccurred'] = 'FAQ non salvata: si è verificato un errore.'; $PMF_LANG['ad_att_del'] = 'Cancella'; $PMF_LANG['ad_att_nope'] = 'Si possono aggiungere allegati solo durante la modifica.'; $PMF_LANG['ad_att_delsuc'] = 'L\'allegato è stato cancellato con successo.'; @@ -381,7 +381,7 @@ $PMF_LANG['ad_categ_cut'] = 'Taglia'; $PMF_LANG['msgCopy'] = 'Copia'; $PMF_LANG['ad_categ_process'] = 'Sto processando le categorie...'; -$PMF_LANG['err_NotAuth'] = 'Non sei autorizzato.'; +$PMF_LANG['msgNoPermission'] = 'Non sei autorizzato.'; $PMF_LANG['msgPreviusPage'] = 'Pagina precedente'; $PMF_LANG['msgNextPage'] = 'Pagina successiva'; $PMF_LANG['msgPageDoublePoint'] = 'Pagina: '; diff --git a/phpmyfaq/translations/language_ja.php b/phpmyfaq/translations/language_ja.php index e16a9db09d..20aaae916d 100644 --- a/phpmyfaq/translations/language_ja.php +++ b/phpmyfaq/translations/language_ja.php @@ -313,7 +313,7 @@ $PMF_LANG['ad_att_att'] = 'ファイル:'; $PMF_LANG['ad_att_add'] = '添付ファイル'; $PMF_LANG['ad_entryins_suc'] = '保存に成功しました。'; -$PMF_LANG['ad_entryins_fail'] = 'エラーが発生しました。'; +$PMF_LANG['msgErrorOccurred'] = 'エラーが発生しました。'; $PMF_LANG['ad_att_del'] = '削除'; $PMF_LANG['ad_att_nope'] = '添付ファイルは内容の変更中にのみ追加できます。'; $PMF_LANG['ad_att_delsuc'] = '添付ファイルの削除に成功しました。'; @@ -377,7 +377,7 @@ $PMF_LANG['ad_categ_cut'] = '切り取り'; $PMF_LANG['msgCopy'] = 'コピー'; $PMF_LANG['ad_categ_process'] = 'カテゴリー処理中...'; -$PMF_LANG['err_NotAuth'] = '使用権限がありません。'; +$PMF_LANG['msgNoPermission'] = '使用権限がありません。'; $PMF_LANG['msgPreviusPage'] = '前のページ'; $PMF_LANG['msgNextPage'] = '次のページ'; $PMF_LANG['msgPageDoublePoint'] = 'ページ: '; diff --git a/phpmyfaq/translations/language_ko.php b/phpmyfaq/translations/language_ko.php index 12c6041b6d..c8564eeba2 100644 --- a/phpmyfaq/translations/language_ko.php +++ b/phpmyfaq/translations/language_ko.php @@ -371,7 +371,7 @@ $PMF_LANG["ad_att_att"] = "첨부"; $PMF_LANG["ad_att_add"] = "첨부 파일"; $PMF_LANG["ad_entryins_suc"] = "성공적으로 저장되었습니다."; -$PMF_LANG["ad_entryins_fail"] = "에러가 발생하였습니다."; +$PMF_LANG["msgErrorOccurred"] = "에러가 발생하였습니다."; $PMF_LANG["ad_att_del"] = "삭제"; $PMF_LANG["ad_att_nope"] = "첨부파일은 내용 편집중에만 추가될 수 있습니다."; $PMF_LANG["ad_att_delsuc"] = "첨부파일을 성공적으로 삭제하였습니다."; @@ -461,7 +461,7 @@ $PMF_LANG["ad_categ_process"] = "카테고리 처리중......"; // Added v1.1.4 - 07.05.2002 - Thorsten -$PMF_LANG["err_NotAuth"] = "사용 권한이 없습니다."; +$PMF_LANG["msgNoPermission"] = "사용 권한이 없습니다."; // Added v1.2.3 - 29.11.2002 - Thorsten $PMF_LANG["msgPreviusPage"] = "이전 페이지"; diff --git a/phpmyfaq/translations/language_lt.php b/phpmyfaq/translations/language_lt.php index a886f1982d..d3ebe9e6ba 100755 --- a/phpmyfaq/translations/language_lt.php +++ b/phpmyfaq/translations/language_lt.php @@ -370,7 +370,7 @@ $PMF_LANG["ad_att_att"] = "Priedai"; $PMF_LANG["ad_att_add"] = "Pridėti failą"; $PMF_LANG["ad_entryins_suc"] = "Įrašas sėkmingai išsaugotas."; -$PMF_LANG["ad_entryins_fail"] = "Įvyko klaida."; +$PMF_LANG["msgErrorOccurred"] = "Įvyko klaida."; $PMF_LANG["ad_att_del"] = "Šalinti"; $PMF_LANG["ad_att_nope"] = "Priedai gali būti pridėti tik kai redaguojama."; $PMF_LANG["ad_att_delsuc"] = "Priedas sėkmingai pašalintas."; @@ -460,7 +460,7 @@ $PMF_LANG["ad_categ_process"] = "Apdorojamos grupės..."; // Added v1.1.4 - 07.05.2002 - Thorsten -$PMF_LANG["err_NotAuth"] = "Jūs nesate sankcionuotas."; +$PMF_LANG["msgNoPermission"] = "Jūs nesate sankcionuotas."; // Added v1.2.3 - 29.11.2002 - Thorsten $PMF_LANG["msgPreviusPage"] = "ankstesnis tinklalapis"; diff --git a/phpmyfaq/translations/language_lv.php b/phpmyfaq/translations/language_lv.php index 020bcd74d8..7edad4cec6 100644 --- a/phpmyfaq/translations/language_lv.php +++ b/phpmyfaq/translations/language_lv.php @@ -371,7 +371,7 @@ $PMF_LANG["ad_att_att"] = "Pievienotie faili"; $PMF_LANG["ad_att_add"] = "Pievienot failu"; $PMF_LANG["ad_entryins_suc"] = "Ieraksts veiksmîgi saglabâts."; -$PMF_LANG["ad_entryins_fail"] = "Notikusi kïûda."; +$PMF_LANG["msgErrorOccurred"] = "Notikusi kïûda."; $PMF_LANG["ad_att_del"] = "Dzçst"; $PMF_LANG["ad_att_nope"] = "Failus var pievienot tikai modificçjot ierakstu."; $PMF_LANG["ad_att_delsuc"] = "Pievienotais fails veiksmîgi izdzçsts."; @@ -456,7 +456,7 @@ $PMF_LANG["ad_categ_process"] = "Sadaïu apstrâde..."; // Added v1.1.4 - 07.05.2002 - Thorsten -$PMF_LANG["err_NotAuth"] = "Neuatorizçta piekïuve."; +$PMF_LANG["msgNoPermission"] = "Neuatorizçta piekïuve."; // Added v1.2.3 - 29.11.2002 - Thorsten $PMF_LANG["msgPreviusPage"] = "«"; diff --git a/phpmyfaq/translations/language_mn.php b/phpmyfaq/translations/language_mn.php index 3987074631..1857236147 100644 --- a/phpmyfaq/translations/language_mn.php +++ b/phpmyfaq/translations/language_mn.php @@ -366,7 +366,7 @@ $PMF_LANG["ad_att_att"] = "Хавсралт:"; $PMF_LANG["ad_att_add"] = "Хавсралт нэмэх"; $PMF_LANG["ad_entryins_suc"] = "Бичлэг амжилттай хадгалагдлаа."; -$PMF_LANG["ad_entryins_fail"] = "Алдаа илэрлээ."; +$PMF_LANG["msgErrorOccurred"] = "Алдаа илэрлээ."; $PMF_LANG["ad_att_del"] = "Устгах"; $PMF_LANG["ad_att_nope"] = "Attachments can be added only while editing."; $PMF_LANG["ad_att_delsuc"] = "Хавсралт устгагдлаа."; @@ -456,7 +456,7 @@ $PMF_LANG["ad_categ_process"] = "Ангилал боловсруулж байна..."; // Added v1.1.4 - 07.05.2002 - Thorsten -$PMF_LANG["err_NotAuth"] = "Та зөвшөөрөлгүй байна."; +$PMF_LANG["msgNoPermission"] = "Та зөвшөөрөлгүй байна."; // Added v1.2.3 - 29.11.2002 - Thorsten $PMF_LANG["msgPreviusPage"] = "өмнөх хуудас"; diff --git a/phpmyfaq/translations/language_ms.php b/phpmyfaq/translations/language_ms.php index 211c9d1223..807ce33579 100644 --- a/phpmyfaq/translations/language_ms.php +++ b/phpmyfaq/translations/language_ms.php @@ -313,7 +313,7 @@ $PMF_LANG['ad_att_att'] = 'Fail'; $PMF_LANG['ad_att_add'] = 'Lampirkan fail'; $PMF_LANG['ad_entryins_suc'] = 'Rekod berjaya disimpan'; -$PMF_LANG['ad_entryins_fail'] = 'Berlaku ralat.'; +$PMF_LANG['msgErrorOccurred'] = 'Berlaku ralat.'; $PMF_LANG['ad_att_del'] = 'Padam'; $PMF_LANG['ad_att_nope'] = 'Lampiran hanya boleh ditambah semasa mengedit.'; $PMF_LANG['ad_att_delsuc'] = 'Lampiran telah berjaya dipadam.'; @@ -377,7 +377,7 @@ $PMF_LANG['ad_categ_cut'] = 'potong'; $PMF_LANG['msgCopy'] = 'salin'; $PMF_LANG['ad_categ_process'] = 'Kategori diproses...'; -$PMF_LANG['err_NotAuth'] = 'Anda Tidak Dibenarkan.'; +$PMF_LANG['msgNoPermission'] = 'Anda Tidak Dibenarkan.'; $PMF_LANG['msgPreviusPage'] = 'laman sebelum'; $PMF_LANG['msgNextPage'] = 'laman berikutnya'; $PMF_LANG['msgPageDoublePoint'] = 'Laman: '; diff --git a/phpmyfaq/translations/language_nb.php b/phpmyfaq/translations/language_nb.php index f0402591b1..840856e63d 100644 --- a/phpmyfaq/translations/language_nb.php +++ b/phpmyfaq/translations/language_nb.php @@ -312,7 +312,7 @@ $PMF_LANG['ad_att_att'] = 'Fil'; $PMF_LANG['ad_att_add'] = 'Legg til vedlegg'; $PMF_LANG['ad_entryins_suc'] = 'Spørsmål/svar lagret.'; -$PMF_LANG['ad_entryins_fail'] = 'En feil oppstod.'; +$PMF_LANG['msgErrorOccurred'] = 'En feil oppstod.'; $PMF_LANG['ad_att_del'] = 'Slett'; $PMF_LANG['ad_att_nope'] = 'Vedlegg kan kun legges til i redigeringsmodus.'; $PMF_LANG['ad_att_delsuc'] = 'Vedlegget er slettet.'; @@ -376,7 +376,7 @@ $PMF_LANG['ad_categ_cut'] = 'klipp ut'; $PMF_LANG['msgCopy'] = 'kopier'; $PMF_LANG['ad_categ_process'] = 'Bearbeider kategorier...'; -$PMF_LANG['err_NotAuth'] = 'Du er ikke autorisert.'; +$PMF_LANG['msgNoPermission'] = 'Du er ikke autorisert.'; $PMF_LANG['msgPreviusPage'] = 'foregående side'; $PMF_LANG['msgNextPage'] = 'neste side'; $PMF_LANG['msgPageDoublePoint'] = 'Side: '; diff --git a/phpmyfaq/translations/language_nl.php b/phpmyfaq/translations/language_nl.php index 93f1f241f9..1b70d946e0 100644 --- a/phpmyfaq/translations/language_nl.php +++ b/phpmyfaq/translations/language_nl.php @@ -315,7 +315,7 @@ $PMF_LANG['ad_att_att'] = 'Bestand:'; $PMF_LANG['ad_att_add'] = 'Bijlage toevoegen'; $PMF_LANG['ad_entryins_suc'] = 'Vraag succesvol opgeslagen.'; -$PMF_LANG['ad_entryins_fail'] = 'Er is een fout opgetreden.'; +$PMF_LANG['msgErrorOccurred'] = 'Er is een fout opgetreden.'; $PMF_LANG['ad_att_del'] = 'Verwijderen'; $PMF_LANG['ad_att_nope'] = 'Bijlagen kunnen alleen tijdens het bewerken worden toegevoegd.'; $PMF_LANG['ad_att_delsuc'] = 'De bijlage is succesvol verwijderd.'; @@ -379,7 +379,7 @@ $PMF_LANG['ad_categ_cut'] = 'knippen'; $PMF_LANG['msgCopy'] = 'kopiëren'; $PMF_LANG['ad_categ_process'] = 'Verwerken categorieën...'; -$PMF_LANG['err_NotAuth'] = 'U bent niet gemachtigd.'; +$PMF_LANG['msgNoPermission'] = 'U bent niet gemachtigd.'; $PMF_LANG['msgPreviusPage'] = 'vorige pagina'; $PMF_LANG['msgNextPage'] = 'volgende pagina'; $PMF_LANG['msgPageDoublePoint'] = 'Pagina:'; diff --git a/phpmyfaq/translations/language_pl.php b/phpmyfaq/translations/language_pl.php index fa3ac281ac..1832f94a0d 100644 --- a/phpmyfaq/translations/language_pl.php +++ b/phpmyfaq/translations/language_pl.php @@ -368,7 +368,7 @@ $PMF_LANG["ad_att_none"] = "Brak dostępnych załączników"; $PMF_LANG["ad_att_add"] = "Dodaj nowy załącznik"; $PMF_LANG["ad_entryins_suc"] = "Rekord został pomyślnie zapisany."; -$PMF_LANG["ad_entryins_fail"] = "Wystąpił błąd."; +$PMF_LANG["msgErrorOccurred"] = "Wystąpił błąd."; $PMF_LANG["ad_att_del"] = "Usuń"; $PMF_LANG["ad_att_nope"] = "Załączniki można dodawać wyłącznie podczas edycji."; $PMF_LANG["ad_att_delsuc"] = "Załącznik został pomyślnie usunięty."; @@ -456,7 +456,7 @@ $PMF_LANG["ad_categ_process"] = "Przetwarzanie kategorii..."; // Added v1.1.4 - 07.05.2002 - Thorsten -$PMF_LANG["err_NotAuth"] = "Nie masz uprawnień."; +$PMF_LANG["msgNoPermission"] = "Nie masz uprawnień."; // Added v1.2.3 - 29.11.2002 - Thorsten $PMF_LANG["msgPreviusPage"] = "poprzednia strona"; diff --git a/phpmyfaq/translations/language_pt-br.php b/phpmyfaq/translations/language_pt-br.php index f7d8b86ab7..1fa00c41cb 100644 --- a/phpmyfaq/translations/language_pt-br.php +++ b/phpmyfaq/translations/language_pt-br.php @@ -311,7 +311,7 @@ $PMF_LANG['ad_att_att'] = 'Arquivo'; $PMF_LANG['ad_att_add'] = 'Anexar arquivo'; $PMF_LANG['ad_entryins_suc'] = 'Registro salvo com sucesso.'; -$PMF_LANG['ad_entryins_fail'] = 'Ocorreu um erro.'; +$PMF_LANG['msgErrorOccurred'] = 'Ocorreu um erro.'; $PMF_LANG['ad_att_del'] = 'Remover'; $PMF_LANG['ad_att_nope'] = 'Os anexos estão disponíveis somente quando o registro for editado.'; $PMF_LANG['ad_att_delsuc'] = 'O anexo foi removido com sucesso.'; @@ -374,7 +374,7 @@ $PMF_LANG['ad_categ_cut'] = 'cortar'; $PMF_LANG['msgCopy'] = 'copiar'; $PMF_LANG['ad_categ_process'] = 'Processando categorias...'; -$PMF_LANG['err_NotAuth'] = 'Sem autorização.'; +$PMF_LANG['msgNoPermission'] = 'Sem autorização.'; $PMF_LANG['msgPreviusPage'] = 'Página anterior'; $PMF_LANG['msgNextPage'] = 'próxima página'; $PMF_LANG['msgPageDoublePoint'] = 'Página: '; diff --git a/phpmyfaq/translations/language_pt.php b/phpmyfaq/translations/language_pt.php index 7da56d9e93..2b8fd5a57e 100755 --- a/phpmyfaq/translations/language_pt.php +++ b/phpmyfaq/translations/language_pt.php @@ -313,7 +313,7 @@ $PMF_LANG['ad_att_att'] = 'Ficheiro'; $PMF_LANG['ad_att_add'] = 'Anexar ficheiro'; $PMF_LANG['ad_entryins_suc'] = 'O artigo foi gravado.'; -$PMF_LANG['ad_entryins_fail'] = 'Ocorreu um erro.'; +$PMF_LANG['msgErrorOccurred'] = 'Ocorreu um erro.'; $PMF_LANG['ad_att_del'] = 'Apagar'; $PMF_LANG['ad_att_nope'] = 'Nota: só é possível inserir anexos em registos já gravados e apenas no modo de edição.'; $PMF_LANG['ad_att_delsuc'] = 'O anexo foi apagado.'; @@ -377,7 +377,7 @@ $PMF_LANG['ad_categ_cut'] = 'Cortar'; $PMF_LANG['msgCopy'] = 'Copiar'; $PMF_LANG['ad_categ_process'] = 'A processar as categorias…'; -$PMF_LANG['err_NotAuth'] = 'Não possui autorização para realizar esta operação.'; +$PMF_LANG['msgNoPermission'] = 'Não possui autorização para realizar esta operação.'; $PMF_LANG['msgPreviusPage'] = 'Página anterior '; $PMF_LANG['msgNextPage'] = ' Página seguinte '; $PMF_LANG['msgPageDoublePoint'] = 'Página: '; diff --git a/phpmyfaq/translations/language_ro.php b/phpmyfaq/translations/language_ro.php index e4b47a8bb7..6b8ff12e81 100644 --- a/phpmyfaq/translations/language_ro.php +++ b/phpmyfaq/translations/language_ro.php @@ -313,7 +313,7 @@ $PMF_LANG['ad_att_att'] = 'Fisier'; $PMF_LANG['ad_att_add'] = 'Ataseaza un fisier'; $PMF_LANG['ad_entryins_suc'] = 'Inregistrarea a fost salvata cu succes.'; -$PMF_LANG['ad_entryins_fail'] = 'Eroare.'; +$PMF_LANG['msgErrorOccurred'] = 'Eroare.'; $PMF_LANG['ad_att_del'] = 'Sterge'; $PMF_LANG['ad_att_nope'] = 'Atasamentele pot fi adaugate numai cand se modifica inregistrarea.'; $PMF_LANG['ad_att_delsuc'] = 'Atasamentul a fost sters cu succes.'; @@ -377,7 +377,7 @@ $PMF_LANG['ad_categ_cut'] = 'cut'; $PMF_LANG['msgCopy'] = 'copieaza'; $PMF_LANG['ad_categ_process'] = 'Procesez categoriile...'; -$PMF_LANG['err_NotAuth'] = 'Nu esti autorizat pentru aceasta operatiune.'; +$PMF_LANG['msgNoPermission'] = 'Nu esti autorizat pentru aceasta operatiune.'; $PMF_LANG['msgPreviusPage'] = 'pagina anterioara'; $PMF_LANG['msgNextPage'] = 'urmatoarea pagina'; $PMF_LANG['msgPageDoublePoint'] = 'Pagina: '; diff --git a/phpmyfaq/translations/language_ru.php b/phpmyfaq/translations/language_ru.php index 263d6c1ffa..3c2212cf98 100644 --- a/phpmyfaq/translations/language_ru.php +++ b/phpmyfaq/translations/language_ru.php @@ -314,7 +314,7 @@ $PMF_LANG['ad_att_att'] = 'Файл'; $PMF_LANG['ad_att_add'] = 'Прикрепить фал'; $PMF_LANG['ad_entryins_suc'] = 'Запись сохранена.'; -$PMF_LANG['ad_entryins_fail'] = 'Ошибка.'; +$PMF_LANG['msgErrorOccurred'] = 'Ошибка.'; $PMF_LANG['ad_att_del'] = 'Удалить'; $PMF_LANG['ad_att_nope'] = 'Прикрепление файлов возможно только при редактировании ответа.'; $PMF_LANG['ad_att_delsuc'] = 'Файл успешно прикреплен.'; @@ -378,7 +378,7 @@ $PMF_LANG['ad_categ_cut'] = 'вырезать'; $PMF_LANG['msgCopy'] = 'копировать'; $PMF_LANG['ad_categ_process'] = 'Обработка категорий ...'; -$PMF_LANG['err_NotAuth'] = 'Вы не авторизованы.'; +$PMF_LANG['msgNoPermission'] = 'Вы не авторизованы.'; $PMF_LANG['msgPreviusPage'] = 'предыдущая'; $PMF_LANG['msgNextPage'] = 'следующая'; $PMF_LANG['msgPageDoublePoint'] = 'Страницы: '; diff --git a/phpmyfaq/translations/language_sk.php b/phpmyfaq/translations/language_sk.php index c4828a66d1..dadd9adf58 100644 --- a/phpmyfaq/translations/language_sk.php +++ b/phpmyfaq/translations/language_sk.php @@ -370,7 +370,7 @@ $PMF_LANG["ad_att_att"] = "Prílohy"; $PMF_LANG["ad_att_add"] = "Priložiť súbor"; $PMF_LANG["ad_entryins_suc"] = "Záznam úspešne uložený."; -$PMF_LANG["ad_entryins_fail"] = "Vyskytla sa chyba."; +$PMF_LANG["msgErrorOccurred"] = "Vyskytla sa chyba."; $PMF_LANG["ad_att_del"] = "Vymazať"; $PMF_LANG["ad_att_nope"] = "Prílohy môžu byť pridané len počas úprav."; $PMF_LANG["ad_att_delsuc"] = "Príloha bola úspešne vymazaná."; @@ -460,7 +460,7 @@ $PMF_LANG["ad_categ_process"] = "Spracovanie kategórií..."; // Added v1.1.4 - 07.05.2002 - Thorsten -$PMF_LANG["err_NotAuth"] = "Nemáte oprávnenie."; +$PMF_LANG["msgNoPermission"] = "Nemáte oprávnenie."; // Added v1.2.3 - 29.11.2002 - Thorsten $PMF_LANG["msgPreviusPage"] = "predchádzajúca stránka"; diff --git a/phpmyfaq/translations/language_sl.php b/phpmyfaq/translations/language_sl.php index 0c7a0c7e32..606242f611 100644 --- a/phpmyfaq/translations/language_sl.php +++ b/phpmyfaq/translations/language_sl.php @@ -371,7 +371,7 @@ $PMF_LANG["ad_att_att"] = "Priponke"; $PMF_LANG["ad_att_add"] = "Pripni datoteko"; $PMF_LANG["ad_entryins_suc"] = "Zapis uspešno shranjen."; -$PMF_LANG["ad_entryins_fail"] = "Prišlo je do napake."; +$PMF_LANG["msgErrorOccurred"] = "Prišlo je do napake."; $PMF_LANG["ad_att_del"] = "Odstrani"; $PMF_LANG["ad_att_nope"] = "Priponka se lahko doda samo med urejanjem."; $PMF_LANG["ad_att_delsuc"] = "Priponka uspešno odstranjena."; @@ -461,7 +461,7 @@ $PMF_LANG["ad_categ_process"] = "Proces za kategorije..."; // Added v1.1.4 - 07.05.2002 - Thorsten -$PMF_LANG["err_NotAuth"] = "Nisi avtoriziran."; +$PMF_LANG["msgNoPermission"] = "Nisi avtoriziran."; // Added v1.2.3 - 29.11.2002 - Thorsten $PMF_LANG["msgPreviusPage"] = "prejšnja stran"; diff --git a/phpmyfaq/translations/language_sr.php b/phpmyfaq/translations/language_sr.php index 7ef9d1586c..905b2ee0bd 100644 --- a/phpmyfaq/translations/language_sr.php +++ b/phpmyfaq/translations/language_sr.php @@ -373,7 +373,7 @@ $PMF_LANG["ad_att_att"] = "Fajlovi (attachments)"; $PMF_LANG["ad_att_add"] = "Zakači (attach) fajl"; $PMF_LANG["ad_entryins_suc"] = "Unos uspešno snimljen."; -$PMF_LANG["ad_entryins_fail"] = "Desila se greška."; +$PMF_LANG["msgErrorOccurred"] = "Desila se greška."; $PMF_LANG["ad_att_del"] = "Obriši"; $PMF_LANG["ad_att_nope"] = "Fajlovi mogu biti dodani samo kada se menja unos."; $PMF_LANG["ad_att_delsuc"] = "Fajl je uspešno obrisan."; @@ -463,7 +463,7 @@ $PMF_LANG["ad_categ_process"] = "Procesiram kategorije..."; // Added v1.1.4 - 07.05.2002 - Thorsten -$PMF_LANG["err_NotAuth"] = "Niste autorizovani."; +$PMF_LANG["msgNoPermission"] = "Niste autorizovani."; // Added v1.2.3 - 29.11.2002 - Thorsten $PMF_LANG["msgPreviusPage"] = "prethodna strana"; diff --git a/phpmyfaq/translations/language_sv.php b/phpmyfaq/translations/language_sv.php index 0c403628e0..d1435c5ac2 100755 --- a/phpmyfaq/translations/language_sv.php +++ b/phpmyfaq/translations/language_sv.php @@ -316,7 +316,7 @@ $PMF_LANG['ad_att_att'] = 'Fil'; $PMF_LANG['ad_att_add'] = 'Bifoga fil (bilaga)'; $PMF_LANG['ad_entryins_suc'] = 'Inlägget är sparat.'; -$PMF_LANG['ad_entryins_fail'] = 'Ett fel uppstod.'; +$PMF_LANG['msgErrorOccurred'] = 'Ett fel uppstod.'; $PMF_LANG['ad_att_del'] = 'Ta bort'; $PMF_LANG['ad_att_nope'] = 'Bilagor kan endast läggas till när frågan är i ändringsläge.'; $PMF_LANG['ad_att_delsuc'] = 'Bilagan är borttagen.'; @@ -380,7 +380,7 @@ $PMF_LANG['ad_categ_cut'] = 'klipp ut'; $PMF_LANG['msgCopy'] = 'kopiera'; $PMF_LANG['ad_categ_process'] = 'Bearbetar kategorier...'; -$PMF_LANG['err_NotAuth'] = 'Du har inte behörighet.'; +$PMF_LANG['msgNoPermission'] = 'Du har inte behörighet.'; $PMF_LANG['msgPreviusPage'] = 'föregående sida'; $PMF_LANG['msgNextPage'] = 'nästa sida'; $PMF_LANG['msgPageDoublePoint'] = 'Sida: '; diff --git a/phpmyfaq/translations/language_th.php b/phpmyfaq/translations/language_th.php index 180855e0be..104d398492 100644 --- a/phpmyfaq/translations/language_th.php +++ b/phpmyfaq/translations/language_th.php @@ -314,7 +314,7 @@ $PMF_LANG['ad_att_att'] = 'ไฟล์'; $PMF_LANG['ad_att_add'] = 'แนบไฟล์'; $PMF_LANG['ad_entryins_suc'] = 'ข้อมูลบันทึกเรียบร้อย'; -$PMF_LANG['ad_entryins_fail'] = 'พบข้อผิดพลาด'; +$PMF_LANG['msgErrorOccurred'] = 'พบข้อผิดพลาด'; $PMF_LANG['ad_att_del'] = 'ลบ'; $PMF_LANG['ad_att_nope'] = 'ไฟล์แนบสามารถเพิ่มได้ขณะทำการเพิ่มหรือแก้ไขข้อมูลเท่านั้น'; $PMF_LANG['ad_att_delsuc'] = 'ไฟล์แนบได้ถูกลบเรียบร้อยแล้ว'; @@ -378,7 +378,7 @@ $PMF_LANG['ad_categ_cut'] = 'ตัดออก'; $PMF_LANG['msgCopy'] = 'คัดลอก'; $PMF_LANG['ad_categ_process'] = 'กำลังดำเนินการ หัวข้อ...'; -$PMF_LANG['err_NotAuth'] = 'คุณไม่ได้รับอนุญาตให้ใช้งาน'; +$PMF_LANG['msgNoPermission'] = 'คุณไม่ได้รับอนุญาตให้ใช้งาน'; $PMF_LANG['msgPreviusPage'] = 'หน้าก่อนนี้'; $PMF_LANG['msgNextPage'] = 'หน้าถัดไป'; $PMF_LANG['msgPageDoublePoint'] = 'หน้า: '; diff --git a/phpmyfaq/translations/language_tr.php b/phpmyfaq/translations/language_tr.php index 1c8ff1832e..0166f76c18 100644 --- a/phpmyfaq/translations/language_tr.php +++ b/phpmyfaq/translations/language_tr.php @@ -367,7 +367,7 @@ $PMF_LANG["ad_att_att"] = "Eklentiler"; $PMF_LANG["ad_att_add"] = "Yeni eklenti ekle"; $PMF_LANG["ad_entryins_suc"] = "Kayıt başarıyla eklendi."; -$PMF_LANG["ad_entryins_fail"] = "Bir hata oluştu."; +$PMF_LANG["msgErrorOccurred"] = "Bir hata oluştu."; $PMF_LANG["ad_att_del"] = "Sil"; $PMF_LANG["ad_att_nope"] = "Eklentiler yalnızca düzenleme sırasında eklenebilir."; $PMF_LANG["ad_att_delsuc"] = "Seçilen eklenti başarıyla silindi."; @@ -457,7 +457,7 @@ $PMF_LANG["ad_categ_process"] = "Kategoriler işleniyor..."; // Added v1.1.4 - 07.05.2002 - Thorsten -$PMF_LANG["err_NotAuth"] = "Yetkiniz bulunmuyor."; +$PMF_LANG["msgNoPermission"] = "Yetkiniz bulunmuyor."; // Added v1.2.3 - 29.11.2002 - Thorsten $PMF_LANG["msgPreviusPage"] = "Önceki sayfa"; diff --git a/phpmyfaq/translations/language_tw.php b/phpmyfaq/translations/language_tw.php index 724ec36868..b227279e9d 100644 --- a/phpmyfaq/translations/language_tw.php +++ b/phpmyfaq/translations/language_tw.php @@ -367,7 +367,7 @@ $PMF_LANG["ad_att_att"] = "附加檔案"; $PMF_LANG["ad_att_add"] = "新增附加檔案"; $PMF_LANG["ad_entryins_suc"] = "記錄儲存成功。"; -$PMF_LANG["ad_entryins_fail"] = "發生一個錯誤。"; +$PMF_LANG["msgErrorOccurred"] = "發生一個錯誤。"; $PMF_LANG["ad_att_del"] = "刪除"; $PMF_LANG["ad_att_nope"] = "只能在編輯的狀態下,新增附加檔案。"; $PMF_LANG["ad_att_delsuc"] = "附加檔案刪除成功。"; @@ -457,7 +457,7 @@ $PMF_LANG["ad_categ_process"] = "處理類別中..."; // Added v1.1.4 - 07.05.2002 - Thorsten 開發者 -$PMF_LANG["err_NotAuth"] = "您沒有足夠的權限。"; +$PMF_LANG["msgNoPermission"] = "您沒有足夠的權限。"; // Added v1.2.3 - 29.11.2002 - Thorsten 開發者 $PMF_LANG["msgPreviusPage"] = "前一頁"; diff --git a/phpmyfaq/translations/language_uk.php b/phpmyfaq/translations/language_uk.php index ef0870b996..a5273f1aa2 100644 --- a/phpmyfaq/translations/language_uk.php +++ b/phpmyfaq/translations/language_uk.php @@ -371,7 +371,7 @@ $PMF_LANG["ad_att_att"] = "Файли"; $PMF_LANG["ad_att_add"] = "Прикріпити фал"; $PMF_LANG["ad_entryins_suc"] = "Запис збережений."; -$PMF_LANG["ad_entryins_fail"] = "Помилка."; +$PMF_LANG["msgErrorOccurred"] = "Помилка."; $PMF_LANG["ad_att_del"] = "Видалити"; $PMF_LANG["ad_att_nope"] = "Прикріплення файлів можливе тільки при редагуванні відповіді."; $PMF_LANG["ad_att_delsuc"] = "Файл успішно прикріплений."; @@ -463,7 +463,7 @@ // Added v1.1.4 - 07.05.2002 - Thorsten -$PMF_LANG["err_NotAuth"] = "Ви не авторизовані."; +$PMF_LANG["msgNoPermission"] = "Ви не авторизовані."; // Added v1.2.3 - 29.11.2002 - Thorsten diff --git a/phpmyfaq/translations/language_vi.php b/phpmyfaq/translations/language_vi.php index 75c0404576..02c559eef5 100644 --- a/phpmyfaq/translations/language_vi.php +++ b/phpmyfaq/translations/language_vi.php @@ -373,7 +373,7 @@ $PMF_LANG["ad_att_att"] = "Tập tin đính kèm"; $PMF_LANG["ad_att_add"] = "Đính kèm một tập tin"; $PMF_LANG["ad_entryins_suc"] = "Bài đã được lưu."; -$PMF_LANG["ad_entryins_fail"] = "Có lỗi xảy ra."; +$PMF_LANG["msgErrorOccurred"] = "Có lỗi xảy ra."; $PMF_LANG["ad_att_del"] = "Xóa"; $PMF_LANG["ad_att_nope"] = "Chỉ có thể thêm tập tin đính kèm khi chỉnh sửa."; $PMF_LANG["ad_att_delsuc"] = "Tập tin đính kèm đã được xóa."; @@ -458,7 +458,7 @@ $PMF_LANG["ad_categ_process"] = "Đang tiến hành với mục..."; // Added v1.1.4 - 07.05.2002 - Thorsten -$PMF_LANG["err_NotAuth"] = "Bạn không được phép thực hiện điều này."; +$PMF_LANG["msgNoPermission"] = "Bạn không được phép thực hiện điều này."; // Added v1.2.3 - 29.11.2002 - Thorsten $PMF_LANG["msgPreviusPage"] = "trang trước"; diff --git a/phpmyfaq/translations/language_zh.php b/phpmyfaq/translations/language_zh.php index 26671f7da9..48f9fcedba 100644 --- a/phpmyfaq/translations/language_zh.php +++ b/phpmyfaq/translations/language_zh.php @@ -315,7 +315,7 @@ $PMF_LANG['ad_att_att'] = '文件名'; $PMF_LANG['ad_att_add'] = '添加附件'; $PMF_LANG['ad_entryins_suc'] = '问题保存成功'; -$PMF_LANG['ad_entryins_fail'] = '系统出错。'; +$PMF_LANG['msgErrorOccurred'] = '系统出错。'; $PMF_LANG['ad_att_del'] = '删除'; $PMF_LANG['ad_att_nope'] = '附件只能在编辑模式被添加。'; $PMF_LANG['ad_att_delsuc'] = '附件删除成功。'; @@ -379,7 +379,7 @@ $PMF_LANG['ad_categ_cut'] = '剪切'; $PMF_LANG['msgCopy'] = '复制'; $PMF_LANG['ad_categ_process'] = '处理类别...'; -$PMF_LANG['err_NotAuth'] = '您没有足够的授权进行该操作。'; +$PMF_LANG['msgNoPermission'] = '您没有足够的授权进行该操作。'; $PMF_LANG['msgPreviusPage'] = '上一页'; $PMF_LANG['msgNextPage'] = '下一页'; $PMF_LANG['msgPageDoublePoint'] = '页码: ';