mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
Merge pull request #329 from gristlabs/sendpage-translation
Fixing translation key for sendAppPage.ts
This commit is contained in:
commit
baecaa0804
@ -157,7 +157,7 @@ function configuredPageTitleSuffix() {
|
|||||||
*/
|
*/
|
||||||
function getPageTitle(req: express.Request, config: GristLoadConfig): string {
|
function getPageTitle(req: express.Request, config: GristLoadConfig): string {
|
||||||
const maybeDoc = getDocFromConfig(config);
|
const maybeDoc = getDocFromConfig(config);
|
||||||
if (!maybeDoc) { return translate(req, 'sendAppPage.Loading') + "..."; }
|
if (!maybeDoc) { return translate(req, 'Loading') + "..."; }
|
||||||
|
|
||||||
return handlebars.Utils.escapeExpression(maybeDoc.name);
|
return handlebars.Utils.escapeExpression(maybeDoc.name);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user