Initial Romanian translation
This commit is contained in:
parent
5d601e5ba0
commit
4d348fa953
@ -72,6 +72,7 @@
|
||||
#define COMMUNITY_LANG_GROUP1_LB // Community Luxembourgish language
|
||||
#define COMMUNITY_LANG_GROUP1_HR // Community Croatian language
|
||||
#define COMMUNITY_LANG_GROUP1_LT // Community Lithuanian language
|
||||
#define COMMUNITY_LANG_GROUP1_RO // Community Romanian language
|
||||
//#define COMMUNITY_LANG_GROUP1_QR // Community new language //..use this as a template and replace 'QR'
|
||||
#endif
|
||||
|
||||
|
@ -236,6 +236,9 @@ const char* lang_get_name_by_code(uint16_t code)
|
||||
#ifdef COMMUNITY_LANG_GROUP1_LT
|
||||
case LANG_CODE_LT: return _n("Lietuviu"); //community Lithuanian contribution
|
||||
#endif // COMMUNITY_LANG_GROUP1_LT
|
||||
#ifdef COMMUNITY_LANG_GROUP1_RO
|
||||
case LANG_CODE_RO: return _n("Romana"); //community Romanian contribution
|
||||
#endif // COMMUNITY_LANG_GROUP1_RO
|
||||
|
||||
//Use the 3 lines below as a template and replace 'QR' and 'New language'
|
||||
//#ifdef COMMUNITY_LANG_GROUP1_QR
|
||||
|
@ -119,6 +119,9 @@ typedef struct
|
||||
#ifdef COMMUNITY_LANG_GROUP1_LT
|
||||
#define LANG_CODE_LT 0x6C74 //!<'lt'
|
||||
#endif // COMMUNITY_LANG_GROUP1_LT
|
||||
#ifdef COMMUNITY_LANG_GROUP1_RO
|
||||
#define LANG_CODE_RO 0x726F //!<'ro'
|
||||
#endif // COMMUNITY_LANG_GROUP1_RO
|
||||
//Use the 3 lines below as a template and replace 'QR', '0X7172' and 'qr'
|
||||
//#ifdef COMMUNITY_LANG_GROUP1_QR
|
||||
//#define LANG_CODE_QR 0x7172 //!<'qr'
|
||||
|
@ -69,6 +69,8 @@ lang_code_hex_data()
|
||||
*hr*) echo '\x72\x68' ;;
|
||||
#Lithuanian
|
||||
*lt*) echo '\x74\x6c' ;;
|
||||
#Romanian
|
||||
*ro*) echo '\x6f\x72' ;;
|
||||
#Use the 2 lines below as a template and replace 'qr' and `\x71\x72`
|
||||
##New language
|
||||
# *qr*) echo '\x71\x72' ;;
|
||||
|
@ -246,7 +246,7 @@ def main():
|
||||
usage="%(prog)s lang")
|
||||
parser.add_argument(
|
||||
"lang", nargs='?', default="en", type=str,
|
||||
help="Check lang file (en|cs|da|de|es|fr|hr|hu|lb|lt|nl|it|pl|sl|sv)")
|
||||
help="Check lang file (en|cs|da|de|es|fr|hr|hu|lb|lt|nl|it|pl|ro|sl|sv)")
|
||||
parser.add_argument(
|
||||
"--no-warning", action="store_true",
|
||||
help="Disable warnings")
|
||||
|
@ -70,6 +70,8 @@ else
|
||||
*hr*) echo "Croatian" ;;
|
||||
#Lithuanian
|
||||
*lt*) echo "Lithuanian" ;;
|
||||
#Romanian
|
||||
*ro*) echo "Romanian" ;;
|
||||
#Use the 2 lines below as a template and replace 'qr' and 'New language'
|
||||
##New language
|
||||
# *qr*) echo "New language" ;;
|
||||
|
1403
lang/lang_en_ro.txt
Normal file
1403
lang/lang_en_ro.txt
Normal file
File diff suppressed because it is too large
Load Diff
1772
lang/po/Firmware_ro.po
Normal file
1772
lang/po/Firmware_ro.po
Normal file
File diff suppressed because it is too large
Load Diff
1772
lang/po/new/ro.po
Normal file
1772
lang/po/new/ro.po
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user