15 lines
385 B
TypeScript
15 lines
385 B
TypeScript
import type { TFunction } from "i18next";
|
|
|
|
/** Order of product checkboxes in lead forms. */
|
|
export const PRODUCT_I18N_KEYS = [
|
|
"products.interactivePresentation",
|
|
"products.remoteDemo",
|
|
"products.archViz",
|
|
"products.webDev",
|
|
"products.webTour360",
|
|
] as const;
|
|
|
|
export function productOptionsFromT(t: TFunction): string[] {
|
|
return PRODUCT_I18N_KEYS.map((key) => t(key));
|
|
}
|