Repository navigation
Pu/issue 36 #287
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
Merged
Pu/issue 36 #287
Changes from 48 commits
Commits
Show all changes
51 commits
Select commit
Hold shift + click to select a range
98f8d62
registering languages
izulin f1d0779
linter
izulin 39878ef
changing config
izulin 714c54e
Import HyperFormula from index
voodoo11 6384127
Merge branch 'develop' into pu/issue-36
izulin 7225021
linter, small fix
izulin a7de553
getSheetPrefix
izulin aaeee08
simpler
izulin 6aaccd1
refactor
izulin be008c8
simplifying the code
izulin daa2b48
.
izulin 3b223ea
Merge branch 'develop' into pu/issue-36
izulin b4bb05f
.
izulin 54a5db7
Merge branch 'develop' into pu/issue-36
izulin 0fa35dc
Merge branch 'develop' into pu/issue-36
izulin 81c6e09
Merge branch 'develop' into pu/issue-36
izulin b738e05
Update src/Config.ts
izulin 4cd791e
fallback on this test
izulin 333506c
Merge branch 'pu/issue-36' of https://github.com/handsontable/hyperfo…
izulin 85dac1d
packaging translationpackages into class
izulin 7f6406e
hermetization
izulin 7661eb1
hermetization
izulin 971836e
separate file
izulin 233252a
.
izulin ab59d18
Merge branch 'develop' into pu/issue-36
izulin 3f15681
methods
izulin ac896f9
docs
izulin d171099
registering/deregistering languages
izulin e36307e
linter
izulin 1be0607
fix
izulin 4f98beb
refactor
izulin 71b4b2f
unregister
izulin 2d48d1a
linter
izulin f0f7209
refactor
izulin dbd00f0
cleanup
izulin 30ec7cb
linter
izulin c92543f
nesting
izulin 378911a
linter
izulin 3c139a9
checking translation
izulin a191810
sanitization
izulin f21eb53
linter
izulin 4b6e209
Merge branch 'develop' into pu/issue-36
izulin 0381289
throwing errors
izulin 3321f89
meaningful errors
izulin 355ea84
smarter reload in config
izulin f9897de
.
izulin 754efff
Fix imports
voodoo11 7df5981
config not exported
izulin edb4486
cleanup
izulin 4c15583
errors
izulin f910846
desc
izulin 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
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
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
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,4 +1,4 @@ | ||
| import { CellError, EmptyValue } from './Cell' | ||
| import { CellError, EmptyValue, ErrorType } from './Cell' | ||
| import { CellValue, DetailedCellError, ExportedCellChange, ExportedNamedExpressionChange } from './CellValue' | ||
| import { | ||
| InvalidAddressError, | ||
|
|
@@ -10,7 +10,8 @@ import { | |
| } from './errors' | ||
| import {Sheets} from './GraphBuilder' | ||
| import {HyperFormula} from './HyperFormula' | ||
| import {enGB} from './i18n' | ||
| import {Config} from './Config' | ||
| import {languages} from './i18n' | ||
| import {LazilyTransformingAstService} from './LazilyTransformingAstService' | ||
|
|
||
| class HyperFormulaNS extends HyperFormula { | ||
|
|
@@ -26,7 +27,8 @@ class HyperFormulaNS extends HyperFormula { | |
| public static EvaluationSuspendedError = EvaluationSuspendedError | ||
| } | ||
|
|
||
| HyperFormula.registerLanguage('enGB', enGB) | ||
| const defaultLanguage = Config.defaultConfig.language | ||
| HyperFormula.registerLanguage(defaultLanguage, languages[defaultLanguage]) | ||
|
|
||
| export default HyperFormulaNS | ||
|
|
||
|
|
@@ -46,4 +48,5 @@ export { | |
| ExportedNamedExpressionChange, | ||
| NoOperationToUndo, | ||
| EvaluationSuspendedError, | ||
| ErrorType | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Any new export should be added to HyperFormulaNS as well. |
||
| } | ||
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
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
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
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
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
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be cool if for all five
Errormessages in this file we could introduce a new type:Usage:
Then we can describe them correctly within public API TSDoc. Thanks