feat(i18n): add French language support and enhance localization
- Introduced French as a supported language across the application, updating locale files and adding translations for various components. - Enhanced language handling logic to accommodate French, ensuring proper detection and fallback mechanisms. - Updated UI elements to include French language options, improving accessibility for French-speaking users. - Refactored SEO handling to include French in hreflang links, enhancing search engine indexing for multilingual content. - Added new scripts for managing French translations and ensuring consistency across language files.
This commit is contained in:
@@ -213,14 +213,14 @@ export default {
|
||||
},
|
||||
conditionLabel(value) {
|
||||
const v = Number(value) || 0;
|
||||
if (v >= 95) return 'Ausgezeichnet'; // 95–100
|
||||
if (v >= 72) return 'Sehr gut'; // 72–94
|
||||
if (v >= 54) return 'Gut'; // 54–71
|
||||
if (v >= 39) return 'Mäßig'; // 39–53
|
||||
if (v >= 22) return 'Schlecht'; // 22–38
|
||||
if (v >= 6) return 'Sehr schlecht'; // 6–21
|
||||
if (v >= 1) return 'Katastrophal'; // 1–5
|
||||
return 'Unbekannt';
|
||||
if (v >= 95) return this.$t('falukant.conditionBand.excellent');
|
||||
if (v >= 72) return this.$t('falukant.conditionBand.veryGood');
|
||||
if (v >= 54) return this.$t('falukant.conditionBand.good');
|
||||
if (v >= 39) return this.$t('falukant.conditionBand.moderate');
|
||||
if (v >= 22) return this.$t('falukant.conditionBand.bad');
|
||||
if (v >= 6) return this.$t('falukant.conditionBand.veryBad');
|
||||
if (v >= 1) return this.$t('falukant.conditionBand.catastrophic');
|
||||
return this.$t('falukant.conditionBand.unknown');
|
||||
},
|
||||
houseStyle(position, picSize) {
|
||||
const columns = 3;
|
||||
|
||||
Reference in New Issue
Block a user