Skip to content

Store listings featured graphics > support for - in agency name #769

Closed

Description

@mmathieum

In shared-modules/app-android/src/main/play/listings/en-US/graphics/feature-graphic/MT1.png.MT.sh, agency name is splitted in 2 if length is bigger than 15.
If not, the agency name is splitted on " " (space) into 2 agency name variable in order to be rendered on 2 lines.

The script now needs to be able to split on " " (space) and "-" (dash) and then rebuild the agency name with original splitter character.

For example:

  • Saint-Jean-sur-Richelieu -> Saint-Jean-sur- & Richelieu
  • Saint-Jean sur Richelieu -> Saint-Jean sur & Richelieu
  • Saint Jean sur Richelieu -> Saint Jean sur & Richelieu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

P3enhancementshell

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions