You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@answer.apache.org by "rovertrack (via GitHub)" <gi...@apache.org> on 2024/12/02 19:36:09 UTC

[PR] privacy and terms of service routable links added [incubator-answer]

rovertrack opened a new pull request, #1192:
URL: https://github.com/apache/incubator-answer/pull/1192

   #1187 done!!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@answer.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] privacy and terms of service routable links added [incubator-answer]

Posted by "shuashuai (via GitHub)" <gi...@apache.org>.
shuashuai commented on PR #1192:
URL: https://github.com/apache/incubator-answer/pull/1192#issuecomment-2558783538

   > #1187 done!!
   
   Are you still following this feature? If no adjustments are made this week, I will close the PR so that others can continue to contribute.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@answer.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] privacy and terms of service routable links added [incubator-answer]

Posted by "shuashuai (via GitHub)" <gi...@apache.org>.
shuashuai commented on code in PR #1192:
URL: https://github.com/apache/incubator-answer/pull/1192#discussion_r1872458207


##########
ui/src/components/Footer/index.tsx:
##########
@@ -33,6 +33,13 @@ const Index = () => {
     <footer className="bg-light">
       <Container className="py-3">
         <p className="text-center mb-0 small text-secondary">
+          <a className="m-2" href="/privacy" target="_blank">
+            Privacy Policy
+          </a>
+          <a href="/tos" target="_blank">
+            Terms of Service

Review Comment:
   > if u have the transaletd privacy policy and terms of service it will surely work out
   
   What I mean is that `Terms of Services` should use i18n translation, not the content inside.
   
   eg:
   ```
   // import useTranslation
   import { Trans, useTranslation } from 'react-i18next';
   
   // Add translated content in tooter in `i18m/en_US.yaml`
   footer:
       build_on: >-
         Powered by <1> Apache Answer </1>- the open-source software that powers Q&A
         communities.<br />Made with love © {{cc}}.
       privacy: Privacy Policy
      terms_of_service: 
   
   // Use where translation is required on the page
   const { t } = useTranslation('translation', { keyPrefix: 'footer' });
   
   <a className="me-2" href="/privacy" target="_blank">
               {t('privacy')}
             </a>
             <a href="/tos" target="_blank">
               {t('terms_of_service')}
             </a>
   
   ```
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@answer.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] privacy and terms of service routable links added [incubator-answer]

Posted by "shuashuai (via GitHub)" <gi...@apache.org>.
shuashuai commented on code in PR #1192:
URL: https://github.com/apache/incubator-answer/pull/1192#discussion_r1869095671


##########
ui/src/components/Footer/index.tsx:
##########
@@ -33,6 +33,13 @@ const Index = () => {
     <footer className="bg-light">
       <Container className="py-3">
         <p className="text-center mb-0 small text-secondary">
+          <a className="m-2" href="/privacy" target="_blank">
+            Privacy Policy
+          </a>
+          <a href="/tos" target="_blank">
+            Terms of Service

Review Comment:
   Content should be translated



##########
ui/src/components/Footer/index.tsx:
##########
@@ -33,6 +33,13 @@ const Index = () => {
     <footer className="bg-light">
       <Container className="py-3">
         <p className="text-center mb-0 small text-secondary">
+          <a className="m-2" href="/privacy" target="_blank">
+            Privacy Policy

Review Comment:
   Content should be translated



##########
ui/src/components/Footer/index.tsx:
##########
@@ -33,6 +33,13 @@ const Index = () => {
     <footer className="bg-light">
       <Container className="py-3">
         <p className="text-center mb-0 small text-secondary">
+          <a className="m-2" href="/privacy" target="_blank">

Review Comment:
   class should be me-2



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@answer.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] privacy and terms of service routable links added [incubator-answer]

Posted by "shuashuai (via GitHub)" <gi...@apache.org>.
shuashuai closed pull request #1192: privacy and terms of service routable links added
URL: https://github.com/apache/incubator-answer/pull/1192


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@answer.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] privacy and terms of service routable links added [incubator-answer]

Posted by "shuashuai (via GitHub)" <gi...@apache.org>.
shuashuai commented on code in PR #1192:
URL: https://github.com/apache/incubator-answer/pull/1192#discussion_r1872458207


##########
ui/src/components/Footer/index.tsx:
##########
@@ -33,6 +33,13 @@ const Index = () => {
     <footer className="bg-light">
       <Container className="py-3">
         <p className="text-center mb-0 small text-secondary">
+          <a className="m-2" href="/privacy" target="_blank">
+            Privacy Policy
+          </a>
+          <a href="/tos" target="_blank">
+            Terms of Service

Review Comment:
   > if u have the transaletd privacy policy and terms of service it will surely work out
   
   What I mean is that 'Terms of Services' should use i18n translation, not the content inside.
   
   eg:
   ```
   // import useTranslation
   import { Trans, useTranslation } from 'react-i18next';
   
   // Add translated content in tooter in `i18m/en_US.yaml`
   footer:
       build_on: >-
         Powered by <1> Apache Answer </1>- the open-source software that powers Q&A
         communities.<br />Made with love © {{cc}}.
       privacy: Privacy Policy
      terms_of_service: 
   
   // Use where translation is required on the page
   const { t } = useTranslation('translation', { keyPrefix: 'footer' });
   
   <a className="me-2" href="/privacy" target="_blank">
               {t('privacy')}
             </a>
             <a href="/tos" target="_blank">
               {t('terms_of_service')}
             </a>
   
   ```
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@answer.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] privacy and terms of service routable links added [incubator-answer]

Posted by "fenbox (via GitHub)" <gi...@apache.org>.
fenbox commented on code in PR #1192:
URL: https://github.com/apache/incubator-answer/pull/1192#discussion_r1869024131


##########
ui/src/components/Footer/index.tsx:
##########
@@ -33,6 +33,13 @@ const Index = () => {
     <footer className="bg-light">
       <Container className="py-3">
         <p className="text-center mb-0 small text-secondary">
+          <a className="m-2" href="/privacy" target="_blank">

Review Comment:
   `m-2` has margins in multiple directions and can be changed to `me-2`



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@answer.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] privacy and terms of service routable links added [incubator-answer]

Posted by "rovertrack (via GitHub)" <gi...@apache.org>.
rovertrack commented on code in PR #1192:
URL: https://github.com/apache/incubator-answer/pull/1192#discussion_r1871911121


##########
ui/src/components/Footer/index.tsx:
##########
@@ -33,6 +33,13 @@ const Index = () => {
     <footer className="bg-light">
       <Container className="py-3">
         <p className="text-center mb-0 small text-secondary">
+          <a className="m-2" href="/privacy" target="_blank">
+            Privacy Policy
+          </a>
+          <a href="/tos" target="_blank">
+            Terms of Service

Review Comment:
   if u have the transaletd privacy policy and terms of service it will surely work out



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@answer.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org