From c9d8bbe874b86d72af31252ae21bb230bc3ee0ac Mon Sep 17 00:00:00 2001 From: lyswhut Date: Thu, 3 Nov 2022 19:55:28 +0800 Subject: [PATCH] fix --- src/lang/en-us.json | 30 +++++++++++++-------------- src/renderer/worker/download/utils.ts | 2 +- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/src/lang/en-us.json b/src/lang/en-us.json index b8531eed..a803641b 100644 --- a/src/lang/en-us.json +++ b/src/lang/en-us.json @@ -126,11 +126,11 @@ "list_sort_modal_by_type": "Sort categories", "list_sort_modal_by_up": "Ascending", "list_sort_modal_tip_confirm": "Are you sure you want to do this?", - "list_update_modal__auto_update": "auto update", + "list_update_modal__auto_update": "Auto update", "list_update_modal__tips": "💡 The list with \"Automatic Updates\" checked will be automatically updated each time the software is launched", "list_update_modal__title": "List update management", "list_update_modal__update": "Sync", - "lists__add_local_file_desc": "select song file", + "lists__add_local_file_desc": "Select song file", "lists__duplicate": "Duplicate song", "lists__export": "Export", "lists__export_part_desc": "Choose where to save the list file", @@ -192,7 +192,7 @@ "play_timeout_end": "Wait for the song to finish before pausing", "play_timeout_stop": "Cancel timer", "play_timeout_tip": "Pause after {time}", - "play_timeout_unit": "minute", + "play_timeout_unit": "Minute", "play_timeout_update": "Update timing", "player__add_music_to": "Add the current song to...", "player__buffering": "Buffering...", @@ -223,7 +223,7 @@ "player__stop": "Paused", "player__volume": "Volume: ", "player__volume_mute_label": "Mute", - "player__volume_muted": "muted", + "player__volume_muted": "Muted", "search": "Search", "search__hot_search": "Top Searches", "search__type_music": "Song", @@ -258,10 +258,10 @@ "setting__basic_control_btn_position_left": "Left", "setting__basic_control_btn_position_right": "Right", "setting__basic_font": "Font", - "setting__basic_font_size": "font size", + "setting__basic_font_size": "Font size", "setting__basic_font_size_14px": "Smaller", "setting__basic_font_size_15px": "Small", - "setting__basic_font_size_16px": "standard", + "setting__basic_font_size_16px": "Standard", "setting__basic_font_size_17px": "Big", "setting__basic_font_size_18px": "Larger", "setting__basic_font_size_19px": "Very big", @@ -297,12 +297,12 @@ "setting__desktop_lyric": "Desktop Lyric Settings", "setting__desktop_lyric_align": "Lyric Alignment", "setting__desktop_lyric_align_center": "Centered", - "setting__desktop_lyric_align_left": "left", - "setting__desktop_lyric_align_right": "right", + "setting__desktop_lyric_align_left": "Left", + "setting__desktop_lyric_align_right": "Right", "setting__desktop_lyric_always_on_top": "Make the lyrics always above other windows", "setting__desktop_lyric_always_on_top_loop": "Automatically refresh the top of the lyrics (try to enable this setting when the lyrics are still blocked by some programs)", "setting__desktop_lyric_audio_visualization": "Audio Visualization (Experimental)", - "setting__desktop_lyric_color_reset": "reset color", + "setting__desktop_lyric_color_reset": "Reset color", "setting__desktop_lyric_delay_scroll": "Delayed lyrics scroll", "setting__desktop_lyric_direction_horizontal": "horizontal direction", "setting__desktop_lyric_direction_vertical": "vertical direction", @@ -313,7 +313,7 @@ "setting__desktop_lyric_font_weight": "Bold font", "setting__desktop_lyric_hover_hide": "Reduce the transparency of lyrics when the mouse moves into the lyrics area (this feature has platform compatibility issues)", "setting__desktop_lyric_line_gap": "Lyric spacing ({num})", - "setting__desktop_lyric_line_gap_add": "increase the spacing", + "setting__desktop_lyric_line_gap_add": "Increase spacing", "setting__desktop_lyric_line_gap_dec": "Reduce spacing", "setting__desktop_lyric_lock": "Lock lyrics", "setting__desktop_lyric_lock_screen": "It is not allowed to drag the lyrics window out of the main screen", @@ -321,7 +321,7 @@ "setting__desktop_lyric_scroll_align": "now playing lyrics scroll position", "setting__desktop_lyric_scroll_align_center": "Center", "setting__desktop_lyric_scroll_align_top": "Top", - "setting__desktop_lyric_shadow_color": "shadow color", + "setting__desktop_lyric_shadow_color": "Shadow color", "setting__desktop_lyric_unplay_color": "Color not playing", "setting__download": "Download", "setting__download_data_embed": "Whether to embed the following content in the audio file", @@ -467,7 +467,7 @@ "songlist__import_input_tip_3": "Kugou source does not support opening with playlist ID, but supports Kugou code opening", "songlist__import_input_tip_4": "Netease source's \"I like\" playlist requires Token to open, see for details", "songlist__import_input_title": "Open shared playlist", - "songlist__open_list": "open {name} playlist", + "songlist__open_list": "Open {name} playlist", "songlist__tag_info_hot_tag": "Hot tags", "source_alias_all": "Aggregated", "source_alias_bd": "BD Music", @@ -514,7 +514,7 @@ "theme_blue_plus": "Blue Plus", "theme_edit_modal__app_bg": "Apply background color", "theme_edit_modal__aside_color": "Sidebar button color", - "theme_edit_modal__badge": "label color", + "theme_edit_modal__badge": "Label color", "theme_edit_modal__badge_primary": "Main color", "theme_edit_modal__badge_secondary": "Secondary Color", "theme_edit_modal__badge_tertiary": "Third color", @@ -535,7 +535,7 @@ "theme_edit_modal__pick_save": "Confirm", "theme_edit_modal__preview": "Preview theme", "theme_edit_modal__primary": "Theme color", - "theme_edit_modal__remove": "delete", + "theme_edit_modal__remove": "Delete", "theme_edit_modal__remove_tip": "Do you really want to remove this thread?", "theme_edit_modal__save_new": "Save new", "theme_edit_modal__select_bg_file": "Choose a background image", @@ -553,7 +553,7 @@ "theme_red": "Red", "theme_selector_modal__dark_title": "dark theme", "theme_selector_modal__light_title": "Bright theme", - "theme_selector_modal__theme_name": "topic name", + "theme_selector_modal__theme_name": "Topic name", "theme_selector_modal__title": "Follow system theme settings", "theme_selector_modal__title_tip": "Note: You can set a light theme and a dark theme in advance, and then it will automatically switch to the corresponding theme you set in advance according to the light and dark theme colors of the system.", "toggle_source_failed": "Failed to automatically change the source, please try to manually search for the song in other sources to play", diff --git a/src/renderer/worker/download/utils.ts b/src/renderer/worker/download/utils.ts index 5f94877b..44423e71 100644 --- a/src/renderer/worker/download/utils.ts +++ b/src/renderer/worker/download/utils.ts @@ -19,7 +19,7 @@ export const saveLrc = async(filePath: string, lrc: string, format: LX.LyricForm break case 'utf8': default: - fs.writeFile(filePath, iconv.encode(lrc, 'utf8', { addBOM: true }), 'utf8', err => { + fs.writeFile(filePath, iconv.encode(lrc, 'utf8', { addBOM: true }), err => { if (err) console.log(err) }) break