File tree Expand file tree Collapse file tree
formwidgets/notes/partials Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 < ?php if ($this-> previewMode && empty($notesList)) : ?>
99 < div class ="row ">
1010 < div class ="col-md-12 ">
11- < p > No notes to display </ p >
11+ < p > < ?= e(trans('winter. notes::lang.models.note.no_notes_to_display')) ? > </ p >
1212 </ div >
1313 </ div >
1414 < ?php else: ?>
2525 < ?= $this-> makePartial('notes_list'); ?>
2626 </ div >
2727 < div id ="contentForm " class ="field-notes-form ">
28- < div id ="<?= $this->getId('content') ?> " class ="content loading-indicator-container indicator-center ">
28+ < div id ="<?= $this->getId('content') ?> " class ="content loading-indicator-container indicator-center ">
2929 < ?= count($notesList) > 0 ? $this-> makePartial('note_content') : ''; ?>
3030 </ div >
3131 < div class ="loading-indicator-container field-notes-notification " hidden >
3232 < div class ="loading-indicator size-small ">
3333 < span > </ span >
34- < div > Saving </ div >
34+ < div > < ?= e(trans('winter.notes::lang.models.note.saving')) ? > </ div >
3535 </ div >
3636 </ div >
3737 </ div >
Original file line number Diff line number Diff line change 88 >
99 < div >
1010 < h3 >
11- < ?= e( $note['id'] == 0 ? 'New Note' : $note['name']) ?>
11+ < ?= e( $note['id'] == 0 ? e(trans('winter.notes::lang.models.note.new_note')) : $note['name']) ?>
1212 </ h3 >
1313 < h4 >
1414 < ?= e($note['updated_at']) ?>
Original file line number Diff line number Diff line change 22 < button
33 class ="btn-icon oc-icon-pencil-square-o "
44 type ="button "
5- title ="Add new note "
5+ title ="<?= e(trans('winter.notes::lang.models. note.add_new_note')) ?> "
66 data-note-add >
77 </ button >
88 < button
99 class ="btn-icon oc-icon-trash-o "
1010 type ="button "
1111 data-note-remove
12- title ="Delete note "
12+ title ="<?= e(trans('winter.notes::lang.models. note.delete_note')) ?> "
1313 data-request-confirm ="<?= e(trans('winter.notes::lang.models.note.delete_confirm')) ?> "
1414 data-stripe-load-indicator >
1515 </ button >
Original file line number Diff line number Diff line change 77 'note ' => [
88 'label ' => 'Note ' ,
99 'label_plural ' => 'Notes ' ,
10- 'name ' => 'Title ' ,
10+ 'name ' => 'Title ' ,
11+ 'new_note ' => 'New Note ' ,
12+ 'add_new_note ' => 'Add new note ' ,
13+ 'delete_note ' => 'Delete note ' ,
1114 'created_at ' => 'Created At ' ,
1215 'updated_at ' => 'Updated At ' ,
1316 'deleted_at ' => 'Deleted At ' ,
1417 'delete_confirm ' => 'Are you sure you want to delete the selected note? ' ,
18+ 'saving ' => 'Saving ' ,
19+ 'no_notes_to_display ' => 'No notes to display ' ,
1520 ],
1621 ],
1722];
Original file line number Diff line number Diff line change 1+ <?php return [
2+ 'plugin ' => [
3+ 'name ' => 'Заметки ' ,
4+ 'description ' => 'Легко добавляйте примечания к любой записи в WinterCMS ' ,
5+ ],
6+ 'models ' => [
7+ 'note ' => [
8+ 'label ' => 'Заметка ' ,
9+ 'label_plural ' => 'Заметки ' ,
10+ 'name ' => 'Заголовок ' ,
11+ 'new_note ' => 'Новая заметка ' ,
12+ 'add_new_note ' => 'Добавить новую заметку ' ,
13+ 'delete_note ' => 'Удалить заметку ' ,
14+ 'created_at ' => 'Создано ' ,
15+ 'updated_at ' => 'Обновлено ' ,
16+ 'deleted_at ' => 'Удалено ' ,
17+ 'delete_confirm ' => 'Вы уверены, что хотите удалить выбранную заметку? ' ,
18+ 'saving ' => 'Сохранение ' ,
19+ 'no_notes_to_display ' => 'Нет заметок для отображения ' ,
20+ ],
21+ ],
22+ ];
You can’t perform that action at this time.
0 commit comments