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

ui: fix language setting on the public interface #634

Merged
merged 1 commit into from
Jun 16, 2021

Conversation

Garfield-fr
Copy link
Contributor

@Garfield-fr Garfield-fr commented Jun 16, 2021

Co-Authored-by: Bertrand Zuchuat bertrand.zuchuat@rero.ch

Code review check list

  • Commit message template compliance.
  • Commit message without typos.
  • File names.
  • Functions names.
  • Functions docstrings.
  • Unnecessary commited files?
  • Cypress tests successful?

@github-actions github-actions bot added f: public ui Public interface, as opposed to the professional interface f: search labels Jun 16, 2021
@Garfield-fr Garfield-fr force-pushed the zub-public-language-fix branch 2 times, most recently from 7b3b82b to 95f513f Compare June 16, 2021 05:42
Copy link
Contributor

@iGormilhit iGormilhit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Commit message:

ui: fix language setting on the public interface

* Fixes the current language on public interface.
* Improves center the text above thumbnail on document brief view.
* Moves the document availability at the end of the metadata of the
  document brief view.
* Closes rero/rero-ils#1391.

@iGormilhit iGormilhit added this to the v1.3.0 milestone Jun 16, 2021
@Garfield-fr Garfield-fr changed the title public view: fix language interface ui: fix language setting on the public interface Jun 16, 2021
Copy link
Contributor

@iGormilhit iGormilhit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Commit message approved.

@@ -31,16 +33,36 @@ export class AppInitializerService {
*/

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doc for params is missing

* Fixes the current language on public interface.
* Improves center the text above thumbnail on document brief view.
* Moves the document availability at the end of the metadata of the
  document brief view.
* Closes rero/rero-ils#1391.

Co-Authored-by: Bertrand Zuchuat <bertrand.zuchuat@rero.ch>
this._userService.load();
this._routeCollectionService.load();
resolve(true);
});
}

/** Initialize Translate Service */
private initTranslateService(): void {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can be one day in the shared or ng-core

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the next refactoring ;-)

@Garfield-fr Garfield-fr merged commit f75faed into rero:dev Jun 16, 2021
@Garfield-fr Garfield-fr deleted the zub-public-language-fix branch June 16, 2021 07:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
f: public ui Public interface, as opposed to the professional interface f: search
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Interface does not display the right language
4 participants