This repository has been archived by the owner on Nov 1, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 473
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into update-as-93.1.0
- Loading branch information
Showing
44 changed files
with
1,125 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
components/browser/awesomebar/src/main/res/values-skr/strings.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<!-- Description for the button to accept the search suggestion and continue editing the search. --> | ||
<string name="mozac_browser_awesomebar_edit_suggestion">تجویز کوں قبول کرو تے تبدیلی کرو</string> | ||
</resources> |
46 changes: 46 additions & 0 deletions
46
...browser/engine-gecko/src/main/java/mozilla/components/browser/engine/gecko/ext/Address.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
/* This Source Code Form is subject to the terms of the Mozilla Public | ||
* License, v. 2.0. If a copy of the MPL was not distributed with this | ||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | ||
|
||
package mozilla.components.browser.engine.gecko.ext | ||
|
||
import mozilla.components.concept.storage.Address | ||
import org.mozilla.geckoview.Autocomplete | ||
|
||
/** | ||
* Converts a GeckoView [Autocomplete.Address] to an Android Components [Address]. | ||
*/ | ||
fun Autocomplete.Address.toAddress() = Address( | ||
guid = guid ?: "", | ||
givenName = givenName, | ||
additionalName = additionalName, | ||
familyName = familyName, | ||
organization = organization, | ||
streetAddress = streetAddress, | ||
addressLevel3 = addressLevel3, | ||
addressLevel2 = addressLevel2, | ||
addressLevel1 = addressLevel1, | ||
postalCode = postalCode, | ||
country = country, | ||
tel = tel, | ||
email = email | ||
) | ||
|
||
/** | ||
* Converts an Android Components [Address] to a GeckoView [Autocomplete.Address]. | ||
*/ | ||
fun Address.toAutocompleteAddress() = Autocomplete.Address.Builder() | ||
.guid(guid) | ||
.givenName(givenName) | ||
.additionalName(additionalName) | ||
.familyName(familyName) | ||
.organization(organization) | ||
.streetAddress(streetAddress) | ||
.addressLevel3(addressLevel3) | ||
.addressLevel2(addressLevel2) | ||
.addressLevel1(addressLevel1) | ||
.postalCode(postalCode) | ||
.country(country) | ||
.tel(tel) | ||
.email(email) | ||
.build() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
components/browser/engine-system/src/main/res/values-skr/strings.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<!-- Text for the title of an alert dialog displayed by a web page. %1$s will be replaced with the URL of the current page (displaying the dialog). --> | ||
<string name="mozac_browser_engine_system_alert_title">%1$s تے ورقہ آہدے:</string> | ||
<!-- Text for the message of an auth dialog displayed by a web page. | ||
%1$s will be replaced by the hostname or a description of the protected area/site, %2$s will be replaced with the URL of the current page (displaying the dialog). --> | ||
<string name="mozac_browser_engine_system_auth_message">%2$s ورتݨ ناں تے پاسورڈ دی ارداس کریندا پئے۔ سائٹ آہدی ہے: “%1$s”</string> | ||
<!-- Text for the message of an auth dialog displayed by a web page. %1$s will be replaced with the URL of the current page (displaying the dialog). --> | ||
<string name="mozac_browser_engine_system_auth_no_realm_message">%1$s تہاݙے ورتݨ ناں تے پاسورڈ دی ارداس کریندا پئے۔</string> | ||
</resources> |
Oops, something went wrong.
99ab397
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Uh oh! Looks like an error! Details
Failed to fetch task artifact
public/github/customCheckRunText.md
for GitHub integration.Make sure the artifact exists on the worker or other location.