فهرست منبع

Typos fix in some strings/comments #1794

Co-authored-by: あく <alleteam@gmail.com>
Vyacheslav Tumanov 3 سال پیش
والد
کامیت
e25b424188
4فایلهای تغییر یافته به همراه6 افزوده شده و 6 حذف شده
  1. 3 3
      applications/services/gui/canvas.h
  2. 1 1
      applications/services/gui/modules/button_panel.h
  3. 1 1
      documentation/AppManifests.md
  4. 1 1
      scripts/assets.py

+ 3 - 3
applications/services/gui/canvas.h

@@ -61,7 +61,7 @@ typedef struct {
     uint8_t descender;
     uint8_t descender;
 } CanvasFontParameters;
 } CanvasFontParameters;
 
 
-/** Canvas anonymouse structure */
+/** Canvas anonymous structure */
 typedef struct Canvas Canvas;
 typedef struct Canvas Canvas;
 
 
 /** Get Canvas width
 /** Get Canvas width
@@ -297,7 +297,7 @@ void canvas_draw_disc(Canvas* canvas, uint8_t x, uint8_t y, uint8_t r);
  * @param       y       y coordinate of base and height intersection
  * @param       y       y coordinate of base and height intersection
  * @param       base    length of triangle side
  * @param       base    length of triangle side
  * @param       height  length of triangle height
  * @param       height  length of triangle height
- * @param       dir     CanvasDirection triangle orientaion
+ * @param       dir     CanvasDirection triangle orientation
  */
  */
 void canvas_draw_triangle(
 void canvas_draw_triangle(
     Canvas* canvas,
     Canvas* canvas,
@@ -323,7 +323,7 @@ void canvas_draw_glyph(Canvas* canvas, uint8_t x, uint8_t y, uint16_t ch);
  */
  */
 void canvas_set_bitmap_mode(Canvas* canvas, bool alpha);
 void canvas_set_bitmap_mode(Canvas* canvas, bool alpha);
 
 
-/** Draw rounded-corner frame of width, height at x,y, with round value raduis
+/** Draw rounded-corner frame of width, height at x,y, with round value radius
  *
  *
  * @param      canvas  Canvas instance
  * @param      canvas  Canvas instance
  * @param      x       x coordinate
  * @param      x       x coordinate

+ 1 - 1
applications/services/gui/modules/button_panel.h

@@ -53,7 +53,7 @@ void button_panel_reserve(ButtonPanel* button_panel, size_t reserve_x, size_t re
  * @param      button_panel        ButtonPanel instance
  * @param      button_panel        ButtonPanel instance
  * @param      index               value to pass to callback
  * @param      index               value to pass to callback
  * @param      matrix_place_x      coordinates by x-axis on virtual grid, it
  * @param      matrix_place_x      coordinates by x-axis on virtual grid, it
- *                                 is only used for naviagation
+ *                                 is only used for navigation
  * @param      matrix_place_y      coordinates by y-axis on virtual grid, it
  * @param      matrix_place_y      coordinates by y-axis on virtual grid, it
  *                                 is only used for naviagation
  *                                 is only used for naviagation
  * @param      x                   x-coordinate to draw icon on
  * @param      x                   x-coordinate to draw icon on

+ 1 - 1
documentation/AppManifests.md

@@ -48,7 +48,7 @@ The following parameters are used only for [FAPs](./AppsOnSDCard.md):
 * **fap_icon**: name of a .png file, 1-bit color depth, 10x10px, to be embedded within .fap file.
 * **fap_icon**: name of a .png file, 1-bit color depth, 10x10px, to be embedded within .fap file.
 * **fap_libs**: list of extra libraries to link application against. Provides access to extra functions that are not exported as a part of main firmware at expense of increased .fap file size and RAM consumption.
 * **fap_libs**: list of extra libraries to link application against. Provides access to extra functions that are not exported as a part of main firmware at expense of increased .fap file size and RAM consumption.
 * **fap_category**: string, may be empty. App subcategory, also works as path of FAP within apps folder in the file system.
 * **fap_category**: string, may be empty. App subcategory, also works as path of FAP within apps folder in the file system.
-* **fap_description**: string, may be empty. Short application descriotion.
+* **fap_description**: string, may be empty. Short application description.
 * **fap_author**: string, may be empty. Application's author.
 * **fap_author**: string, may be empty. Application's author.
 * **fap_weburl**: string, may be empty. Application's homepage.
 * **fap_weburl**: string, may be empty. Application's homepage.
 
 

+ 1 - 1
scripts/assets.py

@@ -111,7 +111,7 @@ class Main(App):
             if not filenames:
             if not filenames:
                 continue
                 continue
             if "frame_rate" in filenames:
             if "frame_rate" in filenames:
-                self.logger.debug(f"Folder contatins animation")
+                self.logger.debug(f"Folder contains animation")
                 icon_name = "A_" + os.path.split(dirpath)[1].replace("-", "_")
                 icon_name = "A_" + os.path.split(dirpath)[1].replace("-", "_")
                 width = height = None
                 width = height = None
                 frame_count = 0
                 frame_count = 0