feat: rename use of locale to lang where applicable

This commit is contained in:
Michael Zetterberg
2024-04-08 15:17:07 +02:00
parent f3c9386ef4
commit 7ebc604156
14 changed files with 110 additions and 118 deletions

View File

@@ -1,8 +1,12 @@
// Due to these records being used in next.config.js, and that is
// required to be a js file, we use jsdoc to type these.
/**
* @typedef {import('../types/lang').Lang} Lang
* @file Due to these records being used in next.config.js, and that is required
* to be a js file, we use jsdoc to type these.
*/
/**
* @typedef {import('@/constants/languages').Lang} Lang
*/
/** @type {Record.<Lang, string>} */
export const pageNames = {
da: "mine-sider",