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
0:43.63 Compiling fluent-ffi v0.1.0 (/Users/mathjazz/src/mozilla-central/intl/l10n/rust/fluent-ffi) | |
0:44.82 error[E0053]: method `as_string` has an incompatible type for trait | |
0:44.82 --> intl/l10n/rust/fluent-ffi/src/builtins.rs:397:32 | |
0:44.82 | | |
0:44.82 397 | fn as_string(&self, intls: &IntlLangMemoizer) -> Cow<'static, str> { | |
0:44.82 | ^^^^^^^^^^^^^^^^^ | |
0:44.82 | | | |
0:44.82 | expected struct `intl_memoizer::IntlLangMemoizer`, found a different struct `intl_memoizer::IntlLangMemoizer` | |
0:44.82 | help: change the parameter type to match the trait: `&intl_memoizer::IntlLangMemoizer` | |
0:44.82 | |
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
--- a/intl/l10n/rust/fluent-ffi/src/bundle.rs | |
+++ b/intl/l10n/rust/fluent-ffi/src/bundle.rs | |
@@ -18,21 +18,25 @@ pub type FluentBundleRc = FluentBundle<R | |
#[derive(Debug)] | |
#[repr(C, u8)] | |
pub enum FluentArgument { | |
Double_(f64), | |
String(*const nsCString), | |
} |
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
Leopold:mozilla-central mathjazz$ hg diff | |
diff --git a/intl/l10n/rust/fluent-ffi/Cargo.toml b/intl/l10n/rust/fluent-ffi/Cargo.toml | |
--- a/intl/l10n/rust/fluent-ffi/Cargo.toml | |
+++ b/intl/l10n/rust/fluent-ffi/Cargo.toml | |
@@ -1,13 +1,13 @@ | |
[package] | |
name = "fluent-ffi" | |
version = "0.1.0" | |
authors = ["Zibi Braniecki <zibi@braniecki.net>"] | |
edition = "2018" |
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
diff --git a/frontend/src/modules/entitydetails/components/Helpers.css b/frontend/src/modules/entitydetails/components/Helpers.css | |
index 797833c17..e96f5e484 100644 | |
--- a/frontend/src/modules/entitydetails/components/Helpers.css | |
+++ b/frontend/src/modules/entitydetails/components/Helpers.css | |
@@ -51,6 +51,7 @@ | |
.react-tabs__tab-panel { | |
display: none; | |
+ height: calc(100% - 44px); | |
overflow-y: auto; |
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
from django.db.models.functions import TruncMonth | |
from django.db.models import Avg, Sum | |
from pontoon.base.utils import aware_datetime, convert_to_unix_time, get_last_months | |
from pontoon.insights.models import LocaleInsightsSnapshot | |
def get_insights(query_filters=None): | |
"""Get data required by the Insights tab. |
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
diff --git a/frontend/src/core/comments/components/AddComment.css b/frontend/src/core/comments/components/AddComment.css | |
index c88621bf2..a3fd9f5d1 100644 | |
--- a/frontend/src/core/comments/components/AddComment.css | |
+++ b/frontend/src/core/comments/components/AddComment.css | |
@@ -1,10 +1,10 @@ | |
.comments-list .add-comment textarea { | |
- background-color: #272a2f; | |
- border: solid 1px #272a2f; | |
- border-radius: 5px; | |
- color: #AAAAAA; |
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
diff --git a/frontend/package.json b/frontend/package.json | |
index 44bd0742f..e2f2f4108 100644 | |
--- a/frontend/package.json | |
+++ b/frontend/package.json | |
@@ -22,6 +22,7 @@ | |
"lodash.debounce": "4.0.8", | |
"lodash.escaperegexp": "^4.1.2", | |
"lodash.flattendeep": "4.4.0", | |
+ "lodash.isempty": "4.4.0", | |
"lodash.isequal": "4.5.0", |
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
""" | |
Retrieve a list of reviewers for given locales and timeframe with a number of | |
suggestions they approved or rejected. | |
Self-reviewed translations are excluded from calculaton. | |
Output is formatted as CSV with the following columns: | |
* Locale | |
* User | |
* Number of Approved Suggestions | |
* Number of Rejected Suggestions |
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
""" | |
Retrieve times to graduate to a new role for translators and managers | |
of a given locale. | |
Output is formatted as CSV with the following columns: | |
* Locale | |
* User | |
* Date | |
* New Role | |
* Days in Previous Role |
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
Leopold:pontoon mathjazz$ git diff pontoon/ | |
diff --git a/pontoon/base/models.py b/pontoon/base/models.py | |
index 0627cc95..ca5cf160 100644 | |
--- a/pontoon/base/models.py | |
+++ b/pontoon/base/models.py | |
@@ -2846,8 +2846,34 @@ class Translation(DirtyFieldsMixin, models.Model): | |
locale=self.locale | |
) | |
+ import logging |