Add references to status/updates twitter.

This commit is contained in:
Gareth Latty
2020-05-30 01:44:17 +01:00
parent b0ab6eac05
commit 855423a125
7 changed files with 35 additions and 2 deletions
+4 -1
View File
@@ -2,6 +2,7 @@
[![Build Status](https://img.shields.io/github/workflow/status/Lattyware/massivedecks/Build%20and%20publish%20docker%20images.)](https://github.com/Lattyware/massivedecks/actions)
[![License](https://img.shields.io/github/license/Lattyware/massivedecks)](LICENSE)
[![Follow on Twitter for Status & Updates](https://img.shields.io/twitter/follow/Massive_Decks?label=Status%20%26%20Updates&style=social)][twitter]
Massive Decks is a free, open source comedy party game based on [Cards against Humanity][cah]. Play with friends!
@@ -9,11 +10,12 @@ Massive Decks is a free, open source comedy party game based on [Cards against H
[hosted]: https://md.rereadgames.com/
[cah]: https://cardsagainsthumanity.com/
[twitter]: https://twitter.com/Massive_Decks
## Features
- Play together in the same room or online.
- Use any device (Mobile phone, PC, Chromecast, anything with a web browser).
- Use any device (Phone, PC, Chromecast, anything with a web browser).
- You can set up a central screen, but you don't need to (no need to stream anything for other players online).
- Custom decks (via [Many Decks][many-decks]).
- Customise the rules:
@@ -23,6 +25,7 @@ Massive Decks is a free, open source comedy party game based on [Cards against H
- Custom time limits if you want them.
- Spectators.
- Keeps your game private by default, you can also set a game password if needed.
- Community translations.
[many-decks]: https://decks.rereadgames.com/
@@ -42,6 +42,7 @@ view shared route model =
, Card.view [ HtmlA.class "help" ]
[ Html.h3 [] [ Lang.html shared Strings.ErrorHelpTitle ]
, Html.p [] [ Lang.html shared Strings.ErrorHelp ]
, Html.p [] [ Lang.html shared Strings.ErrorCheckOutOfBand ]
]
, Html.div [ HtmlA.class "errors" ] (List.map (Error.view shared route) model.errors)
]
+2
View File
@@ -309,6 +309,8 @@ type MdString
| Error -- A title for a generic error (something having gone wrong).
| ErrorHelp -- A message telling the user that an error has occurred and what to do.
| ErrorHelpTitle -- A title saying something went wrong.
| ErrorCheckOutOfBand -- A message to check the twitter account for more information on the service's status.
| TwitterHandle -- A description of the twitter account.
| ReportError -- The action to report an error with the application to a developer.
| ReportErrorDescription -- A description of the action of reporting an error to a developer.
| ReportErrorBody -- An explanation of how to report an error to the developer.
@@ -1070,6 +1070,12 @@ translate mdString =
ErrorHelpTitle ->
[ Text "Sorry, something went wrong." ]
ErrorCheckOutOfBand ->
[ Text "Please check ", Ref TwitterHandle, Text " for updates and service status. The game server will go down for a short time when a new version is released, so if you see a recent update, try again in a few minutes." ]
TwitterHandle ->
[ Text "@Massive_Decks" ]
ReportError ->
[ Text "Report Bug" ]
@@ -1105,6 +1105,14 @@ translate mdString =
ErrorHelpTitle ->
[ Text "Spiacenti, qualcosa è andato storto." ]
-- TODO: Translate
ErrorCheckOutOfBand ->
[ Missing ]
-- TODO: Translate
TwitterHandle ->
[ Missing ]
ReportError ->
[ Text "Segnala bug" ]
@@ -313,7 +313,8 @@ translate mdString =
HouseRuleNeverHaveIEverDescription ->
[ Text "A qualquer momento, um jogador pode descartar as cartas que ele não entende, porém, ele deve confessar sua "
, Text "ignorância: a carta é compartilhada publicamente." ]
, Text "ignorância: a carta é compartilhada publicamente."
]
MustBeMoreThanOrEqualValidationError { min } ->
[ Text "O valor deve ser ao menos ", Text (String.fromInt min), Text "." ]
@@ -1084,6 +1085,14 @@ translate mdString =
ErrorHelpTitle ->
[ Text "Desculpe, algo de errado não está certo." ]
-- TODO: Translate
ErrorCheckOutOfBand ->
[ Missing ]
-- TODO: Translate
TwitterHandle ->
[ Missing ]
ReportError ->
[ Text "Reportar Bug" ]
@@ -1,5 +1,6 @@
module MassiveDecks.Strings.Render exposing (asHtml, asString)
import FontAwesome.Brands as Icon
import FontAwesome.Icon as Icon exposing (Icon)
import FontAwesome.Solid as Icon
import Html as Html exposing (Html)
@@ -221,6 +222,9 @@ enhanceHtml context mdString unenhanced =
TranslationBeg ->
[ Html.blankA [ HtmlA.href "https://github.com/Lattyware/massivedecks/wiki/Translation" ] unenhanced ]
TwitterHandle ->
[ Html.blankA [ HtmlA.href "https://twitter.com/Massive_Decks" ] (suffixed unenhanced Icon.twitter) ]
Error ->
prefixed unenhanced Icon.exclamationTriangle