You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
console.error('\n✋ Uh oh! Detected changes in the /translations directory.')
24
+
console.error('\n✋ Uh oh! Detected changes to the following files in the `/translations` directory:')
25
+
console.table(localizedFilenames.join('\n'))
25
26
console.error('The content in this directory is managed by our Crowdin integration and should not be edited directly in the repo.')
26
27
console.error('For more information on how the localization process works, see translations/README.md')
27
-
console.error('\nPlease revert your changes to the following files:\n')
28
-
console.table(localizedFilenames.join('\n'))
29
-
console.error('\nTip #1: You can unstage these changes on the command line using `git restore --staged translations`\n')
30
-
console.error('\nTip #2: You can bypass this hook by setting `ALLOW_TRANSLATION_COMMITS=true` in your .env file.`\n')
28
+
console.error('\nIf you have accidentally edited these files, you can unstage these changes on the command line using `git restore --staged translations`\n')
29
+
console.error('\nIf you are performing a merge from `main`, you should bypass this hook by using ` git commit --no-verify`\n')
30
+
console.error('\nIf you need to edit translated files often, you can set `ALLOW_TRANSLATION_COMMITS=true` in your .env file.`\n')
0 commit comments