Skip to content

Commit

Permalink
fix:[lar-162] translate text
Browse files Browse the repository at this point in the history
  • Loading branch information
cybersoldattech committed Dec 27, 2024
1 parent c92b875 commit 525b102
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion lang/en/pages/article.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
'next_article' => 'Next article',
'prev_article' => 'Previous article',
'share_article' => 'Share',
'new_article' => 'Start a new article',
'advice' => [
'title' => 'Important advices for articles',
'content' => 'Submit your article to the Laravel.cm portal. We\'re looking for high quality articles revolving around Laravel, PHP, JavaScript, CSS, and related topics. Articles can\'t be promotional in nature and should be educational and informative. We reserve the right to decline articles that don\'t meet our quality standards.',
Expand Down
1 change: 0 additions & 1 deletion lang/fr/pages/article.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
'next_article' => 'Article suivant',
'prev_article' => 'Article précédent',
'share_article' => 'Partager',
'new_article' => 'Démarrer un nouvel article',
'advice' => [
'title' => 'Conseils importants concernant les articles',
'content' => 'Soumettez votre article au site Laravel.cm. Nous recherchons des articles de haute qualité autour de Laravel, PHP, JavaScript, CSS et autres sujets connexes. Les articles ne peuvent pas être de nature promotionnelle et doivent être éducatifs et informatifs. Nous nous réservons le droit de refuser les articles qui ne répondent pas à nos critères de qualité.',
Expand Down
2 changes: 1 addition & 1 deletion resources/views/components/user/articles.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
onclick="Livewire.dispatch('openPanel', { component: 'components.slideovers.article-form' })"
>
<x-untitledui-file-06 class="size-5" aria-hidden="true" />
{{ __('pages/article.new_article') }}
{{ __('global.launch_modal.article_action') }}
</x-buttons.primary>
@endcan
@endif
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<x-form-slider-over
:title="$article->id ? $article->title : __('pages/article.new_article')"
:title="$article->id ? $article->title : __('global.launch_modal.article_action')"
action="save"
>
<div class="space-y-6">
Expand Down

0 comments on commit 525b102

Please sign in to comment.