Ship 23 transactional templates, shared brand tokens/logo, preview UI, render API, CHANGELOG, and docs for Ecom/Admin/B2B consumers. Co-authored-by: Cursor <cursoragent@cursor.com>
30 lines
866 B
TypeScript
30 lines
866 B
TypeScript
import type { Locale } from './types';
|
|
import { theme } from '../theme';
|
|
|
|
const common = {
|
|
en: {
|
|
privacy: 'Privacy Policy',
|
|
terms: 'Terms of Service',
|
|
support: 'Need help?',
|
|
contactSupport: 'Contact support',
|
|
regards: 'Best regards,',
|
|
team: `The ${theme.brand.name} Team`,
|
|
viewInBrowser: 'View in browser',
|
|
allRights: 'All rights reserved.',
|
|
},
|
|
am: {
|
|
privacy: 'የግላዊነት ፖሊሲ',
|
|
terms: 'የአገልግሎት ውሎች',
|
|
support: 'እገዛ ይፈልጋሉ?',
|
|
contactSupport: 'ድጋፍ ያግኙ',
|
|
regards: 'ከሰላምታ ጋር፣',
|
|
team: `የ${theme.brand.name} ቡድን`,
|
|
viewInBrowser: 'በአሳሽ ውስጥ ይመልከቱ',
|
|
allRights: 'መብቱ በህግ የተጠበቀ ነው።',
|
|
},
|
|
} as const;
|
|
|
|
export function tCommon(locale: Locale) {
|
|
return common[locale];
|
|
}
|