Skip to content

Commit

Permalink
feat(compatibility): update compatibility view text and add edge
Browse files Browse the repository at this point in the history
  • Loading branch information
marc.sirisak committed Sep 12, 2024
1 parent 0356170 commit 42663eb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
14 changes: 9 additions & 5 deletions modules/tchap-translations/tchap_translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -799,11 +799,15 @@
"fr": "Accrochez-vous. Nous mettons à jour %(brand)s pour que le chiffrement soit plus rapide et plus fiable. N'ayez crainte, cela peut prendre jusqu'à 10 minutes"
},
"incompatible_browser|continue_warning": {
"en": "I still want to use Tchap with this browser",
"fr": "Je souhaite tout de même utiliser Tchap avec ce navigateur"
"en": "I still want to use this browser",
"fr": "Je souhaite tout de même continuer sur ce navigateur"
},
"incompatible_browser|title": {
"en": "Your browser is not optimal to use Tchap",
"fr": "Votre navigateur n'est pas optimal pour l'utilisation de Tchap"
"incompatible_browser|summary": {
"en": "This browser version cannot run %(brand)s properly",
"fr": "Cette version de navigateur ne permet pas une exécution optimale de %(brand)s"
},
"incompatible_browser|browser_links": {
"en": "Please install a recent version of <chromeLink>Chrome</chromeLink>, <firefoxLink>Firefox</firefoxLink>, <edgeLink> Edge </edgeLink> or <safariLink>Safari</safariLink> for the best experience.",
"fr": "Pour une expérience optimale, veuillez installer une version récente de l'un des navigateurs suivants : <chromeLink>Chrome</chromeLink>, <firefoxLink>Firefox</firefoxLink>, <edgeLink> Edge </edgeLink> ou <safariLink>Safari</safariLink>."
}
}
1 change: 1 addition & 0 deletions src/async-components/structures/CompatibilityView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ const CompatibilityView: React.FC<IProps> = ({ onAccept }) => {
chromeLink: (sub) => <a href="https://www.google.com/chrome">{sub}</a>,
firefoxLink: (sub) => <a href="https://firefox.com">{sub}</a>,
safariLink: (sub) => <a href="https://apple.com/safari">{sub}</a>,
edgeLink: (sub) => <a href="https://www.microsoft.com/fr-fr/edge">{sub}</a>,
},
)}
</p>
Expand Down

0 comments on commit 42663eb

Please sign in to comment.