0
Fork 0
mirror of https://codeberg.org/librewolf/source.git synced 2025-01-18 02:12:30 -05:00

fix pref-naming.patch

This commit is contained in:
Malte Jürgens 2023-03-15 13:13:40 +01:00
parent 60461a1c32
commit eff2c03086
No known key found for this signature in database
GPG key ID: D29FBD5F93C0CFC3
2 changed files with 19 additions and 19 deletions

View file

@ -1,7 +1,5 @@
diff --git a/browser/locales/en-US/browser/preferences/preferences.ftl b/browser/locales/en-US/browser/preferences/preferences.ftl --- browser/locales/en-US/browser/preferences/preferences.ftl
index a1e414697e71..b69052923385 100644 +++ browser/locales/en-US/browser/preferences/preferences.ftl
--- a/browser/locales/en-US/browser/preferences/preferences.ftl
+++ b/browser/locales/en-US/browser/preferences/preferences.ftl
@@ -128,6 +128,8 @@ search-results-help-link = Need help? Visit <a data-l10n-name="url">{ -brand-sho @@ -128,6 +128,8 @@ search-results-help-link = Need help? Visit <a data-l10n-name="url">{ -brand-sho
startup-header = Startup startup-header = Startup
@ -11,7 +9,7 @@ index a1e414697e71..b69052923385 100644
always-check-default = always-check-default =
.label = Always check if { -brand-short-name } is your default browser .label = Always check if { -brand-short-name } is your default browser
.accesskey = y .accesskey = y
@@ -469,13 +471,13 @@ play-drm-content = @@ -472,7 +474,7 @@ play-drm-content =
.label = Play DRM-controlled content .label = Play DRM-controlled content
.accesskey = P .accesskey = P
@ -20,14 +18,16 @@ index a1e414697e71..b69052923385 100644
update-application-title = { -brand-short-name } Updates update-application-title = { -brand-short-name } Updates
update-application-description = Keep { -brand-short-name } up to date for the best performance, stability, and security. @@ -480,7 +482,7 @@ update-application-description = Keep { -brand-short-name } up to date for the b
# Variables:
# $version (string) - Firefox version
-update-application-version = Version { $version } <a data-l10n-name="learn-more">Whats new</a> -update-application-version = Version { $version } <a data-l10n-name="learn-more">Whats new</a>
+update-application-version = Version { $version } <a data-l10n-name="learn-more">Visit the repositories</a> +update-application-version = Version { $version } <a data-l10n-name="learn-more">Visit the repositories</a>
update-history = update-history =
.label = Show Update History… .label = Show Update History…
@@ -634,7 +636,7 @@ home-restore-defaults = @@ -639,7 +641,7 @@ home-restore-defaults =
.accesskey = R .accesskey = R
home-mode-choice-default-fx = home-mode-choice-default-fx =
@ -36,7 +36,7 @@ index a1e414697e71..b69052923385 100644
home-mode-choice-custom = home-mode-choice-custom =
.label = Custom URLs… .label = Custom URLs…
@@ -663,8 +665,8 @@ choose-bookmark = @@ -668,8 +670,8 @@ choose-bookmark =
## Home Section - Firefox Home Content Customization ## Home Section - Firefox Home Content Customization
@ -47,15 +47,12 @@ index a1e414697e71..b69052923385 100644
home-prefs-search-header = home-prefs-search-header =
.label = Web Search .label = Web Search
@@ -709,7 +711,7 @@ home-prefs-recent-activity-description = A selection of recent sites and content @@ -714,7 +716,7 @@ home-prefs-recent-activity-description = A selection of recent sites and content
home-prefs-snippets-header = home-prefs-snippets-header =
.label = Snippets .label = Snippets
-home-prefs-snippets-description-new = Tips and news from { -vendor-short-name } and { -brand-product-name } -home-prefs-snippets-description-new = Tips and news from { -vendor-short-name } and { -brand-product-name }
+home-prefs-snippets-description-new = Tips and news from { -vendor-short-name } +home-prefs-snippets-description-new = Tips and news from { -vendor-short-name }
home-prefs-sections-rows-option = # Variables:
.label = # $num (number) - Number of rows displayed
--
2.37.3

View file

@ -31,15 +31,18 @@ echo "$files" | xargs touch
echo "$files" | xargs git add echo "$files" | xargs git add
echo "-> Trying to apply patch" echo "-> Trying to apply patch"
patch -p1 -i "../$1" rejects="$(patch -p1 -i "../$1" | tee /dev/stderr | sed -r --quiet 's/^.*saving rejects to file (.*\.rej)$/\1/p')"
echo "-> Done. You can now fix the patch. If you are done," echo "-> Done. You can now fix the patch. If you are done, press enter to"
echo " press enter to update the patch with your changes" echo " update the patch with your changes or Ctrl+C to abort."
echo " or Ctrl+C to abort." code . &
echo "$rejects" | xargs code &
read read
echo "-> Updating patch" echo "-> Updating patch"
git diff >"../$1" sed -i '/^[^#]/d' "../$1"
git diff --no-prefix | sed '/^diff --git /,+1 d' >>"../$1"
sed -i '1{/^$/d}' "../$1"
echo "-> Cleaning up" echo "-> Cleaning up"
cd .. cd ..