mozilla-mobile / firefox-ios

Firefox for iOS
Mozilla Public License 2.0
12.24k stars 2.94k forks source link

Bugfix FXIOS-10604 ⁃ For cases when we don't have a baseDomain, add a default string #23232

Closed dicarobinho closed 2 days ago

dicarobinho commented 2 days ago

:scroll: Tickets

Jira ticket Github issue

:bulb: Description

Added a default value for websites that don't ahave a base domain

:pencil: Checklist

You have to check all boxes before merging

mobiletest-ci-bot commented 2 days ago
Messages
:book: Project coverage: 33.04%
:book: Edited 2 files
:book: Created 0 files

Client.app: Coverage: 31.13

File Coverage
BrowserViewController+WebViewDelegates.swift 4.46% ⚠️

Generated by :no_entry_sign: Danger Swift against 975a67844cecce115dc98ca35e716440dbaa1cd3

flodolo commented 1 day ago

This type of replacement is error-prone when it comes to localization, because the sentence's structure might need to change.

Can we use a separate string instead?

This site is asking to download a file and add an event to your calendar.