Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
canifa_note
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vũ Hoàng Anh
canifa_note
Commits
bbdd40b2
Commit
bbdd40b2
authored
Apr 09, 2024
by
Steven
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: add placeholder to comment editor
parent
8356ebc4
Changes
24
Show whitespace changes
Inline
Side-by-side
Showing
24 changed files
with
26 additions
and
26 deletions
+26
-26
index.tsx
web/src/components/MemoEditor/index.tsx
+2
-1
ar.json
web/src/locales/ar.json
+1
-1
de.json
web/src/locales/de.json
+1
-1
en.json
web/src/locales/en.json
+2
-4
es.json
web/src/locales/es.json
+1
-1
fr.json
web/src/locales/fr.json
+1
-1
hi.json
web/src/locales/hi.json
+1
-1
hr.json
web/src/locales/hr.json
+1
-1
hu.json
web/src/locales/hu.json
+1
-1
it.json
web/src/locales/it.json
+1
-1
ja.json
web/src/locales/ja.json
+1
-1
ko.json
web/src/locales/ko.json
+1
-1
nl.json
web/src/locales/nl.json
+1
-1
pl.json
web/src/locales/pl.json
+1
-1
pt-BR.json
web/src/locales/pt-BR.json
+1
-1
ru.json
web/src/locales/ru.json
+1
-1
sl.json
web/src/locales/sl.json
+1
-1
sv.json
web/src/locales/sv.json
+1
-1
tr.json
web/src/locales/tr.json
+1
-1
uk.json
web/src/locales/uk.json
+1
-1
vi.json
web/src/locales/vi.json
+1
-1
zh-Hans.json
web/src/locales/zh-Hans.json
+1
-1
zh-Hant.json
web/src/locales/zh-Hant.json
+1
-1
MemoDetail.tsx
web/src/pages/MemoDetail.tsx
+1
-0
No files found.
web/src/components/MemoEditor/index.tsx
View file @
bbdd40b2
...
...
@@ -31,6 +31,7 @@ import { MemoEditorContext } from "./types";
interface
Props
{
className
?:
string
;
cacheKey
?:
string
;
placeholder
?:
string
;
memoName
?:
string
;
parentMemoName
?:
string
;
relationList
?:
MemoRelation
[];
...
...
@@ -374,7 +375,7 @@ const MemoEditor = (props: Props) => {
()
=>
({
className
:
""
,
initialContent
:
""
,
placeholder
:
t
(
"editor.placeholder
"
),
placeholder
:
props
.
placeholder
??
t
(
"editor.any-thoughts
"
),
onContentChange
:
handleContentChange
,
onPaste
:
handlePasteEvent
,
}),
...
...
web/src/locales/ar.json
View file @
bbdd40b2
...
...
@@ -69,7 +69,7 @@
"cancel-edit"
:
"إلغاء التعديل"
,
"editing"
:
"تعديل..."
,
"local"
:
"محلي"
,
"
placeholder
"
:
"أية أفكار..."
,
"
any-thoughts
"
:
"أية أفكار..."
,
"save"
:
"حفظ"
},
"memo"
:
{
...
...
web/src/locales/de.json
View file @
bbdd40b2
...
...
@@ -88,7 +88,7 @@
"cancel-edit"
:
"Bearbeiten abbrechen"
,
"editing"
:
"in Bearbeitung..."
,
"local"
:
"Lokal"
,
"
placeholder
"
:
"Ein Gedanke..."
,
"
any-thoughts
"
:
"Ein Gedanke..."
,
"save"
:
"Speichern"
},
"embed-memo"
:
{
...
...
web/src/locales/en.json
View file @
bbdd40b2
...
...
@@ -79,11 +79,9 @@
"repeat-new-password"
:
"Repeat the new password"
},
"editor"
:
{
"editing"
:
"Editing..."
,
"cancel-edit"
:
"Cancel edit"
,
"save"
:
"Save"
,
"
placeholder
"
:
"Any thoughts..."
,
"
local"
:
"Local
"
"
any-thoughts
"
:
"Any thoughts..."
,
"
add-your-comment-here"
:
"Add your comment here...
"
},
"memo"
:
{
"view-detail"
:
"View Detail"
,
...
...
web/src/locales/es.json
View file @
bbdd40b2
...
...
@@ -92,7 +92,7 @@
"cancel-edit"
:
"Cancelar edición"
,
"editing"
:
"Editando..."
,
"local"
:
"Local"
,
"
placeholder
"
:
"Alguna idea..."
,
"
any-thoughts
"
:
"Alguna idea..."
,
"save"
:
"Guardar"
},
"embed-memo"
:
{
...
...
web/src/locales/fr.json
View file @
bbdd40b2
...
...
@@ -96,7 +96,7 @@
"cancel-edit"
:
"Annuler l'édition"
,
"editing"
:
"Édition..."
,
"local"
:
"Local"
,
"
placeholder
"
:
"Une idée..."
,
"
any-thoughts
"
:
"Une idée..."
,
"save"
:
"Enregistrer"
},
"embed-memo"
:
{
...
...
web/src/locales/hi.json
View file @
bbdd40b2
...
...
@@ -84,7 +84,7 @@
"cancel-edit"
:
"संपादन रद्द करें"
,
"editing"
:
"संपादन कर रहे हैं..."
,
"local"
:
"स्थानीय"
,
"
placeholder
"
:
"कोई विचार..."
,
"
any-thoughts
"
:
"कोई विचार..."
,
"save"
:
"सहेजें"
},
"embed-memo"
:
{
...
...
web/src/locales/hr.json
View file @
bbdd40b2
...
...
@@ -88,7 +88,7 @@
"cancel-edit"
:
"Otkaži uređivanje"
,
"editing"
:
"Uređivanje..."
,
"local"
:
"Lokalno"
,
"
placeholder
"
:
"Piši... piši mi..."
,
"
any-thoughts
"
:
"Piši... piši mi..."
,
"save"
:
"Sačuvaj"
},
"embed-memo"
:
{
...
...
web/src/locales/hu.json
View file @
bbdd40b2
...
...
@@ -70,7 +70,7 @@
"cancel-edit"
:
"Szerkesztés visszavonása"
,
"editing"
:
"Szerkesztés..."
,
"local"
:
"Helyi"
,
"
placeholder
"
:
"Bármi ami a fejedben jár..."
,
"
any-thoughts
"
:
"Bármi ami a fejedben jár..."
,
"save"
:
"Mentés"
},
"memo"
:
{
...
...
web/src/locales/it.json
View file @
bbdd40b2
...
...
@@ -86,7 +86,7 @@
"cancel-edit"
:
"Cancella modifica"
,
"editing"
:
"Modificando..."
,
"local"
:
"Locale"
,
"
placeholder
"
:
"Qualsiasi cosa pensi..."
,
"
any-thoughts
"
:
"Qualsiasi cosa pensi..."
,
"save"
:
"Salva"
},
"embed-memo"
:
{
...
...
web/src/locales/ja.json
View file @
bbdd40b2
...
...
@@ -93,7 +93,7 @@
"cancel-edit"
:
"作成をキャンセルする"
,
"editing"
:
"作成中"
,
"local"
:
"ローカル"
,
"
placeholder
"
:
"今思ったことは..."
,
"
any-thoughts
"
:
"今思ったことは..."
,
"save"
:
"保存"
},
"embed-memo"
:
{
...
...
web/src/locales/ko.json
View file @
bbdd40b2
...
...
@@ -91,7 +91,7 @@
"cancel-edit"
:
"편집 취소"
,
"editing"
:
"편집 중..."
,
"local"
:
"로컬"
,
"
placeholder
"
:
"떠오르는 게 있나요..."
,
"
any-thoughts
"
:
"떠오르는 게 있나요..."
,
"save"
:
"저장"
},
"embed-memo"
:
{
...
...
web/src/locales/nl.json
View file @
bbdd40b2
...
...
@@ -88,7 +88,7 @@
"cancel-edit"
:
"Annuleer bewerking"
,
"editing"
:
"Aan het bewerken..."
,
"local"
:
"Lokaal"
,
"
placeholder
"
:
"Leeg je gedachten..."
,
"
any-thoughts
"
:
"Leeg je gedachten..."
,
"save"
:
"Opslaan"
},
"embed-memo"
:
{
...
...
web/src/locales/pl.json
View file @
bbdd40b2
...
...
@@ -80,7 +80,7 @@
"cancel-edit"
:
"Anuluj edycję"
,
"editing"
:
"Edytowanie..."
,
"local"
:
"Lokalne"
,
"
placeholder
"
:
"Jakieś przemyślenia..."
,
"
any-thoughts
"
:
"Jakieś przemyślenia..."
,
"save"
:
"Zapisz"
},
"memo"
:
{
...
...
web/src/locales/pt-BR.json
View file @
bbdd40b2
...
...
@@ -96,7 +96,7 @@
"cancel-edit"
:
"Cancelar edição"
,
"editing"
:
"Editando…"
,
"local"
:
"Local"
,
"
placeholder
"
:
"Alguma ideia…"
,
"
any-thoughts
"
:
"Alguma ideia…"
,
"save"
:
"Salvar"
},
"embed-memo"
:
{
...
...
web/src/locales/ru.json
View file @
bbdd40b2
...
...
@@ -96,7 +96,7 @@
"cancel-edit"
:
"Отменить"
,
"editing"
:
"Редактирование..."
,
"local"
:
"На устройстве"
,
"
placeholder
"
:
"Ваши мысли..."
,
"
any-thoughts
"
:
"Ваши мысли..."
,
"save"
:
"Сохранить"
},
"embed-memo"
:
{
...
...
web/src/locales/sl.json
View file @
bbdd40b2
...
...
@@ -66,7 +66,7 @@
"cancel-edit"
:
"Prekliči urejanje"
,
"editing"
:
"Urejanje..."
,
"local"
:
"Lokalno"
,
"
placeholder
"
:
"Kakšne misli..."
,
"
any-thoughts
"
:
"Kakšne misli..."
,
"save"
:
"Shrani"
},
"embed-memo"
:
{
...
...
web/src/locales/sv.json
View file @
bbdd40b2
...
...
@@ -60,7 +60,7 @@
"cancel-edit"
:
"Avbryt redigering"
,
"editing"
:
"Redigerar..."
,
"local"
:
"Lokal"
,
"
placeholder
"
:
"Några tankar..."
,
"
any-thoughts
"
:
"Några tankar..."
,
"save"
:
"Spara"
},
"memo"
:
{
...
...
web/src/locales/tr.json
View file @
bbdd40b2
...
...
@@ -95,7 +95,7 @@
"cancel-edit"
:
"İptal et"
,
"editing"
:
"Düzenleniyor..."
,
"local"
:
"Bilgisayardan"
,
"
placeholder
"
:
"Düşünceleriniz..."
,
"
any-thoughts
"
:
"Düşünceleriniz..."
,
"save"
:
"Kaydet"
},
"embed-memo"
:
{
...
...
web/src/locales/uk.json
View file @
bbdd40b2
...
...
@@ -61,7 +61,7 @@
"cancel-edit"
:
"Скасувати"
,
"editing"
:
"Редагування..."
,
"local"
:
"З комп'ютера"
,
"
placeholder
"
:
"Ваші думки..."
,
"
any-thoughts
"
:
"Ваші думки..."
,
"save"
:
"Зберегти"
},
"memo"
:
{
...
...
web/src/locales/vi.json
View file @
bbdd40b2
...
...
@@ -75,7 +75,7 @@
"cancel-edit"
:
"Hủy chỉnh sửa"
,
"editing"
:
"Đang chỉnh sửa..."
,
"local"
:
"Cục bộ"
,
"
placeholder
"
:
"Bất kỳ suy nghĩ nào..."
,
"
any-thoughts
"
:
"Bất kỳ suy nghĩ nào..."
,
"save"
:
"Lưu"
},
"memo"
:
{
...
...
web/src/locales/zh-Hans.json
View file @
bbdd40b2
...
...
@@ -94,7 +94,7 @@
"cancel-edit"
:
"取消编辑"
,
"editing"
:
"编辑中..."
,
"local"
:
"本地"
,
"
placeholder
"
:
"此刻的想法..."
,
"
any-thoughts
"
:
"此刻的想法..."
,
"save"
:
"保存"
},
"embed-memo"
:
{
...
...
web/src/locales/zh-Hant.json
View file @
bbdd40b2
...
...
@@ -94,7 +94,7 @@
"cancel-edit"
:
"取消編輯"
,
"editing"
:
"編輯中..."
,
"local"
:
"本機"
,
"
placeholder
"
:
"任何想法..."
,
"
any-thoughts
"
:
"任何想法..."
,
"save"
:
"儲存"
},
"embed-memo"
:
{
...
...
web/src/pages/MemoDetail.tsx
View file @
bbdd40b2
...
...
@@ -118,6 +118,7 @@ const MemoDetail = () => {
<
MemoEditor
key=
{
memo
.
name
}
cacheKey=
{
`comment-editor-${memo.name}`
}
placeholder=
{
t
(
"editor.add-your-comment-here"
)
}
parentMemoName=
{
memo
.
name
}
onConfirm=
{
handleCommentCreated
}
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment