Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PR#582 addition 1 #592

Merged
merged 6 commits into from
Apr 14, 2019
Merged

Conversation

ikedas
Copy link
Member

@ikedas ikedas commented Apr 10, 2019

Additional fix to PR #582 (1) sso_login.tt2: Don't include HTML elements in translated strings.

Note: Message catalog should be tweaked.

ldidry added 3 commits March 22, 2019 15:09
- 4 spaces indentation
- Indent on HTML tags AND on TT2 stuff ([% IF … %])
- Avoid HTML or TT2 oneliners like:
```
  [% IF top_menu %]…[% END %]
  <div class="displayNone"><a href="#top">Top of Page</a></div>
```
- When a tag has too many attributes to be on one line, indent the
  attributes at the same level than the first one:
```
<label class="foo"
       id="bar">
    Baz
</label>
```
@ikedas ikedas mentioned this pull request Apr 10, 2019
@dverdin
Copy link
Contributor

dverdin commented Apr 10, 2019

Very good Soji. We got these kind of HTML tags in the catalogues for too long.

@ldidry
Copy link
Contributor

ldidry commented Apr 11, 2019

Could you have a look at ls_templates.tt2 too? There is another translated string containing HTML tags (and uglier tha in sso_login.tt2).

@ldidry
Copy link
Contributor

ldidry commented Apr 11, 2019

It's at the beginning of the file, line 8, you can’t miss it.

ldidry and others added 3 commits April 12, 2019 08:35
…ts in translated strings.

Note: Message catalog should be tweaked.
…ments in translated strings.

Note: Message catalog should be tweaked.
@ikedas ikedas force-pushed the pr-582-addition_1 branch from 2463a55 to ab44d12 Compare April 13, 2019 09:30
@ikedas ikedas merged commit c835010 into sympa-community:sympa-6.2 Apr 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants