Skip to content

Fixed pages showing up in wrong language #1750

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

Closed
wants to merge 1 commit into from
Closed

Fixed pages showing up in wrong language #1750

wants to merge 1 commit into from

Conversation

JackieNim
Copy link
Contributor

Fix issue where links show up in the wrong language
iluwatar/java-design-patterns-web#22

@sonarqubecloud
Copy link

sonarqubecloud bot commented May 9, 2021

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@ohbus ohbus self-assigned this May 11, 2021
Copy link
Contributor

@ohbus ohbus left a comment

Choose a reason for hiding this comment

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

@JackieNim Thank you so much for the update.

@iluwatar We may need to update the Wiki for the same changes we will be proposing to help new contributors and old ones as well to get familiarized with the new standard of adding language selection.

Copy link
Contributor

@ohbus ohbus left a comment

Choose a reason for hiding this comment

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

Kindly take a look at the comments.

@@ -114,7 +114,7 @@ public TcpLoggingClient(String clientName, int serverPort) {

@Override
public void run() {
try (var socket = new Socket(InetAddress.getLocalHost(), serverPort)) {
try (Socket socket = new Socket(InetAddress.getLocalHost(), serverPort)) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Why are we changing this?

Comment on lines +134 to +136
.registerChannel(tcpChannel(6666, loggingHandler))
.registerChannel(tcpChannel(6667, loggingHandler))
.registerChannel(udpChannel(6668, loggingHandler))
Copy link
Contributor

Choose a reason for hiding this comment

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

Please explain why are you reverting this change?

#1709 was used to patch the changes. Please show relevant necessity.

Comment on lines +66 to +69
service.execute(new TcpLoggingClient("Client 1", 6666));
service.execute(new TcpLoggingClient("Client 2", 6667));
service.execute(new UdpLoggingClient("Client 3", 6668));
service.execute(new UdpLoggingClient("Client 4", 6668));
Copy link
Contributor

Choose a reason for hiding this comment

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

Please do let me know the reason for this change.

These have been introduced at #1709 by myself.

Comment on lines 8 to 9
categories:
- Concurrency
Copy link
Contributor

Choose a reason for hiding this comment

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

There might be an issue with categories of version-number pattern. Please check L8

Suggested change
categories:
- Concurrency
categories: Concurrency

@@ -2,8 +2,9 @@
layout: pattern
title: Adapter
folder: adapter
permalink: "/patterns/adapter/"
permalink: "/patterns/adapter/ko"
Copy link
Contributor

Choose a reason for hiding this comment

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

This detail must have slipped when we approved the Korean Language translation PR but there seems to be an additional double quotation in all permalinks.

Need to check if this should be like how it is or not. Hey, @iluwatar any thoughts on this?

Suggested change
permalink: "/patterns/adapter/ko"
permalink: /patterns/adapter/ko

@@ -2,8 +2,9 @@
layout: pattern
title: Singleton
folder: singleton
permalink: "/patterns/singleton/"
permalink: "/patterns/singleton/ko"
Copy link
Contributor

Choose a reason for hiding this comment

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

Korean pattern readme for permalink is not unified like other patterns.

Suggested change
permalink: "/patterns/singleton/ko"
permalink: /patterns/singleton/ko

@@ -2,8 +2,9 @@
layout: pattern
title: Strategy
folder: strategy
permalink: /patterns/strategy/
permalink: "/patterns/strategy/ko"
Copy link
Contributor

Choose a reason for hiding this comment

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

Korean pattern readme for permalink is not unified like other patterns.

Suggested change
permalink: "/patterns/strategy/ko"
permalink: /patterns/strategy/ko

Comment on lines +2 to 12
afin qu'on puisse avoir un affichage agréable comme sur un
site web par exemple -->

# Les patrons de conception implémentés en Java

![Java CI with Maven](https://github.com/iluwatar/java-design-patterns/workflows/Java%20CI%20with%20Maven/badge.svg)
[![License MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/iluwatar/java-design-patterns/master/LICENSE.md)
[![Lines of Code](https://sonarcloud.io/api/project_badges/measure?project=iluwatar_java-design-patterns&metric=ncloc)](https://sonarcloud.io/dashboard?id=iluwatar_java-design-patterns)
[![Lines of Code](https://sonarcloud.io/api/project_badges/measure?project=iluwatar_java-design-patterns&metric=ncloc)](https://sonarcloud.io/dashboard?id=iluwatar_java-design-patterns)
[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=iluwatar_java-design-patterns&metric=coverage)](https://sonarcloud.io/dashboard?id=iluwatar_java-design-patterns)
[![Join the chat at https://gitter.im/iluwatar/java-design-patterns](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/iluwatar/java-design-patterns?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
Copy link
Contributor

Choose a reason for hiding this comment

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

Why are you making this change?

Comment on lines 16 to 28
# Introduction

Les patrons de conception (design patterns) sont les meilleures
pratiques formalisées qu’un programmeur peut utiliser pour résoudre
des problèmes courants lors de la conception d’une application
ou d’un système.
Le patron de conception est la meilleure formatalisation qu'un programmeur
peut utiliser pour résoudre un problème lors d'une conception d'une application/system.

Les patrons de conception peuvent accélérer le processus de
Le patron de conception (design pattern) est là pour accélérer le processus de
développement en fournissant des paradigmes éprouvés.

La réutilisation de patrons de conception aide à se prémunir des problèmes subtils
qui causent des problèmes majeurs, et cette pratique augmente la lisibilité
du code pour les développeurs et architectes familiers de ces concepts.
La réutilisation de patron de conception aide à prévenir des problèmes subtiles mais
qui sont à l'origine de problèmes majeures, comme cette pratique augmente la lisibilitée
du code par les développeurs/architectes familiers avec l'utilisation de ces concepts.

# Commencer
Copy link
Contributor

Choose a reason for hiding this comment

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

These translation have been improved in #1730

Why are you trying to revert these changes?

fr/README.md Outdated
Comment on lines 38 to 60
Ce site présente des modèles de conception Java. Les solutions ont été développées par des
développeurs et architectes expérimentés de la communauté open source. Les modèles peuvent être parcourus par leurs descriptions de haut niveau ou en regardant leur code source. Les exemples de code source sont bien commentés et peuvent être considérés comme tutoriels de programmation sur la façon d'implémenter un modèle spécifique. Nous utilisons le plus technologies Java open source éprouvées au combat.

Avant de vous plonger dans le contenu, vous devriez vous familiariser avec divers
Avant de plonger dans le matériau, vous devez vous familiariser avec divers
[Principes de conception de logiciels](https://java-design-patterns.com/principles/).

Tous les modèles doivent être aussi simples que possible.
Vous devriez commencer par les principes KISS, YAGNI et
Faites La Chose La Plus Simple Qui Fonctionne.
La complexité et les modèles ne devraient être introduits
que lorsqu’ils sont nécessaires pour une extensibilité pratique.
Toutes les conceptions doivent être aussi simples que possible. Vous devriez commencer par KISS, YAGNI,
et faire la chose la plus simple qui pourrait éventuellement fonctionner principes. Complexité et
les modèles ne devraient être introduits que lorsqu'ils sont nécessaires pour
extensibilité.

Une fois que vous êtes familiarisé avec ces concepts, vous pouvez commencer à explorer les
[modèles de conception disponibles](https://java-design-patterns.com/patterns/)
par n’importe laquelle les approches suivantes&nbsp:
Une fois que vous êtes familiarisé avec ces concepts, vous pouvez commencer à explorer
[modèles de conception disponibles](https://java-design-patterns.com/patterns/) par tout
des approches suivantes

- Recherchez un modèle spécifique par son nom.
Vous n’en trouvez pas&nbsp;? Veuillez signaler un nouveau modèle [ici](https://github.com/iluwatar/java-design-patterns/issues).
- Utilisation de balises telles que `Performance`, `Gang of Four` ou `Data access`.
- Utilisation des catégories de modèles, `Creational`, `Behavioral` et autres.
- Recherchez un modèle spécifique par son nom. Vous n'en trouvez pas? Veuillez signaler un nouveau modèle [ici](https://github.com/iluwatar/java-design-patterns/issues).
- Utilisation de balises telles que `Performance`, `Gang of Four` ou `Data access`.
- Utilisation des catégories de modèles, `Créatif`, `Comportemental` et autres.

Nous espérons que vous trouverez les solutions orientées objet présentées
sur ce site utiles dans vos architectures et que vous aurez autant
de plaisir à les apprendre que nous en avons eu à les développer.
J'espère que les solutions orientées objet présentées sur ce site vous seront utiles
dans vos architectures et ayez autant de plaisir à les apprendre que nous en avons eu à les développer.

# Comment contribuer

Si vous souhaitez contribuer au projet, vous trouverez les informations pertinentes dans
notre [wiki développeur](https://github.com/iluwatar/java-design-patterns/wiki).
Nous vous aiderons répondrons à vos questions dans le [Gitter chatroom](https://gitter.im/iluwatar/java-design-patterns).
notre [wiki développeur](https://github.com/iluwatar/java-design-patterns/wiki). Nous aiderons
vous et répondez à vos questions dans le [Gitter chatroom](https://gitter.im/iluwatar/java-design-patterns).

# Licence

Ce projet est concédé sous les termes de la licence MIT. No newline at end of file
Ce projet est concédé sous les termes de la licence MIT.
Copy link
Contributor

Choose a reason for hiding this comment

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

These translations have been improved in #1730

Please explain with an appropriate reason as to why are you trying to make some changes that revert certain commits where improvements have been made.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think there was a problem when I tired forking the project 🤔 Let me try again

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@ohbus #1752 is the new PR

@iluwatar
Copy link
Owner

@iluwatar We may need to update the Wiki for the same changes we will be proposing to help new contributors and old ones as well to get familiarized with the new standard of adding language selection.

Good point @ohbus. I created a new issue #1755 about this.

@iluwatar iluwatar added this to the 1.25.0 milestone May 14, 2021
@ohbus
Copy link
Contributor

ohbus commented May 14, 2021

@iluwatar Shall we reopen #1752 against this and re-review the whole doc again?

Or is there any way that you know where @JackieNim can rrecoverthis deleted fork to make this PR open again?

@iluwatar
Copy link
Owner

Since the repository has been deleted I don't know any other way than reopening #1752

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants