3.18.128 • Published 2 days ago

scratch-l10n v3.18.128

Weekly downloads
4,203
License
BSD-3-Clause
Repository
github
Last release
2 days ago

scratch-l10n

Translation of all Scratch projects is managed on the Transifex service: https://www.transifex.com/llk/public

This repository collects translations submitted to the Scratch projects on Transifex. Please do not submit PRs. If you would like to contribute translations, please sign up to translate on Transifex.

Using scratch-l10n in development

Basic Use

import locales, {localeData, isRtl} from 'scratch-l10n';
import editorMessages from 'scratch-l10n/locales/editor-messages';
  • locales: currently supported locales for the Scratch project
  • isRtl: function that returns true if the locale is one that is written right-to-left
  • localeData: locale data for the supported locales, in the format accepted by addLocaleData required by react-intl
  • editorMessages: the actual message strings for all supported locales for a particular resource. editorMessages collects all the strings for the interface, extensions and paint-editor.

Useful Scripts

scratch-l10n provides:

  • build-i18n-src: script that uses babel and plugins to extract all FormattedMessage strings for translation. Combines the message from all the source files into one en.json
  • tx-push-src: script to push the en.json file to Transifex. Requires that the environment variable TX_TOKEN is set with a value that has developer access to the Scratch projects on Transifex (i.e. Scratch Team only)

Versioning

scratch-l10n uses semantic versioning - breaking changes will increment the major version number, and new features (e.g. a new language) will increment the minor version number. Pulling new translations from Transifex is automated and will increase the patch version.

Deprecations

We are moving away from using the tx cli, so the .tx/config file will eventually be deprecated.

Committing

This project uses semantic release to ensure version bumps follow semver so that projects depending on it don't break unexpectedly.

In order to automatically determine version updates, semantic release expects commit messages to follow the conventional-changelog specification.

Here's a quick introduction:

  • Prefix your commit subject with fix: if it fixes a bug but doesn't add any new functionality and doesn't change the API.
  • Prefix your commit subject with feat: if it adds new functionality but maintains backwards compatibility.
  • Include BREAKING CHANGE: as a footer in your commit body, or add ! to the commit subject, if the change breaks compatibility with existing code.
  • Other prefixes, such as chore:, docs:, etc., are allowed but will not change the version or cause a new release. These should only be used for changes that do not affect functionality.

Example commit messages

For more examples, see the conventional commits documentation.

Fix

This will increase the z in Version x.y.z.

fix: fix typo in the sandwich-making instructions

Feature

This will increase the y in Version x.y.z and reset z to 0.

feat: add support for halloumi cheese

Breaking Change

Either of these will increase the x in Version x.y.z and reset y and z to 0.

fix: refine our definition of a sandwich

BREAKING CHANGE: support for hot dogs has been removed as we no longer consider them sandwiches
fix!: remove support for hot dogs as we no longer consider them sandwiches

Commitizen

You can use the commitizen CLI to make commits formatted in this way:

npm install -g commitizen@latest cz-conventional-changelog@latest

Now you're ready to make commits using git cz.

3.18.128

2 days ago

3.18.127

2 days ago

3.18.126

3 days ago

3.18.125

3 days ago

3.18.124

4 days ago

3.18.122

6 days ago

3.18.121

7 days ago

3.18.123

5 days ago

3.18.120

7 days ago

3.18.119

8 days ago

3.18.118

9 days ago

3.18.115

12 days ago

3.18.117

10 days ago

3.18.116

12 days ago

3.18.114

13 days ago

3.18.111

15 days ago

3.18.113

14 days ago

3.18.112

15 days ago

3.18.110

17 days ago

3.18.108

19 days ago

3.18.107

19 days ago

3.18.109

19 days ago

3.18.106

20 days ago

3.18.105

21 days ago

3.18.104

22 days ago

3.18.103

23 days ago

3.18.102

24 days ago

3.18.100

26 days ago

3.18.101

26 days ago

3.18.99

27 days ago

3.18.97

27 days ago

3.18.98

27 days ago

3.18.94

28 days ago

3.18.95

28 days ago

3.18.96

28 days ago

3.18.93

29 days ago

3.18.92

29 days ago

3.18.91

1 month ago

3.18.90

1 month ago

3.18.89

1 month ago

3.18.88

1 month ago

3.18.87

1 month ago

3.18.83

1 month ago

3.18.86

1 month ago

3.18.84

1 month ago

3.18.85

1 month ago

3.18.82

1 month ago

3.18.81

1 month ago

3.18.80

1 month ago

3.18.79

1 month ago

3.18.77

1 month ago

3.18.78

1 month ago

3.18.76

1 month ago

3.18.75

1 month ago

3.18.72

1 month ago

3.18.73

1 month ago

3.18.74

1 month ago

3.18.71

2 months ago

3.18.70

2 months ago

3.18.68

2 months ago

3.18.69

2 months ago

3.18.66

2 months ago

3.18.67

2 months ago

3.18.64

2 months ago

3.18.65

2 months ago

3.18.62

2 months ago

3.18.63

2 months ago

3.18.59

2 months ago

3.18.58

2 months ago

3.18.60

2 months ago

3.18.61

2 months ago

3.18.57

2 months ago

3.18.56

2 months ago

3.18.55

2 months ago

3.18.53

2 months ago

3.18.54

2 months ago

3.18.52

2 months ago

3.18.51

2 months ago

3.18.50

2 months ago

3.18.48

2 months ago

3.18.49

2 months ago

3.18.47

2 months ago

3.18.46

2 months ago

3.18.45

2 months ago

3.18.44

2 months ago

3.18.42

2 months ago

3.18.43

2 months ago

3.18.39

2 months ago

3.18.37

2 months ago

3.18.38

2 months ago

3.18.40

2 months ago

3.18.41

2 months ago

3.18.28

2 months ago

3.18.29

2 months ago

3.18.26

2 months ago

3.18.27

2 months ago

3.18.24

2 months ago

3.18.25

2 months ago

3.18.23

2 months ago

3.18.35

2 months ago

3.18.36

2 months ago

3.18.33

2 months ago

3.18.34

2 months ago

3.18.31

2 months ago

3.18.32

2 months ago

3.18.30

2 months ago

3.18.22

2 months ago

3.18.20

2 months ago

3.18.21

2 months ago

3.18.19

2 months ago

3.18.18

2 months ago

3.18.7

2 months ago

3.18.9

2 months ago

3.18.8

2 months ago

3.18.17

2 months ago

3.18.15

2 months ago

3.18.16

2 months ago

3.18.13

2 months ago

3.18.14

2 months ago

3.18.11

2 months ago

3.18.12

2 months ago

3.18.10

2 months ago

3.18.6

2 months ago

3.18.5

3 months ago

3.18.4

3 months ago

3.18.3

3 months ago

3.18.2

3 months ago

3.18.1

3 months ago

3.18.0

4 months ago

1.0.0

4 months ago

3.15.20230610032201

11 months ago

3.15.20230706032213

10 months ago

3.15.20230530032208

11 months ago

3.15.20230630032209

10 months ago

3.15.20230623032228

10 months ago

3.15.20230627032203

10 months ago

3.15.20230614032217

11 months ago

3.15.20230717032228

10 months ago

3.15.20230618032152

11 months ago

3.15.20230620032154

11 months ago

3.15.20230622032210

11 months ago

3.15.20230615032202

11 months ago

3.15.20230628032227

10 months ago

3.15.20230606032220

11 months ago

3.15.20230701032155

10 months ago

3.15.20230526032224

11 months ago

3.15.20230702032144

10 months ago

3.15.20230711032212

10 months ago

3.15.20230703032155

10 months ago

3.15.20230713032224

10 months ago

3.15.20230529032211

11 months ago

3.15.20230704032156

10 months ago

3.15.20230602032214

11 months ago

3.15.20230601032231

11 months ago

3.15.20230707032150

10 months ago

3.15.20230607032205

11 months ago

3.15.20230629032156

10 months ago

3.15.20230527032201

11 months ago

3.15.20230605032207

11 months ago

3.15.20230616032229

11 months ago

3.15.20230626032211

10 months ago

3.15.20230611032159

11 months ago

3.15.20230617032419

11 months ago

3.15.20230718032211

10 months ago

3.15.20230524032205

11 months ago

3.15.20230621032221

11 months ago

3.15.20230709032152

10 months ago

3.15.20230521032145

12 months ago

3.15.20230712032154

10 months ago

3.15.20230523032203

12 months ago

3.15.20230612032227

11 months ago

3.15.20230531032626

11 months ago

3.15.20230714032252

10 months ago

3.15.20230520032146

12 months ago

3.15.20230519032230

12 months ago

3.15.20230510032150

12 months ago

3.15.20230517032217

12 months ago

3.15.20230518032217

12 months ago

3.15.20230507032520

12 months ago

3.15.20230513032248

12 months ago

3.15.20230515032159

12 months ago

3.15.20230514032149

12 months ago

3.15.20230516032248

12 months ago

3.9.0

4 years ago

0.1.0

7 years ago