Added the sensor category translations as well as the header comment for both files.
This commit is contained in:
parent
8495d9723d
commit
f352d498f4
@ -1,3 +1,13 @@
|
||||
/**
|
||||
* @file translation.c
|
||||
* @author Anatole SCHRAMM-HENRY
|
||||
* @brief Translation source file storing strings as const for each language.
|
||||
* @version 0.1
|
||||
* @date 2025-04-29
|
||||
*
|
||||
* @copyright MIT
|
||||
*/
|
||||
|
||||
#include "wm_type_def.h"
|
||||
#include "translation.h"
|
||||
#include "watch_settings.h"
|
||||
@ -64,6 +74,11 @@ static const char * const translation_dictionary[][TRANSLATED_LANGUAGES_COUNT] =
|
||||
[TRANSLATION_GERMAN] = "Konnektivität",
|
||||
[TRANSLATION_ENGLISH]= "Connectivity"
|
||||
},
|
||||
[TRANSLATION_SENSORS] = {
|
||||
[TRANSLATION_FRENCH] = "Capteurs",
|
||||
[TRANSLATION_GERMAN] = "Sensoren",
|
||||
[TRANSLATION_ENGLISH]= "Sensors"
|
||||
},
|
||||
[TRANSLATION_LANGUAGE] = {
|
||||
[TRANSLATION_FRENCH] = "Langue",
|
||||
[TRANSLATION_GERMAN] = "Sprache",
|
||||
|
@ -1,3 +1,13 @@
|
||||
/**
|
||||
* @file translation.h
|
||||
* @author Anatole SCHRAMM-HENRY
|
||||
* @brief Translation header file listing supported languages, translated words and translation API functions.
|
||||
* @version 0.1
|
||||
* @date 2025-04-29
|
||||
*
|
||||
* @copyright MIT
|
||||
*/
|
||||
|
||||
#ifndef TRANSLATION_H
|
||||
#define TRANSLATION_H
|
||||
|
||||
@ -26,6 +36,7 @@ typedef enum TranslationWord
|
||||
TRANSLATION_DISPLAY,
|
||||
TRANSLATION_NOTIFICATIONS,
|
||||
TRANSLATION_CONNECTIVITY,
|
||||
TRANSLATION_SENSORS,
|
||||
TRANSLATION_LANGUAGE,
|
||||
TRANSLATION_LANGUAGE_2,
|
||||
TRANSLATION_ABOUT,
|
||||
|
Loading…
Reference in New Issue
Block a user