Skip to content

Commit

Permalink
Merge pull request #6 from aseprite-quest/update-strings-to-1.3-rc8
Browse files Browse the repository at this point in the history
update strings to 1.3-rc8
  • Loading branch information
5idereal authored Nov 19, 2023
2 parents 383c26e + aedc79c commit ee0c871
Show file tree
Hide file tree
Showing 4 changed files with 72 additions and 22 deletions.
48 changes: 37 additions & 11 deletions assets/strings/en.ini
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,10 @@ ChangeBrush_DecrementAngle = Decrement Angle
ChangeBrush_DecrementSize = Decrement Size
ChangeBrush_IncrementAngle = Increment Angle
ChangeBrush_IncrementSize = Increment Size
ChangeBrush_FlipX = Flip Horizontally
ChangeBrush_FlipY = Flip Vertically
ChangeBrush_FlipD = Flip Diagonally
ChangeBrush_Rotate90CW = Rotate 90 CW
ChangeColor = Change Color: {0}
ChangeColor_IncrementFgIndex = Increment Foreground Index
ChangeColor_DecrementFgIndex = Decrement Foreground Index
Expand Down Expand Up @@ -702,8 +706,8 @@ pattern_aligned_to_dest = Pattern aligned to destination
paint_brush = Paint brush
contiguous = Contiguous
stop_at_grid = Stop at Grid
refer_active_layer = Refer only active layer
refer_visible_layer = Refer visible layer
refer_active_layer = Refer active layer
refer_visible_layer = Refer visible layers
pixel_connectivity = Pixel Connectivity:
select_palette_color = Select colors in the palette
reverse_shade = Reverse Shade
Expand Down Expand Up @@ -965,6 +969,7 @@ END
reset = Reset
advanced_options = Advanced Options
unknown = Unknown
same_in_all_tools = Same in all Tools

[gif_options]
title = GIF Options
Expand Down Expand Up @@ -1050,9 +1055,6 @@ copy_color = Copy Alpha+Color
lock_alpha = Lock Alpha
shading = Shading
[ink_popup_menu]
same_in_all_tools = Same in all Tools
[jpeg_options]
title = JPEG Options
quality = Quality:
Expand Down Expand Up @@ -1361,9 +1363,6 @@ help_release_notes = Release Notes
help_twitter = Twitter
help_enter_license = Enter &License
help_about = &About
layer_background_from_layer = &Background from Layer
layer_layer_from_background = &Layer from Background
frame_play_animation = &Play Animation
[mask_by_color]
title = Select Color
Expand Down Expand Up @@ -1419,6 +1418,11 @@ Visible aid to see the first tile with content from the tileset
as index 1 (by default, one-based index) or other value.
E.g. you can use 0 here for zero-based indexing.
END
allowed_flips = Allowed Flips:
allowed_flips_tooltip = <<<END
Aseprite can reuse tiles matching automatically with their flipped
versions (in X, Y, or Diagonal axes) in Auto/Stack modes.
END
[tileset_selector_window]
title = Tileset
Expand Down Expand Up @@ -1452,7 +1456,6 @@ pixel_ratio = Pixel Aspect Ratio:
square_pixels = Square Pixels (1:1)
double_wide = Double-wide Pixels (2:1)
double_high = Double-high Pixels (1:2)
advanced_options = Advanced Options
[rgbmap_algorithm_selector]
label = RGB to palette index mapping:
Expand Down Expand Up @@ -1508,6 +1511,7 @@ download_translations = Download Translations
gpu_acceleration = GPU acceleration [DEVMODE/INTERNAL TESTING ONLY]
gpu_acceleration_tooltip = Check this option to enable hardware acceleration
show_menu_bar = Show Aseprite menu bar
show_aseprite_file_dialog = Show Aseprite file dialog
show_home = Show Home tab when Aseprite is started
expand_menu_bar_items_on_mouseover = Expand menu bar items on mouseover
expand_menu_bar_items_on_mouseover_tooltip = <<<END
Expand Down Expand Up @@ -1649,11 +1653,30 @@ rewind_on_stop_tooltip = <<<END
The 'Stop' button should rewind the animation
where it was started.
END
timeline_selection = Timeline Range Selection
keep_timeline_selection = Keep selection
keep_timeline_selection_tooltip = <<<END
Keep the selected range of layers/frames/cels
when we edit the canvas.
END
when we edit the canvas / the timeline loses
the focus.
END
select_on_click = Select on Click
select_on_click_tooltip = <<<END
Enable the selected range of layers/frames/cels
when we press the mouse button.
END
select_on_click_with_key = Select on Click + Shift
select_on_click_with_key_tooltip = <<<END
Enable the selected range of layers/frames/cels
when we press the mouse button with the Shift key.
END
select_on_drag = Select on Drag
select_on_drag_tooltip = <<<END
Enable the selected range of layers/frames/cels
when we press the mouse button and after we move
the mouse to another position.
END
drag_and_drop_from_edges = Drag && drop from edges
default_first_frame = Default First Frame:
ui_mouse_cursor = UI Mouse Cursor
native_cursor = Use native mouse cursors
Expand All @@ -1671,6 +1694,7 @@ brush_preview_fullnedges = Full Preview and Edges
cursor_color_type = Crosshair && Brush Edges Color:
cursor_neg_bw = Negative Black and White
cursor_specific_color = Specific Color
snap_cursor_to_grid = Snap To Grid when the option is enabled
bg_checkered = Checkered Background
bg_size = Size:
bg_custom_size = Custom
Expand Down Expand Up @@ -2094,6 +2118,8 @@ jumble = Jumble Tool
shortcut = Shortcut: {0}
preview_hide = Hide Preview
preview_show = Show Preview
timeline_hide = Hide Timeline
timeline_show = Show Timeline
[undo_history]
title = Undo History
Expand Down
2 changes: 1 addition & 1 deletion data/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "language-chinese-traditional",
"displayName": "Language - Chinese (Traditional)",
"description": "Translation to Traditional Chinese by SiderealArt",
"version": "1.3-rc6",
"version": "1.3-rc8",
"author": {
"name": "SiderealArt",
"url": "https://siderealart.me"
Expand Down
39 changes: 32 additions & 7 deletions data/zh-hant.ini
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,10 @@ ChangeBrush_DecrementAngle = 增加角度
ChangeBrush_DecrementSize = 放大
ChangeBrush_IncrementAngle = 減少角度
ChangeBrush_IncrementSize = 縮小
# TODO # ChangeBrush_FlipX = Flip Horizontally
# TODO # ChangeBrush_FlipY = Flip Vertically
# TODO # ChangeBrush_FlipD = Flip Diagonally
# TODO # ChangeBrush_Rotate90CW = Rotate 90 CW
ChangeColor = 更改顏色:{0}
ChangeColor_IncrementFgIndex = 增加前景索引
ChangeColor_DecrementFgIndex = 減少前景索引
Expand Down Expand Up @@ -957,6 +961,7 @@ END
reset = 重設
advanced_options = 進階選項
unknown = 未知
# TODO # same_in_all_tools = Same in all Tools
[gif_options]
title = GIF 選項
Expand Down Expand Up @@ -1041,9 +1046,6 @@ copy_color = 複製 Alpha+顏色
lock_alpha = 鎖定 Alpha
shading = 網底
[ink_popup_menu]
same_in_all_tools = 所有工具皆相同
[jpeg_options]
title = JPEG 選項
quality = 品質:
Expand Down Expand Up @@ -1352,9 +1354,6 @@ help_release_notes = 版本資訊
help_twitter = Twitter
help_enter_license = 輸入授權
help_about = 關於
layer_background_from_layer = 背景轉圖層
layer_layer_from_background = 圖層轉背景
frame_play_animation = 播放動畫
[mask_by_color]
title = 選取顏色
Expand Down Expand Up @@ -1408,6 +1407,11 @@ base_index = 基本編號:
base_tooltip = <<<END
標示出方格組中帶內容的首個方格的編號。預設從 1 開始,可自訂為其他數字。
END
# TODO # allowed_flips = Allowed Flips:
# TODO # allowed_flips_tooltip = <<<END
# TODO # Aseprite can reuse tiles matching automatically with their flipped
# TODO # versions (in X, Y, or Diagonal axes) in Auto/Stack modes.
# TODO # END
[tileset_selector_window]
title = Tileset
Expand Down Expand Up @@ -1441,7 +1445,6 @@ pixel_ratio = 像素長寬比:
square_pixels = 方形 (1:1)
double_wide = 寬度加倍 (2:1)
double_high = 高度加倍 (1:2)
advanced_options = 進階選項
[rgbmap_algorithm_selector]
label = RGB 至調色盤編號對應:
Expand Down Expand Up @@ -1497,6 +1500,7 @@ download_translations = 下載翻譯檔
gpu_acceleration = GPU 加速
gpu_acceleration_tooltip = 勾選此選項以啟用硬體加速
show_menu_bar = 顯示 Aseprite 選單列
# TODO # show_aseprite_file_dialog = Show Aseprite file dialog
show_home = 啟動後顯示主畫面分頁
expand_menu_bar_items_on_mouseover = 游標懸停後展開選單
expand_menu_bar_items_on_mouseover_tooltip = <<<END
Expand Down Expand Up @@ -1632,11 +1636,29 @@ rewind_on_stop_tooltip = <<<END
若啟用此選項,按下停
止按鈕後將回到開頭。
END
# TODO # timeline_selection = Timeline Range Selection
keep_timeline_selection = 保留選取區域
keep_timeline_selection_tooltip = <<<END
編輯畫布時仍保留圖層/
影格/賽璐珞片的選取區域。
END
# TODO # select_on_click = Select on Click
# TODO # select_on_click_tooltip = <<<END
# TODO # Enable the selected range of layers/frames/cels
# TODO # when we press the mouse button.
# TODO # END
# TODO # select_on_click_with_key = Select on Click + Shift
# TODO # select_on_click_with_key_tooltip = <<<END
# TODO # Enable the selected range of layers/frames/cels
# TODO # when we press the mouse button with the Shift key.
# TODO # END
# TODO # select_on_drag = Select on Drag
# TODO # select_on_drag_tooltip = <<<END
# TODO # Enable the selected range of layers/frames/cels
# TODO # when we press the mouse button and after we move
# TODO # the mouse to another position.
# TODO # END
# TODO # drag_and_drop_from_edges = Drag && drop from edges
default_first_frame = 預設首影格:
ui_mouse_cursor = 介面游標
native_cursor = 使用原始游標
Expand All @@ -1654,6 +1676,7 @@ brush_preview_fullnedges = 完整預覽和邊界
cursor_color_type = 準心及筆刷邊界顏色:
cursor_neg_bw = 反白
cursor_specific_color = 特定顏色
# TODO # snap_cursor_to_grid = Snap To Grid when the option is enabled
bg_checkered = 棋盤背景
bg_size = 大小:
bg_custom_size = 自訂
Expand Down Expand Up @@ -2077,6 +2100,8 @@ jumble = 打亂工具
shortcut = 快捷鍵:{0}
preview_hide = 隱藏預覽
preview_show = 顯示預覽
# TODO # timeline_hide = Hide Timeline
# TODO # timeline_show = Show Timeline
[undo_history]
title = 復原紀錄
Expand Down
5 changes: 2 additions & 3 deletions update.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,15 @@
from aseprite_ini import Aseini

logging.basicConfig(level=logging.DEBUG)
logger = logging.getLogger('format')
logger = logging.getLogger('update')

project_root_dir = os.path.dirname(__file__)
strings_dir = os.path.join(project_root_dir, 'assets', 'strings')
data_dir = os.path.join(project_root_dir, 'data')


def main():
strings_en = Aseini.pull_strings('v1.3-rc6')
strings_en.fallback(Aseini.pull_strings('v1.2.40'))
strings_en = Aseini.pull_strings('v1.3-rc8')
strings_en.save(os.path.join(strings_dir, 'en.ini'))
logger.info("Update strings: 'en.ini'")

Expand Down

0 comments on commit ee0c871

Please sign in to comment.