Skip to content
This repository has been archived by the owner on Apr 27, 2020. It is now read-only.

Commit

Permalink
Fixed French translations
Browse files Browse the repository at this point in the history
Also cleaned up some inconsistent spacing.
  • Loading branch information
aaronhktan committed Jan 24, 2018
1 parent 207905b commit 8086f6a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,5 +112,5 @@
"watchface": false
}
},
"version": "2.51.0"
"version": "2.52.0"
}
8 changes: 4 additions & 4 deletions src/c/localize.c
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ char* localize_get_well_done_text() {

char* localize_get_inhale_text() {
if (strncmp(localize_get_locale(), "fr", 2) == 0) {
return "INHALEZ...";
return "INSPIREZ...";
} else if (strncmp(localize_get_locale(), "es", 2) == 0) {
return "AHORA INHALA...";
} else if (strncmp(localize_get_locale(), "de", 2) == 0) {
Expand All @@ -124,7 +124,7 @@ char* localize_get_inhale_text() {

char* localize_get_exhale_text() {
if (strncmp(localize_get_locale(), "fr", 2) == 0) {
return "...ET EXHALEZ.";
return "...ET EXPIREZ.";
} else if (strncmp(localize_get_locale(), "es", 2) == 0) {
return "...Y EXHALA.";
} else if (strncmp(localize_get_locale(), "de", 2) == 0) {
Expand Down Expand Up @@ -160,7 +160,7 @@ char* localize_get_steps_today_text(int thousands) {
return "\u2764 %d.%03d PASOS HOY";
} else if (strncmp(localize_get_locale(), "de", 2) == 0) {
return "\u2764 %d.%03d HEUTE";
} else { // Yes there isn't a heart rate enabled round pebble right now, but who knows?
} else { // Yes there isn't a heart rate enabled round pebble right now, but who knows? <-- that comment was made before Pebble went out of business :(
#ifdef PBL_ROUND
return "\u2764 %d,%03d TODAY";
#else
Expand Down Expand Up @@ -334,7 +334,7 @@ char* localize_get_top_text(int random_number) {
char* localize_get_bottom_text(int random_number) {
char* strings[4] = {"BREATHE.", "EXHALE.", "CONCENTRATE.", "FOCUS."};
if (strncmp(localize_get_locale(), "fr", 2) == 0) {
char* french_strings[4] = {"RESPIREZ.", "EXHALEZ.", "RESPIREZ.", "EXHALEZ."};
char* french_strings[4] = {"RESPIREZ.", "EXPIREZ.", "RESPIREZ.", "EXPIREZ."};
for (int i = 0; i <= 3; i++) {
strings[i] = french_strings[i];
}
Expand Down
2 changes: 1 addition & 1 deletion src/c/new_version_window.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ static GBitmap *s_icon_bitmap;
static bool is_new_user = false;

static void anim_stopped_handler(Animation *animation, bool finished, void *context) {
s_appear_anim = NULL;
s_appear_anim = NULL;
#ifdef PBL_ROUND
GSize max_size = text_layer_get_content_size(s_label_layer);
text_layer_enable_screen_text_flow_and_paging(s_label_layer, 4);
Expand Down
2 changes: 1 addition & 1 deletion src/c/settings_menu.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ static uint16_t menu_get_num_rows_callback(MenuLayer *menu_layer, uint16_t secti
return NUM_ABOUT_MENU_ITEMS;
default:
return 0;
}
}
}

static int16_t menu_get_header_height_callback(MenuLayer *menu_layer, uint16_t section_index, void *data) {
Expand Down

0 comments on commit 8086f6a

Please sign in to comment.