Commit Graph

426 Commits

Author SHA1 Message Date
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
Matt Isenhower
ec5aefb162 Add #maprotation hashtag to make it easier to mute these tweets 2017-11-28 09:07:56 -08:00
Matt Isenhower
63a8a11b21 More new gear updates 2017-11-28 09:04:50 -08:00
Matt Isenhower
f355c98631 Update new gear from Inkipedia 2017-11-27 15:44:46 -08:00
Matt Isenhower
6608e33267 Add v2 gear data
Inkipedia's data isn't complete yet, but this at least gets the original abilities for most gear.
2017-11-27 14:28:18 -08:00
Matt Isenhower
ced0594c4f Add a tweet for when a new stage has been posted 2017-11-25 15:17:41 -08:00
Matt Isenhower
9a9c8cdb66 Use alternate text for the schedule tweet when there's a new stage 2017-11-25 15:17:41 -08:00
Matt Isenhower
81f35e9a32 Track the time when a stage is first seen and first available
This will be used for tweets.
2017-11-25 15:17:41 -08:00
Matt Isenhower
a39a6f8354 Move last tweet times to the storage directory 2017-11-25 15:17:40 -08:00
Matt Isenhower
66686eca2f Move utilities out of the Twitter folder since they're going to be used elsewhere 2017-11-25 15:17:34 -08:00
Matt Isenhower
89dbc4ed57 Fix a potential issue
Tilting the merchandise box fixes this but relying on that seems to cause some flickering during animations. This might be more of an issue on Firefox.
2017-11-25 13:15:17 -08:00
Matt Isenhower
c9f287a5f6 Remove original_gear brand data from merchandises.json
This is a bit redundant and doesn't really add anything we don't already have.
2017-11-24 14:34:19 -08:00
Matt Isenhower
0cdfcbcd25 Enhance merchandises.json with original gear data when possible
Previously this was included as part of the site JS bundle, but it makes more sense to add it to the merchandises.json file. This reduces the site bundle size and makes the data more easily accessible to other sites/apps/etc. that want the data.
2017-11-24 14:28:31 -08:00
Matt Isenhower
589a6542ec Save images to the old path as well for now
I think people tend to leave the site open in a tab for days/weeks at a time, so if anyone has the site open for a while and some new gear comes out this will let them continue to see the image with the old version of the site JS.
2017-11-24 13:54:03 -08:00
Unknown
a329e5d28d Update JS packages 2017-11-24 13:47:30 -08:00
Unknown
1f19c3ba3c Refactor SplatNet API 2017-11-24 13:47:30 -08:00
Unknown
8bcb4a35fc Refactor SplatNet data updaters
This also changes the output paths for SplatNet images to make them follow the original paths (rather than just using the original filenames).
2017-11-24 13:47:30 -08:00
Unknown
5fa3c1110d Remove weapon update code
This was used for the Salmon Run admin dialog, but that's no longer needed since Salmon Run schedules are now available via SplatNet. Removing this for now since I don't really need the weapons database anywhere now and since I'm going to refactor the SplatNet updater.
2017-11-24 13:47:30 -08:00