-
-
Notifications
You must be signed in to change notification settings - Fork 974
refactor(locale)!: remove location data index-value-binding #2476
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
Merged
ST-DDT
merged 13 commits into
next
from
refactor/location/decouple-direction-data-index-from-representation-value
Apr 14, 2024
Merged
Changes from 4 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
ebfdb87
refactor(locale): remove location data index-value-coupling
xDivisionByZerox 28fbb1c
Merge branch 'next' into refactor/location/decouple-direction-data-in…
ST-DDT 08f7c97
Merge branch 'next' into refactor/location/decouple-direction-data-in…
ST-DDT d18f98b
Merge branch 'next' into refactor/location/decouple-direction-data-in…
ST-DDT 9318da8
refactor: add empty abbreviated directions
xDivisionByZerox 22604e3
Merge branch 'next' into refactor/location/decouple-direction-data-in…
ST-DDT f2a752f
Merge branch 'next' into refactor/location/decouple-direction-data-in…
xDivisionByZerox b7bcb6f
refactor(LocationDefinition): remove direction_abbr property
xDivisionByZerox 3235914
refactor(locale): update uz_UZ direction
xDivisionByZerox 4fb6917
docs: add migration snippet
xDivisionByZerox 4ed9ee3
Merge branch 'next' into refactor/location/decouple-direction-data-in…
ST-DDT a7de0ab
Merge branch 'next' into refactor/location/decouple-direction-data-in…
ST-DDT d4ed4f5
Merge branch 'next' into refactor/location/decouple-direction-data-in…
ST-DDT File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,6 @@ | ||
export default [ | ||
'Nord', | ||
'Øst', | ||
'Syd', | ||
'Vest', | ||
'Nordøst', | ||
'Nordvest', | ||
'Sydøst', | ||
'Sydvest', | ||
]; | ||
export default { | ||
cardinal: ['Nord', 'Øst', 'Syd', 'Vest'], | ||
cardinal_abbr: ['N', 'Ø', 'S', 'V'], | ||
ordinal: ['Nordøst', 'Nordvest', 'Sydøst', 'Sydvest'], | ||
ordinal_abbr: ['NØ', 'NV', 'SØ', 'SV'], | ||
}; |
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,6 @@ | ||
export default [ | ||
'North', | ||
'East', | ||
'South', | ||
'West', | ||
'Northeast', | ||
'Northwest', | ||
'Southeast', | ||
'Southwest', | ||
]; | ||
export default { | ||
cardinal: ['North', 'East', 'South', 'West'], | ||
cardinal_abbr: ['N', 'E', 'S', 'W'], | ||
ordinal: ['Northeast', 'Northwest', 'Southeast', 'Southwest'], | ||
ordinal_abbr: ['NE', 'NW', 'SE', 'SW'], | ||
}; |
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,6 @@ | ||
export default [ | ||
'nordo', | ||
'oriento', | ||
'sudo', | ||
'okcidento', | ||
'nordoriento', | ||
'nordokcidenta', | ||
'sudoriento', | ||
'sudokcidento', | ||
]; | ||
export default { | ||
cardinal: ['nordo', 'oriento', 'sudo', 'okcidento'], | ||
cardinal_abbr: ['N', 'E', 'S', 'U'], | ||
ordinal: ['nordoriento', 'nordokcidenta', 'sudoriento', 'sudokcidento'], | ||
ordinal_abbr: ['NE', 'NU', 'SE', 'SU'], | ||
}; |
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,6 @@ | ||
export default [ | ||
'شمال', | ||
'شرق', | ||
'جنوب', | ||
'غرب', | ||
'شمال شرق', | ||
'شمال غرب', | ||
'جنوب شرق', | ||
'جنوب غرب', | ||
]; | ||
export default { | ||
cardinal: ['شمال', 'شرق', 'جنوب', 'غرب'], | ||
cardinal_abbr: [], | ||
matthewmayer marked this conversation as resolved.
Show resolved
Hide resolved
|
||
ordinal: ['شمال شرق', 'شمال غرب', 'جنوب شرق', 'جنوب غرب'], | ||
ordinal_abbr: [], | ||
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,6 @@ | ||
export default [ | ||
'Nord', | ||
'Est', | ||
'Sud', | ||
'Ouest', | ||
'Nord-est', | ||
'Nord-ouest', | ||
'Sud-est', | ||
'Sud-ouest', | ||
]; | ||
export default { | ||
cardinal: ['Nord', 'Est', 'Sud', 'Ouest'], | ||
cardinal_abbr: [], | ||
ordinal: ['Nord-est', 'Nord-ouest', 'Sud-est', 'Sud-ouest'], | ||
ordinal_abbr: [], | ||
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,6 @@ | ||
export default [ | ||
'Nord', | ||
'Est', | ||
'Sud', | ||
'Ouest', | ||
'Nord-est', | ||
'Nord-ouest', | ||
'Sud-est', | ||
'Sud-ouest', | ||
]; | ||
export default { | ||
cardinal: ['Nord', 'Est', 'Sud', 'Ouest'], | ||
cardinal_abbr: [], | ||
ordinal: ['Nord-est', 'Nord-ouest', 'Sud-est', 'Sud-ouest'], | ||
ordinal_abbr: [], | ||
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,6 @@ | ||
export default [ | ||
'צפון', | ||
'מזרח', | ||
'דרום', | ||
'מערב', | ||
'צפון מזרח', | ||
'צפון מערב', | ||
'דרום מזרח', | ||
'דרום מערב', | ||
]; | ||
export default { | ||
cardinal: ['צפון', 'מזרח', 'דרום', 'מערב'], | ||
cardinal_abbr: ['צ', 'מז', 'ד', 'מע'], | ||
ordinal: ['צפון מזרח', 'צפון מערב', 'דרום מזרח', 'דרום מערב'], | ||
ordinal_abbr: ['צ-מז', 'צ-מע', 'ד-מז', 'ד-מע'], | ||
}; |
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
export default [ | ||
'Հյուսիսային', | ||
'Արևելյան', | ||
'Հարավային', | ||
'Արևմտյան', | ||
'Հյուսիսարևելյան', | ||
'Հյուսիսարևմտյան', | ||
'Հարավարևելյան', | ||
'Հարավարևմտյան', | ||
]; | ||
export default { | ||
cardinal: ['Հյուսիսային', 'Արևելյան', 'Հարավային', 'Արևմտյան'], | ||
cardinal_abbr: [], | ||
ordinal: [ | ||
'Հյուսիսարևելյան', | ||
'Հյուսիսարևմտյան', | ||
'Հարավարևելյան', | ||
'Հարավարևմտյան', | ||
], | ||
ordinal_abbr: [], | ||
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,6 @@ | ||
export default ['北', '東', '南', '西', '北東', '北西', '南東', '南西']; | ||
export default { | ||
cardinal: ['北', '東', '南', '西'], | ||
cardinal_abbr: [], | ||
ordinal: ['北東', '北西', '南東', '南西'], | ||
ordinal_abbr: [], | ||
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
// Source: https://pl.wikipedia.org/wiki/Strony_świata | ||
export default [ | ||
'północ', | ||
'wschód', | ||
'południe', | ||
'zachód', | ||
'północny wschód', | ||
'południowy wschód', | ||
'południowy zachód', | ||
'północny zachód', | ||
]; | ||
export default { | ||
cardinal: ['północ', 'wschód', 'południe', 'zachód'], | ||
cardinal_abbr: ['pn.', 'wsch.', 'pd.', 'zach.'], | ||
ordinal: [ | ||
'północny wschód', | ||
'południowy wschód', | ||
'południowy zachód', | ||
'północny zachód', | ||
], | ||
ordinal_abbr: ['pn. wsch.', 'pd. wsch.', 'pd. zach.', 'pn. zach.'], | ||
}; |
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,6 @@ | ||
export default [ | ||
'Norte', | ||
'Este', | ||
'Sul', | ||
'Oeste', | ||
'Nordeste', | ||
'Noroeste', | ||
'Sudeste', | ||
'Sodoeste', | ||
]; | ||
export default { | ||
cardinal: ['Norte', 'Este', 'Sul', 'Oeste'], | ||
cardinal_abbr: [], | ||
ordinal: ['Nordeste', 'Noroeste', 'Sudeste', 'Sodoeste'], | ||
ordinal_abbr: [], | ||
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,6 @@ | ||
export default [ | ||
'شمال', | ||
'مشرق', | ||
'جنوب', | ||
'مغرب', | ||
'شمال مشرق', | ||
'سمال مغرب', | ||
'جنوب مشرق', | ||
'جنوب مغرب', | ||
]; | ||
export default { | ||
cardinal: ['شمال', 'مشرق', 'جنوب', 'مغرب'], | ||
cardinal_abbr: [], | ||
ordinal: ['شمال مشرق', 'سمال مغرب', 'جنوب مشرق', 'جنوب مغرب'], | ||
ordinal_abbr: [], | ||
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.