mirror of
https://github.com/Alex313031/thorium.git
synced 2025-01-09 03:07:48 -03:00
add thorium strings and fix tab bottom radius
This commit is contained in:
parent
6450ab7810
commit
433f47e5de
4 changed files with 19 additions and 2 deletions
|
@ -70,7 +70,7 @@ index e2a95fa3aadaa..5b608e9272838 100644
|
|||
"(raster, webgl, video) "
|
||||
" continues using the gpu main thread.";
|
||||
|
||||
+const char kEnableFtpName[] = "Enable support for FTP URLs";
|
||||
+const char kEnableFtpName[] = "Enable support for FTP URLs. Enabled by default. Thorium Flag.";
|
||||
+const char kEnableFtpDescription[] =
|
||||
+ "When enabled, the browser will handle navigations to ftp:// URLs by "
|
||||
+ "either showing a directory listing or downloading the resource over FTP. "
|
||||
|
|
|
@ -1084,7 +1084,7 @@ index d48223986946d..9e5df278ea2b6 100644
|
|||
+ static const bool rectangular_tabs =
|
||||
+ base::CommandLine::ForCurrentProcess()->HasSwitch("rectangular-tabs");
|
||||
+ if (features::IsThorium2024() && !rectangular_tabs) {
|
||||
+ return 10;
|
||||
+ return 8;
|
||||
+ } else if ((rectangular_tabs && features::IsThorium2024()) || (rectangular_tabs && !features::IsThorium2024())) {
|
||||
+ return 4;
|
||||
+ } else {
|
||||
|
|
|
@ -276,6 +276,9 @@ are declared in tools/grit/grit_rule.gni.
|
|||
</translations>
|
||||
<release seq="1">
|
||||
<messages fallback_to_english="true">
|
||||
<!-- Thorium Browser specific strings -->
|
||||
<part file="thorium_strings.grdp" />
|
||||
|
||||
<!-- Access Code Cast specific strings -->
|
||||
<part file="access_code_cast_strings.grdp" />
|
||||
|
||||
|
|
14
src/chrome/app/thorium_strings.grdp
Normal file
14
src/chrome/app/thorium_strings.grdp
Normal file
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<grit-part>
|
||||
<message name="IDS_RESTORE_TAB_BUTTON_NAME" desc="">
|
||||
Restore Tab Button
|
||||
</message>
|
||||
<message name="IDS_RESTORE_TAB_BUTTON_TOOLTIP" desc="">
|
||||
Restore Tab
|
||||
</message>
|
||||
<message name="IDS_ALTERNATE_HOME_PAGE" desc="">
|
||||
Open alternate home page
|
||||
</message>
|
||||
|
||||
</grit-part>
|
Loading…
Reference in a new issue