parent
2b9721d1b3
commit
63baab088d
34 changed files with 221 additions and 62 deletions
|
@ -2,7 +2,7 @@ const fs = require('fs');
|
|||
const path = require('path');
|
||||
const { default: manageTranslations } = require('react-intl-translations-manager');
|
||||
|
||||
const RFC5646_REGEXP = /^[a-z]{2,3}(?:|[A-Z]+)$/;
|
||||
const RFC5646_REGEXP = /^[a-z]{2,3}(?:|-[A-Z]+)$/;
|
||||
|
||||
const rootDirectory = path.resolve(__dirname, '..', '..');
|
||||
const translationsDirectory = path.resolve(rootDirectory, 'app', 'javascript', 'mastodon', 'locales');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue