mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-10 16:52:14 -04:00
Compare commits
1 commit
79e3e4d8ab
...
fa93f9526c
Author | SHA1 | Date | |
---|---|---|---|
|
fa93f9526c |
3 changed files with 0 additions and 16 deletions
|
@ -519,14 +519,6 @@ class ArrayValue(AstNode):
|
||||||
range=quoted_literal.range,
|
range=quoted_literal.range,
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
elif isinstance(value.child, Translated):
|
|
||||||
errors.append(
|
|
||||||
CompileError(
|
|
||||||
"Arrays can't contain translated strings",
|
|
||||||
range=value.child.range,
|
|
||||||
)
|
|
||||||
)
|
|
||||||
|
|
||||||
if len(errors) > 0:
|
if len(errors) > 0:
|
||||||
raise MultipleErrors(errors)
|
raise MultipleErrors(errors)
|
||||||
|
|
||||||
|
|
|
@ -1,7 +0,0 @@
|
||||||
using Gtk 4.0;
|
|
||||||
|
|
||||||
StringList {
|
|
||||||
strings: [
|
|
||||||
_("Test")
|
|
||||||
];
|
|
||||||
}
|
|
|
@ -1 +0,0 @@
|
||||||
5,5,9,Arrays can't contain translated strings
|
|
Loading…
Add table
Add a link
Reference in a new issue