@scrabble-solver/scrabble-solver 2.14.0 → 2.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.next/BUILD_ID +1 -1
- package/.next/build-manifest.json +5 -5
- package/.next/cache/.tsbuildinfo +1 -1
- package/.next/cache/eslint/.cache_8dgz12 +1 -1
- package/.next/cache/webpack/client-production/0.pack +0 -0
- package/.next/cache/webpack/client-production/index.pack +0 -0
- package/.next/cache/webpack/client-production/index.pack.old +0 -0
- package/.next/cache/webpack/edge-server-production/0.pack +0 -0
- package/.next/cache/webpack/edge-server-production/index.pack +0 -0
- package/.next/cache/webpack/edge-server-production/index.pack.old +0 -0
- package/.next/cache/webpack/server-production/0.pack +0 -0
- package/.next/cache/webpack/server-production/index.pack +0 -0
- package/.next/cache/webpack/server-production/index.pack.old +0 -0
- package/.next/prerender-manifest.js +1 -1
- package/.next/prerender-manifest.json +1 -1
- package/.next/routes-manifest.json +1 -1
- package/.next/server/chunks/807.js +1 -1
- package/.next/server/chunks/911.js +1 -1
- package/.next/server/chunks/977.js +1 -1
- package/.next/server/middleware-build-manifest.js +1 -1
- package/.next/server/pages/404.html +1 -1
- package/.next/server/pages/404.js.nft.json +1 -1
- package/.next/server/pages/500.html +1 -1
- package/.next/server/pages/_app.js.nft.json +1 -1
- package/.next/server/pages/api/dictionary/[locale]/[word].js +2 -2
- package/.next/server/pages/index.html +1 -1
- package/.next/server/pages/index.js +1 -1
- package/.next/server/pages/index.js.nft.json +1 -1
- package/.next/server/pages/index.json +1 -1
- package/.next/server/pages-manifest.json +1 -1
- package/.next/static/{TxfjxrH5h31sPQxPhrJzG → C0yfLTukP3L3iDqdXbbBv}/_buildManifest.js +1 -1
- package/.next/static/chunks/pages/_app-e73bbdbc75537614.js +17 -0
- package/.next/static/chunks/pages/{index-86d9ad372c48c8b7.js → index-4143525ec0fa83bb.js} +1 -1
- package/.next/static/css/{14625ff7b4d265d0.css → ac3349339fcf58f2.css} +1 -1
- package/.next/trace +45 -45
- package/package.json +9 -9
- package/src/components/Board/Board.tsx +3 -3
- package/src/components/Radio/Radio.module.scss +3 -2
- package/src/i18n/constants.ts +12 -1
- package/src/i18n/i18n.ts +2 -0
- package/src/i18n/languages/turkish.json +78 -0
- package/src/icons/FlagTr.svg +4 -0
- package/src/icons/index.ts +1 -0
- package/src/pages/_app.tsx +11 -2
- package/.next/static/chunks/pages/_app-2912876c7b6e698e.js +0 -17
- /package/.next/static/{TxfjxrH5h31sPQxPhrJzG → C0yfLTukP3L3iDqdXbbBv}/_ssgManifest.js +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scrabble-solver/scrabble-solver",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.15.0",
|
|
4
4
|
"description": "Scrabble Solver 2 - App",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=16"
|
|
@@ -30,13 +30,13 @@
|
|
|
30
30
|
"@floating-ui/react": "^0.26.20",
|
|
31
31
|
"@kamilmielnik/trie": "^3.0.0",
|
|
32
32
|
"@reduxjs/toolkit": "^2.2.7",
|
|
33
|
-
"@scrabble-solver/configs": "^2.
|
|
34
|
-
"@scrabble-solver/constants": "^2.
|
|
35
|
-
"@scrabble-solver/dictionaries": "^2.
|
|
36
|
-
"@scrabble-solver/logger": "^2.
|
|
37
|
-
"@scrabble-solver/solver": "^2.
|
|
38
|
-
"@scrabble-solver/types": "^2.
|
|
39
|
-
"@scrabble-solver/word-definitions": "^2.
|
|
33
|
+
"@scrabble-solver/configs": "^2.15.0",
|
|
34
|
+
"@scrabble-solver/constants": "^2.15.0",
|
|
35
|
+
"@scrabble-solver/dictionaries": "^2.15.0",
|
|
36
|
+
"@scrabble-solver/logger": "^2.15.0",
|
|
37
|
+
"@scrabble-solver/solver": "^2.15.0",
|
|
38
|
+
"@scrabble-solver/types": "^2.15.0",
|
|
39
|
+
"@scrabble-solver/word-definitions": "^2.15.0",
|
|
40
40
|
"classnames": "^2.5.1",
|
|
41
41
|
"env-cmd": "^10.1.0",
|
|
42
42
|
"include-media": "^2.0.0",
|
|
@@ -73,5 +73,5 @@
|
|
|
73
73
|
"@types/redux-saga": "^0.10.5",
|
|
74
74
|
"sass": "^1.77.8"
|
|
75
75
|
},
|
|
76
|
-
"gitHead": "
|
|
76
|
+
"gitHead": "4c23b3525f7cb2b1fae4ec0d9271cffab810f7d3"
|
|
77
77
|
}
|
|
@@ -9,7 +9,7 @@ import { useDispatch } from 'react-redux';
|
|
|
9
9
|
|
|
10
10
|
import { useAppLayout } from 'hooks';
|
|
11
11
|
import { LOCALE_FEATURES } from 'i18n';
|
|
12
|
-
import {
|
|
12
|
+
import { TRANSITION } from 'parameters';
|
|
13
13
|
import {
|
|
14
14
|
boardSlice,
|
|
15
15
|
cellFilterSlice,
|
|
@@ -176,8 +176,8 @@ const Board: FunctionComponent<Props> = ({ className }) => {
|
|
|
176
176
|
ref={floatingFocus.refs.setFloating}
|
|
177
177
|
style={{
|
|
178
178
|
position: floatingFocus.strategy,
|
|
179
|
-
top: floatingFocus.y + cellSize
|
|
180
|
-
left: floatingFocus.x
|
|
179
|
+
top: floatingFocus.y + cellSize,
|
|
180
|
+
left: floatingFocus.x,
|
|
181
181
|
width: cellSize,
|
|
182
182
|
height: cellSize,
|
|
183
183
|
opacity: hasFocus ? 1 : 0,
|
|
@@ -51,8 +51,9 @@ $radio-box-size: $radio-size + 2 * $radio-inner-border;
|
|
|
51
51
|
&::after {
|
|
52
52
|
content: ' ';
|
|
53
53
|
position: absolute;
|
|
54
|
-
top:
|
|
55
|
-
left:
|
|
54
|
+
top: 50%;
|
|
55
|
+
left: 50%;
|
|
56
|
+
transform: translate(-50%, -50%);
|
|
56
57
|
width: $radio-inner-size;
|
|
57
58
|
height: $radio-inner-size;
|
|
58
59
|
background-color: transparent;
|
package/src/i18n/constants.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { COMMA_ARABIC, COMMA_LATIN } from '@scrabble-solver/constants';
|
|
|
2
2
|
import { Locale } from '@scrabble-solver/types';
|
|
3
3
|
import { FunctionComponent, SVGAttributes } from 'react';
|
|
4
4
|
|
|
5
|
-
import { FlagDe, FlagEs, FlagFa, FlagFr, FlagGb, FlagPl, FlagRo, FlagUs } from 'icons';
|
|
5
|
+
import { FlagDe, FlagEs, FlagFa, FlagFr, FlagGb, FlagPl, FlagRo, FlagTr, FlagUs } from 'icons';
|
|
6
6
|
|
|
7
7
|
interface LocaleFeatures {
|
|
8
8
|
comma: string;
|
|
@@ -105,4 +105,15 @@ export const LOCALE_FEATURES: Record<Locale, LocaleFeatures> = {
|
|
|
105
105
|
separator: `${COMMA_LATIN} `,
|
|
106
106
|
vowels: true,
|
|
107
107
|
},
|
|
108
|
+
[Locale.TR_TR]: {
|
|
109
|
+
comma: COMMA_LATIN,
|
|
110
|
+
consonants: true,
|
|
111
|
+
direction: 'ltr',
|
|
112
|
+
Icon: FlagTr,
|
|
113
|
+
label: 'Türkçe',
|
|
114
|
+
locale: Locale.TR_TR,
|
|
115
|
+
name: 'Turkish',
|
|
116
|
+
separator: `${COMMA_LATIN} `,
|
|
117
|
+
vowels: true,
|
|
118
|
+
},
|
|
108
119
|
};
|
package/src/i18n/i18n.ts
CHANGED
|
@@ -9,6 +9,7 @@ import persian from './languages/persian.json';
|
|
|
9
9
|
import polish from './languages/polish.json';
|
|
10
10
|
import romanian from './languages/romanian.json';
|
|
11
11
|
import spanish from './languages/spanish.json';
|
|
12
|
+
import turkish from './languages/turkish.json';
|
|
12
13
|
|
|
13
14
|
const i18n: Record<Locale, Translations> = {
|
|
14
15
|
[Locale.DE_DE]: german,
|
|
@@ -19,6 +20,7 @@ const i18n: Record<Locale, Translations> = {
|
|
|
19
20
|
[Locale.FR_FR]: french,
|
|
20
21
|
[Locale.PL_PL]: polish,
|
|
21
22
|
[Locale.RO_RO]: romanian,
|
|
23
|
+
[Locale.TR_TR]: turkish,
|
|
22
24
|
};
|
|
23
25
|
|
|
24
26
|
export default i18n;
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
{
|
|
2
|
+
"cell.enter-word": "Kelimeyi girin",
|
|
3
|
+
"cell.filter-cell.exclude": "Hedefi hariç tut",
|
|
4
|
+
"cell.filter-cell.include": "Hedef varış noktası",
|
|
5
|
+
"cell.set-blank": "Boş olarak işaretle",
|
|
6
|
+
"cell.set-not-blank": "Boş değil olarak işaretle",
|
|
7
|
+
"cell.tile.location": "Tahta: harfler ({{x}}, {{y}})",
|
|
8
|
+
"cell.toggle-direction": "Yazma yönü - geçiş yapmak için tıklayın",
|
|
9
|
+
"common.arrows": "Ok tuşları",
|
|
10
|
+
"common.blanks": "Jokerler",
|
|
11
|
+
"common.clear": "Sıfırla",
|
|
12
|
+
"common.close": "Kapat",
|
|
13
|
+
"common.consonants": "Ünlü harfler",
|
|
14
|
+
"common.loading": "Yükleniyor",
|
|
15
|
+
"common.next": "Sonraki",
|
|
16
|
+
"common.points": "Puanlar",
|
|
17
|
+
"common.previous": "Öncesi",
|
|
18
|
+
"common.space": "Boşluk çubuğu",
|
|
19
|
+
"common.tiles": "Taşlar",
|
|
20
|
+
"common.two-letter-tiles": "İki Harfli",
|
|
21
|
+
"common.vowels": "Ünsüz harfler",
|
|
22
|
+
"common.word": "Kelime",
|
|
23
|
+
"common.words": "Kelimeler",
|
|
24
|
+
"dictionary": "Sözlük",
|
|
25
|
+
"dictionary.empty-state.no-definitions": "Kelime sözlükte var ama tanımı yok.",
|
|
26
|
+
"dictionary.empty-state.no-results": "Sözlükte kelime tanımı bulunamadı.",
|
|
27
|
+
"dictionary.empty-state.not-allowed": "Bu kelimeye izin verilmiyor.",
|
|
28
|
+
"dictionary.empty-state.uninitialized": "En son vurgulanan kelimenin sözlük tanımı burada gösterilecektir.",
|
|
29
|
+
"dictionary.input.placeholder": "Sözlükte ara...",
|
|
30
|
+
"dictionary.input.title": "Virgülle ayrılmış kelimeler",
|
|
31
|
+
"empty-state.error": "Hata",
|
|
32
|
+
"empty-state.info": "Bilgi",
|
|
33
|
+
"empty-state.success": "Evet!",
|
|
34
|
+
"empty-state.warning": "Aman hayır!",
|
|
35
|
+
"github": "GitHub'da bu projeye bakın",
|
|
36
|
+
"keyMap": "Klavye Kısayolları",
|
|
37
|
+
"keyMap.board": "Tahta",
|
|
38
|
+
"keyMap.board.toggle-blank": "Taşı joker olarak işaretle/olmaktan çıkar",
|
|
39
|
+
"keyMap.board.toggle-cell-filter": "Hedef filtresini değiştir",
|
|
40
|
+
"keyMap.board.toggle-direction": "Yazma yönünü değiştir",
|
|
41
|
+
"keyMap.board-and-rack": "Tahta ve Deste",
|
|
42
|
+
"keyMap.board-and-rack.insert-two-letter-tile": "İki harfli kutucuğu ekle",
|
|
43
|
+
"keyMap.board-and-rack.navigate": "Gezinme",
|
|
44
|
+
"keyMap.board-and-rack.remove-tile": "Taşı kaldır",
|
|
45
|
+
"keyMap.board-and-rack.submit": "Çözmeye başla",
|
|
46
|
+
"keyMap.rack": "Deste",
|
|
47
|
+
"keyMap.rack.insert-blank": "Joker ekle (spacebar)",
|
|
48
|
+
"menu": "Menü",
|
|
49
|
+
"rack.placeholder": "Taşlar…",
|
|
50
|
+
"rack.tile.location": "Deste: harfler ({{index}})",
|
|
51
|
+
"rack.touchscreen.placeholder": "Taşlar…",
|
|
52
|
+
"remaining-tiles": "Kalan taşlar",
|
|
53
|
+
"results": "Sonuçlar",
|
|
54
|
+
"results.empty-state.no-results": "Sonuç bulunamadı - kelime üretilemedi.",
|
|
55
|
+
"results.empty-state.outdated": "Sonuçlar güncelliğini yitirmiştir.",
|
|
56
|
+
"results.empty-state.uninitialized": "Harflerinizden oluşturulan kelimeler burada gösterilecektir.",
|
|
57
|
+
"results.input.placeholder": "Sonuçları Ara... (RegExp)",
|
|
58
|
+
"results.insert": "Sokmak",
|
|
59
|
+
"results.preview": "Önizleme",
|
|
60
|
+
"results.solve": "Çöz",
|
|
61
|
+
"settings": "Ayarlar",
|
|
62
|
+
"settings.autoGroupTiles": "Kalan taşları grupla",
|
|
63
|
+
"settings.autoGroupTiles.left": "Soldaki",
|
|
64
|
+
"settings.autoGroupTiles.right": "Sağdaki",
|
|
65
|
+
"settings.autoGroupTiles.null": "Gruplamayın",
|
|
66
|
+
"settings.game": "Oyun",
|
|
67
|
+
"settings.inputMode": "Giriş Methodu",
|
|
68
|
+
"settings.inputMode.keyboard": "Klavye",
|
|
69
|
+
"settings.inputMode.touchscreen": "Dokunmatik ekran",
|
|
70
|
+
"settings.language": "Dil",
|
|
71
|
+
"settings.showCoordinates": "Koordinatlar",
|
|
72
|
+
"settings.showCoordinates.alternative": "Alternatif",
|
|
73
|
+
"settings.showCoordinates.hidden": "Gizlenmiş",
|
|
74
|
+
"settings.showCoordinates.original": "Orijinal",
|
|
75
|
+
"words": "Oluşturulan kelimeler",
|
|
76
|
+
"words.invalid": "Geçersiz",
|
|
77
|
+
"words.valid": "Geçerli"
|
|
78
|
+
}
|
package/src/icons/index.ts
CHANGED
|
@@ -27,6 +27,7 @@ export { default as FlagFr } from './FlagFr.svg';
|
|
|
27
27
|
export { default as FlagGb } from './FlagGb.svg';
|
|
28
28
|
export { default as FlagPl } from './FlagPl.svg';
|
|
29
29
|
export { default as FlagRo } from './FlagRo.svg';
|
|
30
|
+
export { default as FlagTr } from './FlagTr.svg';
|
|
30
31
|
export { default as FlagUs } from './FlagUs.svg';
|
|
31
32
|
export { default as GeoAlt } from './GeoAlt.svg';
|
|
32
33
|
export { default as Github } from './Github.svg';
|
package/src/pages/_app.tsx
CHANGED
|
@@ -18,7 +18,8 @@ const KEYWORDS = [
|
|
|
18
18
|
'Scrabble',
|
|
19
19
|
'Solver',
|
|
20
20
|
'Super Scrabble',
|
|
21
|
-
'
|
|
21
|
+
'Kelimelik',
|
|
22
|
+
'Literaki',
|
|
22
23
|
'Board',
|
|
23
24
|
'Open-source',
|
|
24
25
|
'Open',
|
|
@@ -26,14 +27,22 @@ const KEYWORDS = [
|
|
|
26
27
|
'Word',
|
|
27
28
|
'Finder',
|
|
28
29
|
'Cheating',
|
|
29
|
-
'Literaki',
|
|
30
30
|
'Word',
|
|
31
31
|
'English',
|
|
32
32
|
'Français',
|
|
33
|
+
'French',
|
|
33
34
|
'Deutsch',
|
|
35
|
+
'German',
|
|
34
36
|
'Polski',
|
|
37
|
+
'Polish',
|
|
35
38
|
'فارسی',
|
|
39
|
+
'Farsi',
|
|
36
40
|
'Español',
|
|
41
|
+
'Spanish',
|
|
42
|
+
'Română',
|
|
43
|
+
'Romanian',
|
|
44
|
+
'Türkçe',
|
|
45
|
+
'Turkish',
|
|
37
46
|
'SOWPODS',
|
|
38
47
|
'TWL06',
|
|
39
48
|
'SJP',
|