Commit Graph

243 Commits

Author SHA1 Message Date
Matt Isenhower
479bf4cfba Fix an issue where some gear displayed the wrong name
The "Annaki Blue Cuff" and "Moist Ghillie Helmet" both share the same ID (7010), but they are of different kinds. I didn't realize gear of different kinds could share the same ID, so the localization code didn't take this into account.
This change also makes the localization code work with multi-part IDs.
2018-01-12 16:26:43 -08:00
Matt Isenhower
da59394901 Update original gear data 2018-01-12 11:25:44 -08:00
Matt Isenhower
2bfc784a84 Improve tweets for global Splatfests 2018-01-12 11:17:59 -08:00
Matt Isenhower
3bd1e688f1 Tweak wording on the "new stage" tweet 2018-01-12 11:17:53 -08:00
Matt Isenhower
12fc03f55e Tweak wording in "new weapon" tweet 2018-01-07 12:07:31 -08:00
Matt Isenhower
f0ebdb8db1 Add some more German translations
#9
2017-12-13 10:54:36 -08:00
Matt Isenhower
9105888ea2 Localize "original gear" text 2017-12-12 18:18:47 -08:00
Matt Isenhower
0069ed622c Add German translations (provided by GitHub user lolametro)
#9
2017-12-12 18:16:22 -08:00
Matt Isenhower
2f4947690c Continue trying other requests even if one fails 2017-12-12 18:12:56 -08:00
Matt Isenhower
31470f5cc1 Add monthly Salmon Run gear tweet
Closes #7.
2017-12-10 17:43:51 -08:00
Matt Isenhower
a9d46c1600 Add total number of votes/wins for each team in the Splatfest results 2017-12-10 17:16:48 -08:00
Matt Isenhower
9c92314a36 Simplify Splatfest winner determination
We don't actually need to calculate this because it's included in the data retrieved from SplatNet.
This also renames the "splatfest.results.votes" translation key to make it consistent with the other keys.
2017-12-10 17:06:45 -08:00
Matt Isenhower
146dad3554 Add a shadow to the winner marks in the Splatfest results 2017-12-10 16:53:27 -08:00
Matt Isenhower
c430074885 Add winner info to the Splatfest results tweet 2017-12-09 13:19:31 -08:00
Matt Isenhower
d0c8a41400 Simplify the Splatfest results box HTML and display the winner name 2017-12-09 12:48:40 -08:00
Matt Isenhower
8b0c1641f4 Force cache busting on the Splatfest image
There was an issue with the NA Splatfest image download, adding this in for now just to make sure nobody has a cached version of the old one.
2017-12-09 09:31:27 -08:00
Matt Isenhower
cb11dbfda1 Fix issues that prevented the Splatfest images from downloading
It was trying to encode the images as JSON and errors were being discarded silently.
2017-12-09 09:21:25 -08:00
Matt Isenhower
bd2b60ddf2 Fix some issues with the Russian translations
There should actually be three plural forms.
2017-12-06 21:08:01 -08:00
Matt Isenhower
370fd0a1dc Fix issues with the dropdowns on mobile
v-click-outside uses the "touchstart" event to detect clicks/touches outside of the specified element on mobile. Since touchstart occurs at the beginning of the touch and "click" occurs at the end, the menu was being hidden before the click event could go through.
This actually may have still worked if I had used "touchend" but it looks better for the menu to stay open until the touch ends, so @touchstart.stop prevents the event from propagating up to v-touch-outside.
2017-12-06 21:00:05 -08:00
Matt Isenhower
99e20f6dcc Improve dropdown alignment on mobile 2017-12-06 20:49:30 -08:00
Matt Isenhower
1bf0330b25 Update JS package versions 2017-12-06 20:24:47 -08:00
Matt Isenhower
4ff393f4dd Add some French translations (provided by @SplatEvilSquid) 2017-12-05 09:17:02 -08:00
Matt Isenhower
74cb8a9649 Use the selected locale for date/time formats 2017-12-05 09:06:38 -08:00
Matt Isenhower
c21b941e58 Fix a mistake, reload the language data when changing languages 2017-12-04 19:10:37 -08:00
Matt Isenhower
031b60a691 Add a language selector to the footer 2017-12-04 19:01:08 -08:00
Matt Isenhower
e9a38c3a0f Add a donation link to the about dialog 2017-12-04 17:10:25 -08:00
Matt Isenhower
84e38be351 Add missing translation for "now open!" 2017-12-04 16:50:04 -08:00
Matt Isenhower
763c9d34e5 Change public folder to "locale" 2017-12-04 16:45:33 -08:00
Matt Isenhower
dda40572e7 Fix "new weapon" box size with certain translations 2017-12-04 16:42:56 -08:00
Matt Isenhower
715ca07006 Add translations for "common gear ability" 2017-12-04 16:38:30 -08:00
Matt Isenhower
9dbaf342a6 Fix some missing translations in the Salmon Run box 2017-12-04 16:33:09 -08:00
Matt Isenhower
751da9fb45 Add translations for Splatfest results 2017-12-04 16:30:02 -08:00
Matt Isenhower
1dfc772de1 Prevent translation files from getting reordered 2017-12-04 16:26:24 -08:00
Matt Isenhower
cf9c9da3ff Add translations for relative times 2017-12-04 15:34:00 -08:00
Matt Isenhower
0684e434f4 Add translations for most of the rest of the UI 2017-12-04 13:19:37 -08:00
Matt Isenhower
211e48fc91 Add locale-man to make adding localizations easier 2017-12-04 11:17:17 -08:00
Matt Isenhower
be38bc4cea Add a helper script for retrieving language data from SplatNet
This will help for manually-specified translations.
2017-12-04 10:15:29 -08:00
Matt Isenhower
88e09ba293 Automatically detect the browser's language and download language files 2017-12-03 22:03:25 -08:00
Matt Isenhower
7e4fd8eb4a Implement language translations for SplatNet data
This isn't detecting the language or downloading the additional language files yet.
2017-12-03 13:27:28 -08:00
Matt Isenhower
db6d018ef5 Retrieve localized string data from SplatNet 2017-12-03 13:27:28 -08:00
Matt Isenhower
2a5f2ed684 Tweak Salmon Run borders 2017-12-03 10:50:27 -08:00
Matt Isenhower
33f4a5573d Update original gear data
All the 2.0 gear has been added to the normal gear pages, so it's no longer necessary to load the 2.0 gear page.
2017-12-03 10:50:03 -08:00
Matt Isenhower
fae20c6091 Add formatted JSON utility function 2017-12-03 10:48:26 -08:00
Matt Isenhower
c804db495c Improve appearance of Splatfest results box 2017-12-01 10:50:39 -08:00
Matt Isenhower
f94032abb7 Fix math 2017-12-01 09:16:57 -08:00
Matt Isenhower
9f431753c5 Splatfest tweet: add a space at the bottom when viewing results
This prevents the labels from being cut off at the bottom.
2017-11-30 22:02:40 -08:00
Matt Isenhower
a33ab260eb Make the gear image clickable on mobile
This was being blocked by the fake image spacer.
2017-11-30 21:53:29 -08:00
Matt Isenhower
008894eecf Improve appearance of Salmon Run box 2017-11-30 21:51:05 -08:00
Matt Isenhower
283e59f92d Fix some mistakes 2017-11-30 21:21:49 -08:00
Matt Isenhower
2504b6257f Update tweets to show ranked/league game modes and Salmon Run map names
This should add some variance to the tweet text to avoid having the account filtered as spam.
2017-11-29 11:35:24 -08:00