Backed out changeset a8bcb8de017f (bug 1836344) for causing bc failures at browser_manage_languages.js on a CLOSED TREE

This commit is contained in:
Cristina Horotan 2023-06-07 08:32:51 +03:00
parent 7bdbae3ca7
commit 6651c13d9f
4 changed files with 10 additions and 14 deletions

View File

@ -401,9 +401,9 @@
<hbox class="translations-manage-language">
<label data-l10n-id="translations-manage-all-language"></label>
<button id="translations-manage-install-all"
data-l10n-id="translations-manage-language-download-button"></button>
data-l10n-id="translations-manage-download-button"></button>
<button id="translations-manage-delete-all"
data-l10n-id="translations-manage-language-delete-button"></button>
data-l10n-id="translations-manage-delete-button"></button>
</hbox>
<!-- The downloadable languages will be listed here. -->
</html:div>

View File

@ -1257,11 +1257,11 @@ var gMainPane = {
document.l10n.setAttributes(
downloadButton,
"translations-manage-language-download-button"
"translations-manage-download-button"
);
document.l10n.setAttributes(
deleteButton,
"translations-manage-language-delete-button"
"translations-manage-delete-button"
);
downloadButton.hidden = true;

View File

@ -104,12 +104,8 @@ translations-manage-settings-button =
.accesskey = t
translations-manage-description = Download languages for offline translation.
translations-manage-all-language = All languages
translations-manage-language-download-button =
.label = Download
.accesskey = D
translations-manage-language-delete-button =
.label = Delete
.accesskey = e
translations-manage-download-button = Download
translations-manage-delete-button = Delete
translations-manage-error-download = There was a problem downloading the language files. Please try again.
translations-manage-error-delete = There was an error deleting the language files. Please try again.
translations-manage-error-list = Failed to get the list of available languages for translation. Refresh the page to try again.

View File

@ -1457,7 +1457,7 @@ richlistitem .text-link:hover {
#translations-manage-install-list {
height: 220px;
overflow: auto;
overflow: scroll;
background-color: var(--in-content-box-background);
border: 1px solid var(--in-content-box-border-color);
border-radius: 4px;
@ -1472,13 +1472,13 @@ richlistitem .text-link:hover {
}
.translations-manage-language {
align-items: center;
align-items: center;
padding: 0 8px;
}
.translations-manage-language label {
flex: 1;
margin: 0 15px;
flex: 1;
margin: 0 15px;
}
#translations-manage-error {