Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!: Update Persian Dictionary to V2 #376

Merged
merged 2 commits into from
Aug 13, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion extensions/persian/.vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": ["--extensionDevelopmentPath=${workspaceRoot}"],
"args": ["--extensionDevelopmentPath=${workspaceRoot}", "${workspaceRoot}/samples"],
"stopOnEntry": false,
"sourceMaps": true,
"outFiles": ["${workspaceRoot}/out/src/**/*.js"],
Expand Down
11 changes: 5 additions & 6 deletions extensions/persian/.vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
"version": "2.0.0",
"tasks": [
{
"identifier": "build",
"label": "build",
"label": "npm: build",
"type": "npm",
"script": "build",
"group": {
Expand All @@ -15,13 +14,13 @@
"problemMatcher": "$tsc"
},
{
"identifier": "clean-build",
"label": "npm: clean-build",
"type": "npm",
"script": "build",
"script": "clean-build",
"problemMatcher": "$tsc"
},
{
"identifier": "test",
"label": "npm: test",
"type": "npm",
"script": "test",
"group": {
Expand All @@ -30,7 +29,7 @@
}
},
{
"identifier": "watch",
"label": "npm: watch",
"type": "npm",
"script": "watch",
"problemMatcher": ["$tsc-watch"]
Expand Down
11 changes: 7 additions & 4 deletions extensions/persian/.vscodeignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
.vscode/**
.gitignore
.vscode-test/**
.vscode/**
**/*.d.ts
**/*.map
**/*.test.*
out/test/**
test/**
samples/**
src/**
**/*.map
.gitignore
test/**
tsconfig.json
vsc-extension-quickstart.md
712 changes: 691 additions & 21 deletions extensions/persian/LICENSE

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions extensions/persian/cspell-ext.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"import": ["@cspell/dict-fa-ir/cspell-ext.json"]
}
256 changes: 6 additions & 250 deletions extensions/persian/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions extensions/persian/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"preview": false,
"private": true,
"publisher": "streetsidesoftware",
"license": "GPL-3.0-or-later",
"engines": {
"vscode": "^1.67.0"
},
Expand Down Expand Up @@ -35,19 +36,19 @@
"contributes": {
"commands": [
{
"command": "cSpellExt_persian.enablePersian",
"command": "cSpellExt_persian.enable",
"title": "Enable Persian Spell Checker Dictionary"
},
{
"command": "cSpellExt_persian.disablePersian",
"command": "cSpellExt_persian.disable",
"title": "Disable Persian Spell Checker Dictionary"
},
{
"command": "cSpellExt_persian.enablePersianWorkspace",
"command": "cSpellExt_persian.enableWorkspace",
"title": "Enable Persian Spell Checker Dictionary in Workspace"
},
{
"command": "cSpellExt_persian.disablePersianWorkspace",
"command": "cSpellExt_persian.disableWorkspace",
"title": "Disable Persian Spell Checker Dictionary in Workspace"
}
]
Expand All @@ -62,7 +63,6 @@
"bugs": {
"url": "https://github.com/streetsidesoftware/vscode-cspell-dict-extensions/issues"
},
"license": "MIT",
"scripts": {
"clean": "rimraf out",
"clean-build": "npm run clean && npm run build",
Expand All @@ -74,6 +74,6 @@
"test": "node ../../node_modules/vscode/bin/test"
},
"dependencies": {
"cspell-dict-fa-ir": "^1.1.1"
"@cspell/dict-fa-ir": "^2.0.0"
}
}
3 changes: 3 additions & 0 deletions extensions/persian/samples/cspell.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"language": "fa"
}
5 changes: 5 additions & 0 deletions extensions/persian/samples/seattle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Seattle

[سیاتل - ویکی‌پدیا، دانشنامهٔ آزاد](https://fa.wikipedia.org/wiki/%D8%B3%DB%8C%D8%A7%D8%AA%D9%84)

سیاتل (انگلیسی: Seattle) یک شهر ساحلی در شمال غربی ایالات متحده آمریکا است. سیاتل در شهرستان کینگ ایالت واشینگتن قرار دارد. این شهر با جمعیت ۷۳۷۰۱۵ نفر در سال ۲۰۲۰، بزرگترین شهر در ایالت واشینگتن و منطقه شمال غربی اقیانوس آرام در آمریکای شمالی است. جمعیت منطقه شهری سیاتل ۴٫۰۲ میلیون نفر است که پانزدهمین منطقه بزرگ در ایالات متحده است. نرخ رشد جمعیتی ۲۱٫۱ درصدی آن بین سال‌های ۲۰۱۰ تا ۲۰۲۰، آن را به یکی از پرشتاب‌ترین شهرهای بزرگ آمریکا تبدیل کرده‌است. سیاتل یک باریکه خاکی است که بین دریاراه پیوجت ساند (یک ورودی اقیانوس آرام) و دریاچه واشینگتن واقع شده‌است. این شمالی‌ترین شهر بزرگ ایالات متحده است که در حدود ۱۶۰ کیلومتری جنوب مرز کانادا قرار دارد. سیاتل یک دروازه بزرگ برای تجارت با شرق آسیا، چهارمین بندر بزرگ در آمریکای شمالی از نظر جابجایی کانتینر از سال ۲۰۲۱ است. منطقه سیاتل برای حداقل ۴۰۰۰ سال قبل از اولین ورود مهاجران دائمی اروپایی، توسط بومیان آمریکا به عنوان محل زندگی انتخاب شده بود. آرتور ای. دنی و گروه مسافرانش که متعاقباً به عنوان حزب دنی شناخته می‌شوند، از ایلینوی از طریق پورتلند وارد این منطقه شدند. این شهرک به ساحل شرقی خلیج الیوت منتقل شد و در سال ۱۸۵۲ به افتخار رئیس سیاحل قبایل محلی دوامیش و سوکوامیش، «سیاتل» نامگذاری شد. امروزه، سیاتل دارای جمعیت بالایی از بومیان، اسکاندیناوی‌ها، آسیایی-آمریکایی‌ها و آفریقایی-آمریکایی‌ها، و همچنین جامعه دگرباشان جنسی پر رونق است که از نظر جمعیت در رتبه ششم ایالات متحده قرار دارد.
Loading