|
238 | 238 | } |
239 | 239 |
|
240 | 240 | $templateVars = [ |
241 | | - 'ad_record_faq' => Translation::get('ad_record_faq'), |
242 | | - 'ad_menu_faq_meta' => Translation::get('ad_menu_faq_meta'), |
243 | | - 'ad_record_permissions' => Translation::get('ad_record_permissions'), |
| 241 | + 'msgQuestionAnswer' => Translation::get('msgQuestionAnswer'), |
| 242 | + 'msgFAQMetaData' => Translation::get('msgFAQMetaData'), |
| 243 | + 'msgPermissions' => Translation::get('msgPermissions'), |
244 | 244 | 'ad_admin_notes' => Translation::get('ad_admin_notes'), |
245 | 245 | 'ad_entry_changelog' => Translation::get('ad_entry_changelog'), |
246 | 246 | ]; |
|
262 | 262 |
|
263 | 263 | $templateVars = [ |
264 | 264 | ...$templateVars, |
265 | | - 'adminFaqEditorHeader' => Translation::get('ad_entry_edit_1') . ' ' . Translation::get('ad_entry_edit_2'), |
| 265 | + 'msgAddFAQ' => Translation::get('ad_entry_edit_1') . ' ' . Translation::get('ad_entry_edit_2'), |
266 | 266 | 'editExistingFaq' => true, |
267 | 267 | 'currentRevision' => $currentRevision, |
268 | 268 | 'faqUrl' => $link->toString(), |
|
271 | 271 | } else { |
272 | 272 | $templateVars = [ |
273 | 273 | ...$templateVars, |
274 | | - 'adminFaqEditorHeader' => Translation::get('ad_entry_add'), |
| 274 | + 'msgAddFAQ' => Translation::get('msgAddFAQ'), |
275 | 275 | 'editExistingFaq' => false, |
276 | 276 | ]; |
277 | 277 | } |
|
337 | 337 | 'msgQuestion' => Translation::get('msgQuestion'), |
338 | 338 | 'msgNoHashAllowed' => Translation::get('msgNoHashAllowed'), |
339 | 339 | 'msgShowHelp' => Translation::get('msgShowHelp'), |
340 | | - 'ad_entry_content' => Translation::get('ad_entry_content'), |
341 | | - 'ad_entry_category' => Translation::get('ad_entry_category'), |
| 340 | + 'msgAnswer' => Translation::get('msgAnswer'), |
| 341 | + 'msgCategory' => Translation::get('msgCategory'), |
342 | 342 | 'categoryOptions' => $categoryHelper->renderOptions($categories), |
343 | | - 'ad_entry_locale' => Translation::get('ad_entry_locale'), |
| 343 | + 'msgLanguage' => Translation::get('msgLanguage'), |
344 | 344 | 'languageOptions' => LanguageHelper::renderSelectLanguage($faqData['lang'], false, [], 'lang'), |
345 | 345 | 'hasPermissionForAddAttachments' => $user->perm->hasPermission( |
346 | 346 | $currentUserId, |
|
350 | 350 | $currentUserId, |
351 | 351 | PermissionType::ATTACHMENT_DELETE->value |
352 | 352 | ), |
353 | | - 'ad_menu_attachments' => Translation::get('ad_menu_attachments'), |
| 353 | + 'msgAttachments' => Translation::get('msgAttachments'), |
354 | 354 | 'csrfTokenDeleteAttachment' => Token::getInstance($container->get('session'))->getTokenString('delete-attachment'), |
355 | 355 | 'attachments' => $attList, |
356 | | - 'ad_att_add' => Translation::get('ad_att_add'), |
357 | | - 'ad_entry_tags' => Translation::get('ad_entry_tags'), |
| 356 | + 'msgAddAttachment' => Translation::get('msgAddAttachment'), |
| 357 | + 'msgTags' => Translation::get('msgTags'), |
358 | 358 | 'ad_entry_keywords' => Translation::get('ad_entry_keywords'), |
359 | 359 | 'ad_entry_author' => Translation::get('ad_entry_author'), |
360 | 360 | 'msgEmail' => Translation::get('msgEmail'), |
361 | | - 'msgSeoCenter' => Translation::get('seoCenter'), |
| 361 | + 'msgSeoCenter' => Translation::get('msgSeoCenter'), |
362 | 362 | 'msgSerp' => Translation::get('msgSerp'), |
363 | 363 | 'msgSerpTitle' => Translation::get('msgSerpTitle'), |
364 | 364 | 'ad_entry_grouppermission' => Translation::get('ad_entry_grouppermission'), |
|
386 | 386 | 'ad_entry_save' => Translation::get('ad_entry_save'), |
387 | 387 | 'msgUpdateFaqDate' => Translation::get('msgUpdateFaqDate'), |
388 | 388 | 'msgKeepFaqDate' => Translation::get('msgKeepFaqDate'), |
389 | | - 'msgEditFaqDat' => Translation::get('msgEditFaqDat'), |
| 389 | + 'msgEditFaqDate' => Translation::get('msgEditFaqDate'), |
390 | 390 | 'ad_entry_status' => Translation::get('ad_entry_status'), |
391 | 391 | 'hasPermissionForApprove' => $user->perm->hasPermission($currentUserId, PermissionType::FAQ_APPROVE->value), |
392 | 392 | 'isActive' => $isActive, |
|
0 commit comments