Skip to content

Commit

Permalink
fix: add missing translations (#3138)
Browse files Browse the repository at this point in the history
  • Loading branch information
modelrailroader authored Jul 29, 2024
1 parent aaa4bda commit dcee713
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
4 changes: 2 additions & 2 deletions phpmyfaq/admin/statistics.ratings.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@
'buttonDeleteAllVotings' => Translation::get('ad_delete_all_votings'),
'isDeleteAllVotings' => 'clear-statistics' === $action && $clearStatistics,
'isDeletedStatistics' => $deletedStatistics ?? false,
'msgDeleteAllVotings' => 'Statistics successfully deleted.',
'msgDeleteAllVotingsError' => 'Statistics not deleted.',
'msgDeleteAllVotings' => Translation::get('msgDeleteAllVotings'),
'msgDeleteAllVotingsError' => Translation::get('msgDeleteAllVotingsError'),
'currentCategory' => $currentCategory,
'ratingData' => $data,
'numberOfRatings' => $numberOfRatings,
Expand Down
4 changes: 4 additions & 0 deletions phpmyfaq/translations/language_de.php
Original file line number Diff line number Diff line change
Expand Up @@ -1459,4 +1459,8 @@
$PMF_LANG['msgCopyLink'] = 'oder kopiere den Link';
$LANG_CONF['seo.enableRichSnippets'] = ['checkbox', 'Aktiviere Rich Snippets'];

// added v4.0.0-alpha.4 - 2024-07-29 by Jan
$PMF_LANG['msgDeleteAllVotings'] = 'Statistics successfully deleted.';
$PMF_LANG['msgDeleteAllVotingsError'] = 'An error occured while deleting the statistics';

return $PMF_LANG;
4 changes: 4 additions & 0 deletions phpmyfaq/translations/language_en.php
Original file line number Diff line number Diff line change
Expand Up @@ -1480,4 +1480,8 @@
$PMF_LANG['msgCopyLink'] = 'or copy link';
$LANG_CONF['seo.enableRichSnippets'] = ['checkbox', 'Enable Rich Snippets'];

// added v4.0.0-alpha.4 - 2024-07-29 by Jan
$PMF_LANG['msgDeleteAllVotings'] = 'Statistiken erfolgreich gelöscht.';
$PMF_LANG['msgDeleteAllVotingsError'] = 'Beim Löschen der Statistiken ist ein Fehler aufgetreten.';

return $PMF_LANG;

0 comments on commit dcee713

Please sign in to comment.