Skip to content

Commit

Permalink
Use more natural language for options
Browse files Browse the repository at this point in the history
  • Loading branch information
cosmostellar committed May 3, 2024
1 parent ab48973 commit 5ee300f
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 30 deletions.
10 changes: 5 additions & 5 deletions src/lang/locale/_.json
Expand Up @@ -27,23 +27,23 @@
},
"headingGaps": {
"Before top level headings": "",
"Decides gaps before top level of headings.": "",
"Decides gaps before top level headings.": "",
"Before first sub heading": "",
"Decides the child heading gap right before a parent heading.": "",
"Decides child heading gaps right before parent headings.": "",
"Before sub headings": "",
"Decides gaps before headings that are not in the top level.": ""
},
"otherGaps": {
"After properties": "",
"Decides the gap after the property section.": "",
"Before contents": "",
"Decides gaps before contents. (ex: Text section before headings)": "",
"Decides gaps before content sections. (ex: Text before headings)": "",
"Before contents after code blocks": "",
"Decides gaps before 'contents that are after code blocks'.": "",
"Decides gaps before 'contents that are after code blocks.'": "",
"Before code blocks": "",
"Decides gaps before code blocks.": "",
"Before code blocks after headings": "",
"Decides gaps before 'code blocks that are after headings'.": ""
"Decides gaps before 'code blocks that are after headings.'": ""
},
"formatOptions": {
"Newline at the end of a document": "",
Expand Down
10 changes: 5 additions & 5 deletions src/lang/locale/de.json
Expand Up @@ -27,23 +27,23 @@
},
"headingGaps": {
"Before top level headings": "",
"Decides gaps before top level of headings.": "",
"Decides gaps before top level headings.": "",
"Before first sub heading": "",
"Decides the child heading gap right before a parent heading.": "",
"Decides child heading gaps right before parent headings.": "",
"Before sub headings": "",
"Decides gaps before headings that are not in the top level.": ""
},
"otherGaps": {
"After properties": "",
"Decides the gap after the property section.": "",
"Before contents": "",
"Decides gaps before contents. (ex: Text section before headings)": "",
"Decides gaps before content sections. (ex: Text before headings)": "",
"Before contents after code blocks": "",
"Decides gaps before 'contents that are after code blocks'.": "",
"Decides gaps before 'contents that are after code blocks.'": "",
"Before code blocks": "",
"Decides gaps before code blocks.": "",
"Before code blocks after headings": "",
"Decides gaps before 'code blocks that are after headings'.": ""
"Decides gaps before 'code blocks that are after headings.'": ""
},
"formatOptions": {
"Newline at the end of a document": "",
Expand Down
10 changes: 5 additions & 5 deletions src/lang/locale/en.json
Expand Up @@ -27,23 +27,23 @@
},
"headingGaps": {
"Before top level headings": "Before top level headings",
"Decides gaps before top level of headings.": "Decides gaps before top level of headings.",
"Decides gaps before top level headings.": "Decides gaps before top level headings.",
"Before first sub heading": "Before first sub heading",
"Decides the child heading gap right before a parent heading.": "Decides the child heading gap right before a parent heading.",
"Decides child heading gaps right before parent headings.": "Decides child heading gaps right before parent headings.",
"Before sub headings": "Before sub headings",
"Decides gaps before headings that are not in the top level.": "Decides gaps before headings that are not in the top level."
},
"otherGaps": {
"After properties": "After properties",
"Decides the gap after the property section.": "Decides the gap after the property section.",
"Before contents": "Before contents",
"Decides gaps before contents. (ex: Text section before headings)": "Decides gaps before contents. (ex: Text section before headings)",
"Decides gaps before content sections. (ex: Text before headings)": "Decides gaps before content sections. (ex: Text before headings)",
"Before contents after code blocks": "Before contents after code blocks",
"Decides gaps before 'contents that are after code blocks'.": "Decides gaps before 'contents that are after code blocks'.",
"Decides gaps before 'contents that are after code blocks.'": "Decides gaps before 'contents that are after code blocks.'",
"Before code blocks": "Before code blocks",
"Decides gaps before code blocks.": "Decides gaps before code blocks.",
"Before code blocks after headings": "Before code blocks after headings",
"Decides gaps before 'code blocks that are after headings'.": "Decides gaps before 'code blocks that are after headings'."
"Decides gaps before 'code blocks that are after headings.'": "Decides gaps before 'code blocks that are after headings.'"
},
"formatOptions": {
"Newline at the end of a document": "Newline at the end of a document",
Expand Down
10 changes: 5 additions & 5 deletions src/lang/locale/hu.json
Expand Up @@ -27,23 +27,23 @@
},
"headingGaps": {
"Before top level headings": "Fő címsorok előtt",
"Decides gaps before top level of headings.": "Meghatározza a hézag nagyságát a fő címsorok előtt.",
"Decides gaps before top level headings.": "Meghatározza a hézag nagyságát a fő címsorok előtt.",
"Before first sub heading": "Az első alcím előtt",
"Decides the child heading gap right before a parent heading.": "Meghatározza a gyerekcím hézagát közvetlenül a szülőcím előtt.",
"Decides child heading gaps right before parent headings.": "Meghatározza a gyerekcím hézagát közvetlenül a szülőcím előtt.",
"Before sub headings": "Alcímek előtt",
"Decides gaps before headings that are not in the top level.": "Meghatározza a nem fő címsorok előtti részeket"
},
"otherGaps": {
"After properties": "Tulajdonságok után",
"Decides the gap after the property section.": "Meghatározza a hézagot a tulajdonságok szekció után.",
"Before contents": "Tartalmak előtt",
"Decides gaps before contents. (ex: Text section before headings)": "Meghatározza a hézagot a tartalmak előtt. (pl.: Szövegrész a címsorok előtt)",
"Decides gaps before content sections. (ex: Text before headings)": "Meghatározza a hézagot a tartalmak előtt. (pl.: Szövegrész a címsorok előtt)",
"Before contents after code blocks": "Tartalmak előtti kód részek",
"Decides gaps before 'contents that are after code blocks'.": "Meghatározza azon tartalmi hézagokat, melyek kód részek előtt vannak.",
"Decides gaps before 'contents that are after code blocks.'": "Meghatározza azon tartalmi hézagokat, melyek kód részek előtt vannak.",
"Before code blocks": "Kód részek előtt",
"Decides gaps before code blocks.": "Meghatározza a hézagot kód részek előtt.",
"Before code blocks after headings": "Kód részek előtt, a címsorok előtt",
"Decides gaps before 'code blocks that are after headings'.": "Meghatározza azon kód részi hézagokat, melyek címsorok után vannak."
"Decides gaps before 'code blocks that are after headings.'": "Meghatározza azon kód részi hézagokat, melyek címsorok után vannak."
},
"formatOptions": {
"Newline at the end of a document": "Új sor a dokumentum végére.",
Expand Down
10 changes: 5 additions & 5 deletions src/lang/locale/ko.json
Expand Up @@ -27,23 +27,23 @@
},
"headingGaps": {
"Before top level headings": "최상위 제목 앞",
"Decides gaps before top level of headings.": "최상위 제목 앞의 여백을 결정합니다.",
"Decides gaps before top level headings.": "최상위 제목 앞의 여백을 결정합니다.",
"Before first sub heading": "첫 번째 하위 제목 앞",
"Decides the child heading gap right before a parent heading.": "부모 제목 바로 앞의 자식 제목 여백을 결정합니다.",
"Decides child heading gaps right before parent headings.": "부모 제목 바로 앞의 자식 제목 여백을 결정합니다.",
"Before sub headings": "하위 제목 앞",
"Decides gaps before headings that are not in the top level.": "최상위 제목이 아닌 제목 앞의 여백을 결정합니다."
},
"otherGaps": {
"After properties": "프로퍼티 섹션 뒤",
"Decides the gap after the property section.": "프로퍼티 뒤 여백을 결정합니다.",
"Before contents": "콘텐츠 섹션 앞",
"Decides gaps before contents. (ex: Text section before headings)": "콘텐츠 섹션 앞의 여백을 결정합니다. (예: 제목 앞 텍스트)",
"Decides gaps before content sections. (ex: Text before headings)": "콘텐츠 섹션 앞의 여백을 결정합니다. (예: 제목 앞 텍스트)",
"Before contents after code blocks": "코드 블럭 뒤 콘텐츠 섹션 앞",
"Decides gaps before 'contents that are after code blocks'.": "'코드 블럭 뒤 콘텐츠 섹션' 앞의 여백을 결정합니다.",
"Decides gaps before 'contents that are after code blocks.'": "'코드 블럭 뒤 콘텐츠 섹션' 앞의 여백을 결정합니다.",
"Before code blocks": "코드 블럭 앞",
"Decides gaps before code blocks.": "코드 블럭 앞의 여백을 결정합니다.",
"Before code blocks after headings": "제목 뒤 코드 블럭 앞",
"Decides gaps before 'code blocks that are after headings'.": "'제목 뒤에 있는 코드 블럭' 앞의 줄 바꿈을 결정합니다."
"Decides gaps before 'code blocks that are after headings.'": "'제목 뒤에 있는 코드 블럭' 앞의 줄 바꿈을 결정합니다."
},
"formatOptions": {
"Newline at the end of a document": "문서 끝에 새 줄 추가하기",
Expand Down
10 changes: 5 additions & 5 deletions src/obsidian/settings/settingTab.ts
Expand Up @@ -83,7 +83,7 @@ export class FormattoSettingTab extends PluginSettingTab {
.setDesc(
getLocale(
LOCALE_CATEGORY.HEADING_GAPS,
"Decides gaps before top level of headings."
"Decides gaps before top level headings."
)
)
.addText((text) =>
Expand Down Expand Up @@ -114,7 +114,7 @@ export class FormattoSettingTab extends PluginSettingTab {
.setDesc(
getLocale(
LOCALE_CATEGORY.HEADING_GAPS,
"Decides the child heading gap right before a parent heading."
"Decides child heading gaps right before parent headings."
)
)
.addText((text) =>
Expand Down Expand Up @@ -196,7 +196,7 @@ export class FormattoSettingTab extends PluginSettingTab {
.setDesc(
getLocale(
LOCALE_CATEGORY.OTHER_GAPS,
"Decides gaps before contents. (ex: Text section before headings)"
"Decides gaps before content sections. (ex: Text before headings)"
)
)
.addText((text) =>
Expand Down Expand Up @@ -224,7 +224,7 @@ export class FormattoSettingTab extends PluginSettingTab {
.setDesc(
getLocale(
LOCALE_CATEGORY.OTHER_GAPS,
"Decides gaps before 'contents that are after code blocks'."
"Decides gaps before 'contents that are after code blocks.'"
)
)
.addText((text) =>
Expand Down Expand Up @@ -282,7 +282,7 @@ export class FormattoSettingTab extends PluginSettingTab {
.setDesc(
getLocale(
LOCALE_CATEGORY.OTHER_GAPS,
"Decides gaps before 'code blocks that are after headings'."
"Decides gaps before 'code blocks that are after headings.'"
)
)
.addText((text) =>
Expand Down

0 comments on commit 5ee300f

Please sign in to comment.