Skip to content

Nested strings in interface #191

Closed
Closed
@mjablecnik

Description

I have this strings with interface:

distribution_list(interface=DistributionType):
  point:
    title: "Seznam výdejních míst"
    error: "Nastala neočekávaná chyba: Výdejní místa nelze načíst."
    buttons:
      refresh: "Obnovit"
      finish: "OK"
  box:
    title: "Seznam boxů"
    error: "Nastala neočekávaná chyba: Seznam boxů nelze načíst."
    buttons:
      refresh: "Obnovit"
      finish: "Detail"

Into slang.yaml I added:
Screenshot 2024-02-05 at 14 55 21

During generation I have this:
Screenshot 2024-02-05 at 14 55 49

But generated code looks like this:
Screenshot 2024-02-05 at 14 57 32

Screenshot 2024-02-05 at 14 58 28

Can you somehow fix the generated code? Now it doesn't work.

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions