From 5c7be48e038b60e32366ca591bcf8c1f65e351b9 Mon Sep 17 00:00:00 2001 From: efb4f5ff-1298-471a-8973-3d47447115dc <73130443+efb4f5ff-1298-471a-8973-3d47447115dc@users.noreply.github.com> Date: Wed, 12 Nov 2025 12:00:56 +0100 Subject: [PATCH 1/3] sentence casing part 1 --- static/locales/en-US.yaml | 84 +++++++++++++++++++-------------------- 1 file changed, 42 insertions(+), 42 deletions(-) diff --git a/static/locales/en-US.yaml b/static/locales/en-US.yaml index 5cc5dfaeffbe5..83087544c517f 100644 --- a/static/locales/en-US.yaml +++ b/static/locales/en-US.yaml @@ -1,5 +1,5 @@ # Put the name of your locale in the same language -Locale Name: English (US) +Locale name: English (US) # Webkit Menu Bar File: File @@ -13,27 +13,27 @@ Cut: Cut Copy: Copy Paste: Paste Delete: Delete -Select all: Select all +Select All: Select All Toggle Developer Tools: Toggle Developer Tools -Actual size: Actual size -Zoom in: Zoom in -Zoom out: Zoom out -Toggle fullscreen: Toggle fullscreen +Actual Size: Actual Size +Zoom In: Zoom In +Zoom Out: Zoom Out +Toggle Full Screen: Toggle Full Screen Window: Window Minimize: Minimize Close: Close Back: Back Forward: Forward Right-click or hold to see history: Right-click or hold to see history -Open New Window: Open New Window +Open new window: Open new window Go to page: Go to {page} -Close Banner: Close Banner +Close banner: Close banner -Version {versionNumber} is now available! Click for more details: Version {versionNumber} is now available! Click - for more details -Download From Site: Download From Site -A new blog is now available, {blogTitle}. Click to view more: A new blog is now available, {blogTitle}. - Click to view more +Version {versionNumber} is now available! Click for more details.: Version {versionNumber} is now available! Click + for more details. +Download from site: Download from site +A new blog is now available, {blogTitle}. Click to view more.: A new blog is now available, {blogTitle}. + Click to view more. Are you sure you want to open this link?: Are you sure you want to open this link? # Global @@ -43,59 +43,59 @@ Global: Shorts: Shorts Live: Live Posts: Posts - Sort By: Sort By + Sort by: Sort by Counts: - Video Count: 1 video | {count} videos - Channel Count: 1 channel | {count} channels - Subscriber Count: 1 subscriber | {count} subscribers - View Count: 1 view | {count} views - Like Count: 1 like | {count} likes - Comment Count: 1 comment | {count} comments - Watching Count: 1 watching | {count} watching + Video count: 1 video | {count} videos + Channel count: 1 channel | {count} channels + Subscriber count: 1 subscriber | {count} subscribers + View count: 1 view | {count} views + Like count: 1 like | {count} likes + Comment count: 1 comment | {count} comments + Watching count: 1 watching | {count} watching -# Search Bar -Search / Go to URL: Search / Go to URL -Search Bar: - Clear Input: Clear Input +# Search bar +Search / go to URL: Search / go to URL +Search bar: + Clear input: Clear input Remove: Remove Search character limit: Search query is over the {searchCharacterLimit} character limit -Search Listing: +Search listing: Label: 4K: 4K 8K: 8K VR180: VR180 - 360 Video: 360° + 360 video: 360° Subtitles: Subtitles New: New 3D: 3D # Aria labels Closed Captions: Closed Captions - # In Filter Button -Search Filters: - Search Filters: Search Filters - Sort By: - Most Relevant: Most Relevant + # In filter button +Search filters: + Search filters: Search filters + Sort by: + Most relevant: Most relevant Rating: Rating - Upload Date: Upload Date - View Count: View Count + Upload date: Upload date + View count: View count Time: Time: Time - Any Time: Any Time - Last Hour: Last Hour + Any time: Any time + Last hour: Last hour Today: Today - This Week: This Week - This Month: This Month - This Year: This Year + This week: This week + This month: This month + This year: This year Type: Type: Type - All Types: All Types + All types: All types Videos: Videos Channels: Channels Movies: Movies #& Playlists Duration: Duration: Duration - All Durations: All Durations + All durations: All durations Short (< 4 minutes): Short (< 4 minutes) Medium (4 - 20 minutes): Medium (4 - 20 minutes) Long (> 20 minutes): Long (> 20 minutes) @@ -107,7 +107,7 @@ Search Filters: 3D: 3D Live: Live 4K: 4K - 360 Video: 360 Video + 360 video: 360 video Location: Location HDR: HDR VR180: VR180 From 1639d7e489365419e38195c79156dcd87c6112c3 Mon Sep 17 00:00:00 2001 From: efb4f5ff-1298-471a-8973-3d47447115dc <73130443+efb4f5ff-1298-471a-8973-3d47447115dc@users.noreply.github.com> Date: Sat, 29 Nov 2025 23:58:50 +0100 Subject: [PATCH 2/3] Change keys in all related files except locales --- _scripts/ProcessLocalesPlugin.js | 2 +- src/main/index.js | 4 +- src/renderer/App.vue | 2 +- .../ChannelDetails/ChannelDetails.vue | 2 +- .../CommentSection/CommentSection.vue | 2 +- .../FtCommunityPost/FtCommunityPost.vue | 12 ++-- src/renderer/components/FtInput/FtInput.vue | 4 +- .../FtListChannel/FtListChannel.vue | 4 +- .../FtListHashtag/FtListHashtag.vue | 4 +- .../FtNotificationBanner.vue | 4 +- .../FtPlaylistAddVideoPrompt.vue | 2 +- .../FtSearchFilters/FtSearchFilters.vue | 70 +++++++++---------- .../components/PlaylistInfo/PlaylistInfo.vue | 4 +- src/renderer/components/TopNav/TopNav.vue | 10 +-- .../WatchVideoLiveChat/WatchVideoLiveChat.vue | 2 +- .../ft-list-video/ft-list-video.vue | 32 ++++----- src/renderer/views/Channel/Channel.vue | 10 +-- src/renderer/views/Hashtag/Hashtag.vue | 2 +- src/renderer/views/History/History.vue | 2 +- src/renderer/views/Playlist/Playlist.vue | 2 +- src/renderer/views/SearchPage/SearchPage.vue | 10 +-- .../views/UserPlaylists/UserPlaylists.vue | 2 +- src/renderer/views/Watch/Watch.js | 2 +- static/locales/en-US.yaml | 12 ++-- 24 files changed, 101 insertions(+), 101 deletions(-) diff --git a/_scripts/ProcessLocalesPlugin.js b/_scripts/ProcessLocalesPlugin.js index d08bb3734f833..16dc6b9f19787 100644 --- a/_scripts/ProcessLocalesPlugin.js +++ b/_scripts/ProcessLocalesPlugin.js @@ -151,7 +151,7 @@ class ProcessLocalesPlugin { const data = loadYaml(contents) this.locales.set(locale, data) - this.localeNames.push(data['Locale Name'] ?? locale) + this.localeNames.push(data['Locale name'] ?? locale) } } diff --git a/src/main/index.js b/src/main/index.js index b38beddf2bb92..59dd8618a1a56 100644 --- a/src/main/index.js +++ b/src/main/index.js @@ -264,8 +264,8 @@ function runApp() { arguments: '--new-window', iconPath: process.execPath, iconIndex: 0, - title: 'New Window', - description: 'Open New Window' + title: 'Open new window', + description: 'Open new window' } ]) } diff --git a/src/renderer/App.vue b/src/renderer/App.vue index d9cf586f86c21..2dc584135d762 100644 --- a/src/renderer/App.vue +++ b/src/renderer/App.vue @@ -29,7 +29,7 @@ /> - {{ $t('Global.Counts.Subscriber Count', { count: formattedSubCount }, subCount) }} + {{ $t('Global.Counts.Subscriber count', { count: formattedSubCount }, subCount) }}

diff --git a/src/renderer/components/CommentSection/CommentSection.vue b/src/renderer/components/CommentSection/CommentSection.vue index 1fc9e0f80ddad..0653c8813386a 100644 --- a/src/renderer/components/CommentSection/CommentSection.vue +++ b/src/renderer/components/CommentSection/CommentSection.vue @@ -43,7 +43,7 @@ - {{ t('Search Bar.Remove') }} + {{ t('Search bar.Remove') }} diff --git a/src/renderer/components/FtListChannel/FtListChannel.vue b/src/renderer/components/FtListChannel/FtListChannel.vue index 3ae13f6b58b97..f4a5b747ce24f 100644 --- a/src/renderer/components/FtListChannel/FtListChannel.vue +++ b/src/renderer/components/FtListChannel/FtListChannel.vue @@ -44,14 +44,14 @@ class="subscriberCount" > - {{ $t('Global.Counts.Subscriber Count', {count: formattedSubscriberCount}, subscriberCount) }} + {{ $t('Global.Counts.Subscriber count', {count: formattedSubscriberCount}, subscriberCount) }} - {{ $t('Global.Counts.Video Count', {count: formattedVideoCount}, videoCount) }} + {{ $t('Global.Counts.Video count', {count: formattedVideoCount}, videoCount) }}

- {{ $t('Global.Counts.Channel Count', {count: formattedChannelCount}, channelCount) }} + {{ $t('Global.Counts.Channel count', {count: formattedChannelCount}, channelCount) }} - {{ $t('Global.Counts.Video Count', {count: formattedVideosCount}, videoCount) }} + {{ $t('Global.Counts.Video count', {count: formattedVideosCount}, videoCount) }} diff --git a/src/renderer/components/FtNotificationBanner/FtNotificationBanner.vue b/src/renderer/components/FtNotificationBanner/FtNotificationBanner.vue index 616dac87f32de..1379b273bdefb 100644 --- a/src/renderer/components/FtNotificationBanner/FtNotificationBanner.vue +++ b/src/renderer/components/FtNotificationBanner/FtNotificationBanner.vue @@ -17,8 +17,8 @@