Browse Source

Feature/refactor publicly accessible page paths (#4768)

* Refactoring
pull/4778/head
Thomas Kaul 1 month ago
committed by GitHub
parent
commit
0ab7b98077
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      apps/api/src/assets/sitemap.xml
  2. 18
      apps/client/src/locales/messages.ca.xlf
  3. 18
      apps/client/src/locales/messages.de.xlf
  4. 18
      apps/client/src/locales/messages.es.xlf
  5. 18
      apps/client/src/locales/messages.fr.xlf
  6. 18
      apps/client/src/locales/messages.it.xlf
  7. 18
      apps/client/src/locales/messages.nl.xlf
  8. 18
      apps/client/src/locales/messages.pl.xlf
  9. 18
      apps/client/src/locales/messages.pt.xlf
  10. 18
      apps/client/src/locales/messages.tr.xlf
  11. 18
      apps/client/src/locales/messages.uk.xlf
  12. 16
      apps/client/src/locales/messages.xlf
  13. 18
      apps/client/src/locales/messages.zh.xlf
  14. 6
      libs/common/src/lib/paths.ts

4
apps/api/src/assets/sitemap.xml

@ -89,7 +89,7 @@
<lastmod>${currentDate}T00:00:00+00:00</lastmod> <lastmod>${currentDate}T00:00:00+00:00</lastmod>
</url> </url>
<url> <url>
<loc>https://ghostfol.io/de/ueber-uns/oss-freunde</loc> <loc>https://ghostfol.io/de/ueber-uns/oss-friends</loc>
<lastmod>${currentDate}T00:00:00+00:00</lastmod> <lastmod>${currentDate}T00:00:00+00:00</lastmod>
</url> </url>
<url> <url>
@ -395,7 +395,7 @@
<lastmod>${currentDate}T00:00:00+00:00</lastmod> <lastmod>${currentDate}T00:00:00+00:00</lastmod>
</url> </url>
<url> <url>
<loc>https://ghostfol.io/it/informazioni-su/oss-amici</loc> <loc>https://ghostfol.io/it/informazioni-su/oss-friends</loc>
<lastmod>${currentDate}T00:00:00+00:00</lastmod> <lastmod>${currentDate}T00:00:00+00:00</lastmod>
</url> </url>
<url> <url>

18
apps/client/src/locales/messages.ca.xlf

@ -7604,24 +7604,6 @@
<context context-type="linenumber">37</context> <context context-type="linenumber">37</context>
</context-group> </context-group>
</trans-unit> </trans-unit>
<trans-unit id="5929637553579019226" datatype="html">
<source>oss-friends</source>
<target state="new">oss-friends</target>
<note priority="1" from="description">kebab-case</note>
<context-group purpose="location">
<context context-type="sourcefile">libs/common/src/lib/paths.ts</context>
<context context-type="linenumber">46</context>
</context-group>
</trans-unit>
<trans-unit id="9010413891924313175" datatype="html">
<source>open</source>
<target state="new">open</target>
<note priority="1" from="description">kebab-case</note>
<context-group purpose="location">
<context context-type="sourcefile">libs/common/src/lib/paths.ts</context>
<context context-type="linenumber">45</context>
</context-group>
</trans-unit>
</body> </body>
</file> </file>
</xliff> </xliff>

18
apps/client/src/locales/messages.de.xlf

@ -7604,24 +7604,6 @@
<context context-type="linenumber">37</context> <context context-type="linenumber">37</context>
</context-group> </context-group>
</trans-unit> </trans-unit>
<trans-unit id="5929637553579019226" datatype="html">
<source>oss-friends</source>
<target state="translated">oss-freunde</target>
<note priority="1" from="description">kebab-case</note>
<context-group purpose="location">
<context context-type="sourcefile">libs/common/src/lib/paths.ts</context>
<context context-type="linenumber">46</context>
</context-group>
</trans-unit>
<trans-unit id="9010413891924313175" datatype="html">
<source>open</source>
<target state="new">open</target>
<note priority="1" from="description">kebab-case</note>
<context-group purpose="location">
<context context-type="sourcefile">libs/common/src/lib/paths.ts</context>
<context context-type="linenumber">45</context>
</context-group>
</trans-unit>
</body> </body>
</file> </file>
</xliff> </xliff>

18
apps/client/src/locales/messages.es.xlf

@ -7605,24 +7605,6 @@
<context context-type="linenumber">37</context> <context context-type="linenumber">37</context>
</context-group> </context-group>
</trans-unit> </trans-unit>
<trans-unit id="5929637553579019226" datatype="html">
<source>oss-friends</source>
<target state="new">oss-friends</target>
<note priority="1" from="description">kebab-case</note>
<context-group purpose="location">
<context context-type="sourcefile">libs/common/src/lib/paths.ts</context>
<context context-type="linenumber">46</context>
</context-group>
</trans-unit>
<trans-unit id="9010413891924313175" datatype="html">
<source>open</source>
<target state="new">open</target>
<note priority="1" from="description">kebab-case</note>
<context-group purpose="location">
<context context-type="sourcefile">libs/common/src/lib/paths.ts</context>
<context context-type="linenumber">45</context>
</context-group>
</trans-unit>
</body> </body>
</file> </file>
</xliff> </xliff>

18
apps/client/src/locales/messages.fr.xlf

@ -7604,24 +7604,6 @@
<context context-type="linenumber">37</context> <context context-type="linenumber">37</context>
</context-group> </context-group>
</trans-unit> </trans-unit>
<trans-unit id="5929637553579019226" datatype="html">
<source>oss-friends</source>
<target state="translated">oss-amis</target>
<note priority="1" from="description">kebab-case</note>
<context-group purpose="location">
<context context-type="sourcefile">libs/common/src/lib/paths.ts</context>
<context context-type="linenumber">46</context>
</context-group>
</trans-unit>
<trans-unit id="9010413891924313175" datatype="html">
<source>open</source>
<target state="translated">ouvert</target>
<note priority="1" from="description">kebab-case</note>
<context-group purpose="location">
<context context-type="sourcefile">libs/common/src/lib/paths.ts</context>
<context context-type="linenumber">45</context>
</context-group>
</trans-unit>
</body> </body>
</file> </file>
</xliff> </xliff>

18
apps/client/src/locales/messages.it.xlf

@ -7605,24 +7605,6 @@
<context context-type="linenumber">37</context> <context context-type="linenumber">37</context>
</context-group> </context-group>
</trans-unit> </trans-unit>
<trans-unit id="5929637553579019226" datatype="html">
<source>oss-friends</source>
<target state="translated">oss-amici</target>
<note priority="1" from="description">kebab-case</note>
<context-group purpose="location">
<context context-type="sourcefile">libs/common/src/lib/paths.ts</context>
<context context-type="linenumber">46</context>
</context-group>
</trans-unit>
<trans-unit id="9010413891924313175" datatype="html">
<source>open</source>
<target state="new">open</target>
<note priority="1" from="description">kebab-case</note>
<context-group purpose="location">
<context context-type="sourcefile">libs/common/src/lib/paths.ts</context>
<context context-type="linenumber">45</context>
</context-group>
</trans-unit>
</body> </body>
</file> </file>
</xliff> </xliff>

18
apps/client/src/locales/messages.nl.xlf

@ -7604,24 +7604,6 @@
<context context-type="linenumber">37</context> <context context-type="linenumber">37</context>
</context-group> </context-group>
</trans-unit> </trans-unit>
<trans-unit id="5929637553579019226" datatype="html">
<source>oss-friends</source>
<target state="new">oss-friends</target>
<note priority="1" from="description">kebab-case</note>
<context-group purpose="location">
<context context-type="sourcefile">libs/common/src/lib/paths.ts</context>
<context context-type="linenumber">46</context>
</context-group>
</trans-unit>
<trans-unit id="9010413891924313175" datatype="html">
<source>open</source>
<target state="new">open</target>
<note priority="1" from="description">kebab-case</note>
<context-group purpose="location">
<context context-type="sourcefile">libs/common/src/lib/paths.ts</context>
<context context-type="linenumber">45</context>
</context-group>
</trans-unit>
</body> </body>
</file> </file>
</xliff> </xliff>

18
apps/client/src/locales/messages.pl.xlf

@ -7604,24 +7604,6 @@
<context context-type="linenumber">37</context> <context context-type="linenumber">37</context>
</context-group> </context-group>
</trans-unit> </trans-unit>
<trans-unit id="5929637553579019226" datatype="html">
<source>oss-friends</source>
<target state="new">oss-friends</target>
<note priority="1" from="description">kebab-case</note>
<context-group purpose="location">
<context context-type="sourcefile">libs/common/src/lib/paths.ts</context>
<context context-type="linenumber">46</context>
</context-group>
</trans-unit>
<trans-unit id="9010413891924313175" datatype="html">
<source>open</source>
<target state="new">open</target>
<note priority="1" from="description">kebab-case</note>
<context-group purpose="location">
<context context-type="sourcefile">libs/common/src/lib/paths.ts</context>
<context context-type="linenumber">45</context>
</context-group>
</trans-unit>
</body> </body>
</file> </file>
</xliff> </xliff>

18
apps/client/src/locales/messages.pt.xlf

@ -7604,24 +7604,6 @@
<context context-type="linenumber">37</context> <context context-type="linenumber">37</context>
</context-group> </context-group>
</trans-unit> </trans-unit>
<trans-unit id="5929637553579019226" datatype="html">
<source>oss-friends</source>
<target state="new">oss-friends</target>
<note priority="1" from="description">kebab-case</note>
<context-group purpose="location">
<context context-type="sourcefile">libs/common/src/lib/paths.ts</context>
<context context-type="linenumber">46</context>
</context-group>
</trans-unit>
<trans-unit id="9010413891924313175" datatype="html">
<source>open</source>
<target state="new">open</target>
<note priority="1" from="description">kebab-case</note>
<context-group purpose="location">
<context context-type="sourcefile">libs/common/src/lib/paths.ts</context>
<context context-type="linenumber">45</context>
</context-group>
</trans-unit>
</body> </body>
</file> </file>
</xliff> </xliff>

18
apps/client/src/locales/messages.tr.xlf

@ -7604,24 +7604,6 @@
<context context-type="linenumber">37</context> <context context-type="linenumber">37</context>
</context-group> </context-group>
</trans-unit> </trans-unit>
<trans-unit id="5929637553579019226" datatype="html">
<source>oss-friends</source>
<target state="translated">oss-arkadaslar</target>
<note priority="1" from="description">kebab-case</note>
<context-group purpose="location">
<context context-type="sourcefile">libs/common/src/lib/paths.ts</context>
<context context-type="linenumber">46</context>
</context-group>
</trans-unit>
<trans-unit id="9010413891924313175" datatype="html">
<source>open</source>
<target state="new">open</target>
<note priority="1" from="description">kebab-case</note>
<context-group purpose="location">
<context context-type="sourcefile">libs/common/src/lib/paths.ts</context>
<context context-type="linenumber">45</context>
</context-group>
</trans-unit>
</body> </body>
</file> </file>
</xliff> </xliff>

18
apps/client/src/locales/messages.uk.xlf

@ -7604,24 +7604,6 @@
<context context-type="linenumber">37</context> <context context-type="linenumber">37</context>
</context-group> </context-group>
</trans-unit> </trans-unit>
<trans-unit id="5929637553579019226" datatype="html">
<source>oss-friends</source>
<target state="new">oss-friends</target>
<note priority="1" from="description">kebab-case</note>
<context-group purpose="location">
<context context-type="sourcefile">libs/common/src/lib/paths.ts</context>
<context context-type="linenumber">46</context>
</context-group>
</trans-unit>
<trans-unit id="9010413891924313175" datatype="html">
<source>open</source>
<target state="new">open</target>
<note priority="1" from="description">kebab-case</note>
<context-group purpose="location">
<context context-type="sourcefile">libs/common/src/lib/paths.ts</context>
<context context-type="linenumber">45</context>
</context-group>
</trans-unit>
</body> </body>
</file> </file>
</xliff> </xliff>

16
apps/client/src/locales/messages.xlf

@ -6830,14 +6830,6 @@
<context context-type="linenumber">41</context> <context context-type="linenumber">41</context>
</context-group> </context-group>
</trans-unit> </trans-unit>
<trans-unit id="5929637553579019226" datatype="html">
<source>oss-friends</source>
<note priority="1" from="description">kebab-case</note>
<context-group purpose="location">
<context context-type="sourcefile">libs/common/src/lib/paths.ts</context>
<context context-type="linenumber">46</context>
</context-group>
</trans-unit>
<trans-unit id="793097298820646129" datatype="html"> <trans-unit id="793097298820646129" datatype="html">
<source>changelog</source> <source>changelog</source>
<note priority="1" from="description">kebab-case</note> <note priority="1" from="description">kebab-case</note>
@ -6846,14 +6838,6 @@
<context context-type="linenumber">37</context> <context context-type="linenumber">37</context>
</context-group> </context-group>
</trans-unit> </trans-unit>
<trans-unit id="9010413891924313175" datatype="html">
<source>open</source>
<note priority="1" from="description">kebab-case</note>
<context-group purpose="location">
<context context-type="sourcefile">libs/common/src/lib/paths.ts</context>
<context context-type="linenumber">45</context>
</context-group>
</trans-unit>
</body> </body>
</file> </file>
</xliff> </xliff>

18
apps/client/src/locales/messages.zh.xlf

@ -7605,24 +7605,6 @@
<context context-type="linenumber">37</context> <context context-type="linenumber">37</context>
</context-group> </context-group>
</trans-unit> </trans-unit>
<trans-unit id="5929637553579019226" datatype="html">
<source>oss-friends</source>
<target state="translated">开源朋友</target>
<note priority="1" from="description">kebab-case</note>
<context-group purpose="location">
<context context-type="sourcefile">libs/common/src/lib/paths.ts</context>
<context context-type="linenumber">46</context>
</context-group>
</trans-unit>
<trans-unit id="9010413891924313175" datatype="html">
<source>open</source>
<target state="new">open</target>
<note priority="1" from="description">kebab-case</note>
<context-group purpose="location">
<context context-type="sourcefile">libs/common/src/lib/paths.ts</context>
<context context-type="linenumber">45</context>
</context-group>
</trans-unit>
</body> </body>
</file> </file>
</xliff> </xliff>

6
libs/common/src/lib/paths.ts

@ -32,7 +32,7 @@ export const paths = {
xRay: 'x-ray', xRay: 'x-ray',
zen: 'zen', zen: 'zen',
// Localized paths (public-facing pages) // Publicly accessible pages
about: $localize`:kebab-case:about`, about: $localize`:kebab-case:about`,
changelog: $localize`:kebab-case:changelog`, changelog: $localize`:kebab-case:changelog`,
faq: $localize`:kebab-case:faq`, faq: $localize`:kebab-case:faq`,
@ -42,8 +42,8 @@ export const paths = {
license: $localize`:kebab-case:license`, license: $localize`:kebab-case:license`,
markets: $localize`:kebab-case:markets`, markets: $localize`:kebab-case:markets`,
openSourceAlternativeTo: $localize`:kebab-case:open-source-alternative-to`, openSourceAlternativeTo: $localize`:kebab-case:open-source-alternative-to`,
openStartup: $localize`:kebab-case:open`, openStartup: 'open',
ossFriends: $localize`:kebab-case:oss-friends`, ossFriends: 'oss-friends',
pricing: $localize`:kebab-case:pricing`, pricing: $localize`:kebab-case:pricing`,
privacyPolicy: $localize`:kebab-case:privacy-policy`, privacyPolicy: $localize`:kebab-case:privacy-policy`,
register: $localize`:kebab-case:register`, register: $localize`:kebab-case:register`,

Loading…
Cancel
Save