translationRunner: fix root directory

x-truth-ads
Alex Gleason 2022-11-08 11:48:56 -06:00
rodzic 2722e418f2
commit 0e1a369c36
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 7211D1F99744FBB7
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -6,7 +6,7 @@ const { default: manageTranslations, readMessageFiles } = require('react-intl-tr
const RFC5646_REGEXP = /^[a-z]{2,3}(?:-(?:x|[A-Za-z]{2,4}))*$/;
const rootDirectory = path.resolve(__dirname, '..');
const rootDirectory = path.resolve(__dirname);
const translationsDirectory = path.resolve(rootDirectory, 'app', 'soapbox', 'locales');
const messagesDirectory = path.resolve(rootDirectory, 'build', 'messages');
const availableLanguages = fs.readdirSync(translationsDirectory).reduce((languages, filename) => {