Commit Graph

146 Commits (0aef5b0df63eb8df1396635b5460107065d423ac)

Author SHA1 Message Date
David Corry 0aef5b0df6 Seems to truly fix setupTheming loading across browsers. 5 years ago
David Corry bcbcea96b7 Minor bugfix to ensure auto theming works. 5 years ago
David Corry ac47d9536e Merge remote-tracking branch 'upstream/master' 5 years ago
David Corry 8d1343e635 Make sure setupTheming gets called after localization has been loaded. 5 years ago
David Corry 31000483be Add user control over theming. 5 years ago
defaultscore 1706999d6e
Update translations.js 5 years ago
David Corry b617844317 Adjust chart colors, and update them automatically to match theme. 5 years ago
Mike Bryant d8cbdf5b9b Update js/translations.js
Co-authored-by: Splash <devsplash@live.com>
5 years ago
Mike Bryant 5cdb75caf6 fix: Fall back to more generic languages for selection box default 5 years ago
daniel-giralt-len 689ac0983f fix: radio inputs call updateContent twice 5 years ago
Popiolken d32def3c96
Update translations.js 5 years ago
Popiolken 96fb2f6438
Add pl (Polish) translation 5 years ago
Jollus88 13664cd37a adding delay after user input to prevent jank as chart refreshes (cont) 5 years ago
Jollus88 dd63511130 adding delay after user input to prevent jank as chart refreshes 5 years ago
Noppadol 1ce07dc374 feat(translation): Add TH (Thai) Translation
chore(translation): Make wording more friendly  


chore(translation): New line in TH JSON file


chore(translation): Change locale code to th-TH
5 years ago
Mike Bryant 5ed9da3f40
Merge pull request #277 from mcpower/pdf-fix
Various improvements to PDF
5 years ago
Chris Chambers 6d61156e8c feat: Use predicted buy price for styling if none is entered 5 years ago
Mike Bryant 8e8c80b491 fix: Allow people to input the buy price even as a first time buyer
This will give us a basis for colouring. Also remove the Sunday prices from the table, to avoid confusion and questions when people ask why the Sunday price is different to the one they put in. This has the added bonus of making the table smaller, and doesn't really remove any relevant information for the future.

Fixes #288
5 years ago
Mike Bryant 7d2b7d3def
Merge pull request #286 from daniel-giralt-len/translate-to-catalan
Add catalan translation
5 years ago
daniel-giralt-len 03a2bdacab Add catalan translation 5 years ago
Mike Bryant ea5b0fa5da fix: Decrease precision for tiny numbers
When the numbers are so small then end up in e notation is pushes
everything too far to the right. Give up when it's too small to be
really useful.
5 years ago
mcpower 68024da9c6 Various improvements to PDF
- Use [x, x+1) instead of [x-0.5, x+0.5), ensuring that min_value() and
  max_value() return integers
- Fix range_of and max_value being off by epsilon
- Use improved Kahan–Babuska algorithm for floating point summation

These improvements:
- improve the accuracy of PDF by at least a factor of 2 when calculating
  the Irwin-Hall distribution with n=3 (see associated PR with test code)
- fixes pdf.range_limit([pdf.value_start, pdf.value_end]) incorrectly
  mutating the PDF and returning a value that is not 1
- fixes the decreasing pattern with buy=100 incorrectly being calculated
  with max predictions which are 1 too high
5 years ago
Frederik Goovaerts 2e3a0bf030 Fix formatting 5 years ago
Frederik Goovaerts b1c7860aa6 Calculate with estimated buy price without modifying original input values 5 years ago
Frederik Goovaerts 5c395e8173 Add Dutch translation reference in translations.js 5 years ago
Mike Bryant e98835d98c
Merge pull request #245 from smileyhead/master
Add Hungarian translation
5 years ago
Rex Tsou df8c260e24 fix: prevent variable being declared globally
Fixes #238
5 years ago
Lawrence Luk c36290d83a calculate pretty pastel colours based on potential profit 5 years ago
smileyhead be9954309a
Add Hungarian to translations.js 5 years ago
Lawrence Luk e16aba23ed Merge branch 'master' of https://github.com/mikebryant/ac-nh-turnip-prices into mikebryant-master 5 years ago
Mike Bryant b5f8756be3
Merge pull request #239 from Perlmint/master
Add korean translation
5 years ago
Mike Bryant dd6b3e30fc
Merge pull request #242 from akccakcctw/perf/better-perfomance-for-contributors-js
Update contributors.js for better performance
5 years ago
mcpower f5e0a0bcd4 Use exact numbers for steady state probabilities 5 years ago
Gyusun Yeom 00a81fb930
Add korean translation 5 years ago
Rex Tsou 58afb74d46 Update contributors.js for better performance
append element to the DOM too many times may cause performance issue,
so do it only once.
5 years ago
Mike Bryant fed92c1974 fix: Only use a fudge factor if we fail to find patterns normally 5 years ago
Mike Bryant 687deae4ee refactor: Move fudge factor to class parameter 5 years ago
Mike Bryant 04ea27b2c5
Merge pull request #211 from DevSplash/patch-1
Fix #204
5 years ago
Mike Bryant 4a0ee7f878
Merge pull request #206 from mikebryant/refactor-predictor-class
refactor: Move Predictor into class
5 years ago
Mike Bryant 725bba5ec9 refactor: Move Predictor into class 5 years ago
Splash 76aee04cc8
Fix #204
Fix https://github.com/mikebryant/ac-nh-turnip-prices/issues/204
5 years ago
Splash 7b7e80ddcc
Automatic sorting 5 years ago
Lawrence Luk 5bdf9668f9 merge from master 5 years ago
Splash a96a90c83a
Sort language list alphabetically 5 years ago
Mike Bryant f2e43772eb
Merge pull request #185 from captaincurls/patch-1
Russian translation for the app
5 years ago
Dmitrii baa9e8188b
Update translations.js 5 years ago
KeruWolf cc5311cc27
Add Spanish to language selection
Hi!
Could Spanish be added to the language selection option?
Thanks ♥
5 years ago
Dmitrii 399dd80580
Update translations.js 5 years ago
Aymeric Giraudet 3dd9671195 Added french language option in select
Fixed json formatting and comma

removed trailing return
5 years ago
Mike Bryant 13d0cd6937 fix: Add missing comma 5 years ago