chore(translations): fix translation literals (#17501)

* chore(translations): fix translation literals

* fix table name types and translations

* fix lint

* join concat'd messages
This commit is contained in:
Ville Brofeldt
2021-11-23 10:06:09 +02:00
committed by GitHub
parent d05c561d7c
commit 5d1c9078ad
21 changed files with 188 additions and 122 deletions

View File

@@ -83,12 +83,14 @@ class App extends React.PureComponent {
this.props.actions.addDangerToast(
t(
"SQL Lab uses your browser's local storage to store queries and results." +
`\n Currently, you are using ${currentUsage.toFixed(
2,
)} KB out of ${LOCALSTORAGE_MAX_USAGE_KB} KB. storage space.` +
'\n To keep SQL Lab from crashing, please delete some query tabs.' +
'\n You can re-access these queries by using the Save feature before you delete the tab. ' +
'Note that you will need to close other SQL Lab windows before you do this.',
'\nCurrently, you are using %(currentUsage)s KB out of %(maxStorage)d KB storage space.' +
'\nTo keep SQL Lab from crashing, please delete some query tabs.' +
'\nYou can re-access these queries by using the Save feature before you delete the tab.' +
'\nNote that you will need to close other SQL Lab windows before you do this.',
{
currentUsage: currentUsage.toFixed(2),
maxStorage: LOCALSTORAGE_MAX_USAGE_KB,
},
),
);
}