Commit Graph

17958 Commits

Author SHA1 Message Date
Μητσάκης Παναγιώτης
def3a408e6
Merge branch 'SubtitleEdit:main' into main 2023-08-10 18:56:34 +03:00
niksedk
ff262b1ea7 Work on combobox/dark-theme 2023-08-10 17:44:05 +02:00
niksedk
03b70b0fcd Minor UI fix for "Fix common errors" 2023-08-09 18:34:41 +02:00
niksedk
af8a299e1a More combobox
Fix #7228
2023-08-09 17:44:10 +02:00
niksedk
39b42b1517 Fix for new combobox - the jmaraujouy :)
Fix #7228
2023-08-09 17:31:11 +02:00
niksedk
43692374b7 Use custom msgbox 2023-08-09 16:43:45 +02:00
niksedk
1c2130a4f5 Testing msgbox 2023-08-09 06:43:37 +02:00
niksedk
37ce5d48d8 Work on dark msgbox 2023-08-08 20:20:12 +02:00
niksedk
1c354d8259 Fix typo in French translaton - thx Nagutos :)
Related to #7225
2023-08-08 20:16:04 +02:00
niksedk
5a4d766314 Work on combobox 2023-08-08 17:44:41 +02:00
niksedk
93e4022871 Work on textbox 2023-08-08 17:05:24 +02:00
niksedk
ba8521263a Work on combobox 2023-08-08 16:23:53 +02:00
niksedk
62c992247b Fix text box top issue - thx OmrSi :) 2023-08-08 15:57:47 +02:00
Nikolaj Olsson
af777b5843
Merge pull request #7218 from jmaraujouy/main
Update es-AR & es-MX language files
2023-08-08 00:00:18 -04:00
niksedk
d72327d71b Fix for set layer - thx Leon :)
Fix #7221
2023-08-07 22:18:55 +02:00
niksedk
da1bb89f75 Trying to fix focus issue with combobox 2023-08-07 22:02:11 +02:00
niksedk
e11d214f1f Minor UI fixes 2023-08-07 21:29:59 +02:00
Nikolaj Olsson
b070352748
Merge pull request #7223 from ivandrofly/feature/fonthelper
Fixes filtering typos "Italic" => "Regular"
2023-08-07 15:27:13 -04:00
Ivandro Jao
494b33f208 Update font-related comments in FontHelper.cs
Updated comments in the FontHelper class to accurately refer to 'font families' rather than 'fonts'. The terminology was incorrect, leading to potential confusion; a 'font family' better and correctly describes the collections being returned by the functions.
2023-08-07 20:19:42 +01:00
Ivandro Jao
47dababcb1 Refactor private variable name in FontHelper class
In the FontHelper.cs file, the private static array variable '_fonts' was renamed to 'Fonts' for better code readability. This variable is used in the static constructor and methods to store and retrieve font families. These changes do not alter the functionality of the FontHelper class, its methods, or the code that uses it.
2023-08-07 20:15:09 +01:00
Ivandro Jao
7e65c4073c Update font logic from Italic to Regular styles
The FontHelper logic was incorrectly referencing Italic styles instead of Regular styles in its methods. Both `GetRegularAndBoldCapableFontFamilies` and `GetRegularOrBoldCapableFontFamilies` methods were corrected, ensuring the correct styles (Bold and Regular) are queried for in the font collection.
2023-08-07 20:14:27 +01:00
niksedk
b73eaeaa37 Update Bulgarian translation - thx Калин :) 2023-08-07 17:02:14 +02:00
Juan M. Araújo
36e72bc610
Update es-AR.xml 2023-08-07 10:06:28 -03:00
Juan M. Araújo
4e525a8e69
Update es-MX.xml
Updated language definitions and added missing entries
2023-08-07 09:36:46 -03:00
Juan M. Araújo
c4ae33416f
Update es-AR.xml
Added latest definitions & missing entries
2023-08-07 08:56:48 -03:00
niksedk
7d0c83f238 Merge branch 'main' of https://github.com/SubtitleEdit/subtitleedit 2023-08-07 08:29:51 +02:00
niksedk
02f63aec03 Minor UI fix 2023-08-07 08:29:41 +02:00
Nikolaj Olsson
6d34bbb049
Merge pull request #7216 from ivandrofly/feature/font
Change direct font fetching with targeted methods in FontHelper
2023-08-07 02:22:41 -04:00
niksedk
2d084cf6c1 Remove icon from window Adjust duration 2023-08-07 07:22:23 +02:00
niksedk
f3b7540349 Fix context menu arrow for dark theme - thx Juan :)
See https://github.com/SubtitleEdit/subtitleedit/issues/7205#issuecomment-1666944626
2023-08-07 07:22:01 +02:00
Ivandro Jao
b482b4d779 Update font style parameters in FontHelper
The font style parameters within the FontHelper class were changed from "Bold and Italic" and "Bold or Italic" to "Bold and Regular" and "Bold or Regular" respectively. This adjustment provides a more accurate representation of fonts supporting different styles.
2023-08-06 23:28:16 +01:00
Ivandro Jao
f8580c6440 Update font helper queries to include regular fonts
Modified the FontHelper methods GetBoldAndItalicCapableFontFamilies and GetItalicOrBoldCapableFontFamilies in order to yield fonts that are capable of regular and bold styles, instead of just italic or bold. This change was made across multiple files where these methods are called. The adjustment allows for a greater range of fonts to be used, especially in instances where an italic style is not necessary or desired.
2023-08-06 23:24:48 +01:00
Ivandro Jao
72027445f1 Update method names for font retrieval
Updated the method names in FontHelper.cs and its references in multiple files for more accurate description of the returned object. Changed 'GetBoldAndItalicCapableFonts' and 'GetItalicOrBoldCapableFonts' to 'GetBoldAndItalicCapableFontFamilies' and 'GetItalicOrBoldCapableFontFamilies' respectively, as they are returning FontFamily objects not Font objects. This provides clearer understanding of the method's functionality to other developers.
2023-08-06 23:20:33 +01:00
Ivandro Jao
f9a82afed8 Change direct font fetching with targeted methods in FontHelper
This commit updates font fetching in many forms and logical parts of the app. Earlier, fonts were directly fetched using `FontFamily.Families`. However, this has been replaced with specific calls to methods of the `FontHelper` class. These methods like `GetAllSupportedFontFamilies()`, `GetItalicOrBoldCapableFonts()`, and `GetBoldAndItalicCapableFonts()` provide an easier and more clear selection of fonts based on specific needs. This makes the code more readable and manageable.
2023-08-06 23:18:32 +01:00
niksedk
c80fc83c2c Minor dark theme listview hotrack bg color fix 2023-08-06 20:13:42 +02:00
niksedk
b65696b87e Merge branch 'main' of https://github.com/SubtitleEdit/subtitleedit 2023-08-06 17:21:37 +02:00
niksedk
f293508743 Improve subtitle detection in RTF files - thx Hara :) 2023-08-06 17:21:29 +02:00
Nikolaj Olsson
e300fcf1f4
Merge pull request #7215 from hugok79/patch-102
Update pt-PT.xml
2023-08-06 10:58:44 -04:00
Hugo Carvalho
76b0ff2709
Update pt-PT.xml
For commit: 5406fc1d0d
2023-08-06 15:54:20 +01:00
niksedk
405798654e Merge branch 'main' of https://github.com/SubtitleEdit/subtitleedit 2023-08-06 15:20:11 +02:00
niksedk
bf217c8b0d Update Korean translatioin - thx domddol :) 2023-08-06 15:20:04 +02:00
Nikolaj Olsson
691e91dc0e
Merge pull request #7214 from potplayer-fanpack/main
Update pl-PL.xml
2023-08-06 09:18:48 -04:00
niksedk
af7a417ac8 a bit more 2023-08-06 15:09:08 +02:00
niksedk
3f3125195e Merge branch 'main' of https://github.com/SubtitleEdit/subtitleedit 2023-08-06 15:08:31 +02:00
niksedk
14c8d7b499 Minor UI fix in image export 2023-08-06 15:08:20 +02:00
Adam Malich
169957e873 Update pl-PL.xml 2023-08-06 13:48:38 +02:00
Nikolaj Olsson
a931e0b9da
Merge pull request #7213 from bovirus/main
Update italian language
2023-08-06 05:57:10 -04:00
bovirus
b6aef08b5b
Update italian language 2023-08-06 11:55:30 +02:00
niksedk
0b7582319a Fix combobox issue 2023-08-06 11:47:12 +02:00
niksedk
7345b1c466 Add a combobox test 2023-08-06 11:35:48 +02:00