Skip to content

Commit

Permalink
Fixed formatting and markdown linting errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
GioBonvi committed Oct 1, 2018
1 parent 68c5c41 commit a8744a9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,11 @@ Before submitting a PR:

- If you've updated translation strings, please check that you have used the same
format as the other entries, for example:

```javascript
'You can find the latest one here': 'Puoi trovare l\'ultima qui',
```

- Both the "from" and "to" parts of each entry are surrounded by single-quotes
(`'aa'`)
- Any single-quotes within the "from" or "to" are escaped with a backslash
Expand Down
4 changes: 3 additions & 1 deletion .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ What action or series of actions is the cause of the issue?

### Expected behavior

What should happen?
What should happen?

### Current behavior

Expand All @@ -34,9 +34,11 @@ What happens instead?

- Version of the script: x.x.x - look for a line near the top of the code which
reads:

```javascript
version: 'w.x.y-z',
```

- Any other details which might be related to the context;

### Extended description
Expand Down
4 changes: 4 additions & 0 deletions docs/translation-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ To add a new language:
'You can find the latest one here': 'Puoi trovare l\'ultima qui',
},
```

- Paste it just below itself, like this:

```javascript
'it': {
'Age': 'Età',
Expand All @@ -50,6 +52,7 @@ To add a new language:
'You can find the latest one here': 'Puoi trovare l\'ultima qui',
},
```

- Replace the language code of your translation with your language code and
proceed to translate every item in the list, leaving the string on the left of
the `:` unchanged and translating the one on the right, like this:
Expand All @@ -66,6 +69,7 @@ To add a new language:
'You can find the latest one here': 'Die aktuelle Version findest du hier',
},
```

- These are some things you have to keep in mind to do this correctly:
1. Remember to put a comma at the end of each line except after the open curly
bracket.
Expand Down

0 comments on commit a8744a9

Please sign in to comment.