mirror of
https://github.com/google/pebble.git
synced 2025-04-24 13:39:17 -04:00
spelling: separator
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
586db5b942
commit
927251a776
5 changed files with 7 additions and 7 deletions
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
|
@ -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",
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue