chore(i18n): drop orphan cannot_edit_published key + gitignore compiled JSONs
- Remove cannot_edit_published from en/es/pt-BR posts.php — its sole
caller (App/PostController) was deleted in the previous commit
along with PostAction::AlreadyPublished.
- Add lang/php_*.json to .gitignore. They are build artifacts emitted
by laravel-vue-i18n/vite from the lang/{locale}/*.php sources and
shouldn't have been tracked (regenerated on every npm run build /
composer dev). Untracking now also means the orphan key disappears
from the compiled bundles on the next build without a manual edit.
This commit is contained in:
parent
edec58af81
commit
d8f836a569
7 changed files with 1 additions and 6 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -2,6 +2,7 @@
|
|||
/bootstrap/ssr
|
||||
/node_modules
|
||||
/public/build
|
||||
/lang/php_*.json
|
||||
/public/hot
|
||||
/public/storage
|
||||
/storage/*.key
|
||||
|
|
|
|||
|
|
@ -475,7 +475,6 @@
|
|||
'scheduled' => 'Post scheduled successfully!',
|
||||
'deleted' => 'Post deleted successfully!',
|
||||
'duplicated' => 'Post duplicated as a draft.',
|
||||
'cannot_edit_published' => 'Published posts cannot be edited.',
|
||||
'cannot_edit_finalized' => 'This post has already been processed and cannot be re-published. Duplicate it to try again.',
|
||||
'cannot_delete_published' => 'Published posts cannot be deleted.',
|
||||
'connect_first' => 'Connect at least one social network before creating a post.',
|
||||
|
|
|
|||
|
|
@ -475,7 +475,6 @@
|
|||
'scheduled' => '¡Post programado correctamente!',
|
||||
'deleted' => '¡Post eliminado correctamente!',
|
||||
'duplicated' => 'Post duplicado como borrador.',
|
||||
'cannot_edit_published' => 'Los posts publicados no se pueden editar.',
|
||||
'cannot_edit_finalized' => 'Este post ya fue procesado y no puede republicarse. Duplícalo para intentar de nuevo.',
|
||||
'cannot_delete_published' => 'Los posts publicados no se pueden eliminar.',
|
||||
'connect_first' => 'Conecta al menos una red social antes de crear un post.',
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -475,7 +475,6 @@
|
|||
'scheduled' => 'Post agendado com sucesso!',
|
||||
'deleted' => 'Post excluído com sucesso!',
|
||||
'duplicated' => 'Post duplicado como rascunho.',
|
||||
'cannot_edit_published' => 'Posts publicados não podem ser editados.',
|
||||
'cannot_edit_finalized' => 'Este post já foi processado e não pode ser republicado. Duplique-o para tentar de novo.',
|
||||
'cannot_delete_published' => 'Posts publicados não podem ser excluídos.',
|
||||
'connect_first' => 'Conecte pelo menos uma rede social antes de criar um post.',
|
||||
|
|
|
|||
Loading…
Reference in a new issue