From 927251a7764b0b97e575d23822a5ec8cdd35caa6 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 28 Jan 2025 15:41:00 -0500 Subject: [PATCH] spelling: separator Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- ...0_Day_seperator.svg => Pebble_50x50_Day_separator.svg} | 0 resources/normal/base/resource_map.json | 2 +- src/fw/applib/ui/action_menu_layer.c | 2 +- src/fw/applib/ui/menu_layer.c | 2 +- src/fw/apps/watch/kickstart/kickstart.c | 8 ++++---- 5 files changed, 7 insertions(+), 7 deletions(-) rename resources/normal/base/images/{Pebble_50x50_Day_seperator.svg => Pebble_50x50_Day_separator.svg} (100%) diff --git a/resources/normal/base/images/Pebble_50x50_Day_seperator.svg b/resources/normal/base/images/Pebble_50x50_Day_separator.svg similarity index 100% rename from resources/normal/base/images/Pebble_50x50_Day_seperator.svg rename to resources/normal/base/images/Pebble_50x50_Day_separator.svg diff --git a/resources/normal/base/resource_map.json b/resources/normal/base/resource_map.json index 3f54df78..ca836d8e 100644 --- a/resources/normal/base/resource_map.json +++ b/resources/normal/base/resource_map.json @@ -1041,7 +1041,7 @@ { "type": "pdc", "name": "DAY_SEPARATOR_SMALL", - "file": "normal/base/images/Pebble_50x50_Day_seperator.svg" + "file": "normal/base/images/Pebble_50x50_Day_separator.svg" }, { "type": "pdc", diff --git a/src/fw/applib/ui/action_menu_layer.c b/src/fw/applib/ui/action_menu_layer.c index 6ef516ec..491f0df4 100644 --- a/src/fw/applib/ui/action_menu_layer.c +++ b/src/fw/applib/ui/action_menu_layer.c @@ -589,7 +589,7 @@ static void prv_draw_separator_cb(GContext *ctx, const Layer *cell_layer, system_theme_get_default_content_size_for_runtime_platform(); const ActionMenuSeparatorConfig *config = &s_separator_configs[runtime_platform_default_size]; - // If this index is the seperator index, we want to draw the separator line + // If this index is the separator index, we want to draw the separator line // in the vertical center of the separator const int16_t nudge_down = PBL_IF_RECT_ELSE(3, 0); const int16_t nudge_right = menu_cell_basic_horizontal_inset() + 1; diff --git a/src/fw/applib/ui/menu_layer.c b/src/fw/applib/ui/menu_layer.c index 979def6e..619c7db2 100644 --- a/src/fw/applib/ui/menu_layer.c +++ b/src/fw/applib/ui/menu_layer.c @@ -393,7 +393,7 @@ static void prv_menu_layer_walk_downward_from_iterator(MenuIterator *it) { it->cursor.sep = prv_menu_layer_get_separator_height(it->menu_layer, &it->cursor.index); it->cursor.y = it->cell_bottom_y; // Bottom of previous cell is y of the next cell - // Don't leave space for the seperator for the (nonexistent) row after the last row. + // Don't leave space for the separator for the (nonexistent) row after the last row. // This doesn't impact cell drawing in this loop (this condition will only trip on the last run). // But, other parts of the system rely on the cursor being set properly at the end of this iteration. if (it->cursor.index.row < num_rows_in_section - 1 || it->cursor.index.section < num_sections - 1) { diff --git a/src/fw/apps/watch/kickstart/kickstart.c b/src/fw/apps/watch/kickstart/kickstart.c index 3942fa22..17e4e656 100644 --- a/src/fw/apps/watch/kickstart/kickstart.c +++ b/src/fw/apps/watch/kickstart/kickstart.c @@ -242,7 +242,7 @@ static void prv_draw_goal_line(GContext *ctx, int32_t current_progress, int32_t } #if ROBERT_SCREEN_RES -static void prv_draw_seperator(GContext *ctx, GRect bounds, GColor color) { +static void prv_draw_separator(GContext *ctx, GRect bounds, GColor color) { bounds.origin.y += 111; // top offset GPoint p1 = bounds.origin; @@ -442,9 +442,9 @@ static void prv_base_layer_update_proc(Layer *layer, GContext *ctx) { #if ROBERT_SCREEN_RES bounds = grect_inset(bounds, GEdgeInsets(0, 25)); - // draw deperator + // draw separator if (!screen_is_obstructed) { - prv_draw_seperator(ctx, bounds, GColorWhite); + prv_draw_separator(ctx, bounds, GColorWhite); } #endif @@ -468,7 +468,7 @@ static void prv_update_steps_buffer(KickstartData *data) { const int thousands = data->current_steps / 1000; const int hundreds = data->current_steps % 1000; if (thousands) { - /// Step count greater than 1000 with a thousands seperator + /// Step count greater than 1000 with a thousands separator snprintf(data->steps_buffer, sizeof(data->steps_buffer), i18n_get("%d,%03d", data), thousands, hundreds); } else {