aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2023-04-05 13:41:07 -0700
committerAdam Soltys <[email protected]>2023-05-26 11:45:45 -0700
commit463b92484cff9d45af18573f6989c37ba09dea30 (patch)
treeab7738be42d0c2d8ad1d02b754187a3f033e7d87
parente6bbeaee492057a6240999d843402b44fde1fc56 (diff)
downloadcoinos-ui-463b92484cff9d45af18573f6989c37ba09dea30.tar.gz
coinos-ui-463b92484cff9d45af18573f6989c37ba09dea30.zip
replace coinos
-rw-r--r--README.md4
-rw-r--r--doc/i18n-technical.md12
-rw-r--r--doc/i18n.md26
-rw-r--r--package.json2
-rw-r--r--src/components/Footer.svelte6
-rw-r--r--src/components/LocationsMap.svelte2
-rw-r--r--src/lib/samples.js24
-rw-r--r--src/lib/ticket.js2
-rw-r--r--src/locales/de.json2
-rw-r--r--src/locales/en.json2
-rw-r--r--src/locales/es.json4
-rw-r--r--src/locales/fa.json4
-rw-r--r--src/locales/fr.json14
-rw-r--r--src/locales/guided_translation.py2
-rw-r--r--src/locales/pt.json4
-rw-r--r--src/locales/zh.json4
-rw-r--r--src/routes/(app)/+layout.svelte6
-rw-r--r--src/routes/(app)/[username]/(profile)/+layout.svelte2
-rw-r--r--src/routes/(app)/[username]/settings/[...tab]/_account.svelte2
-rw-r--r--src/routes/(app)/jobs/+page.svelte4
-rw-r--r--src/routes/(app)/otpsecret/+server.js2
-rw-r--r--src/routes/(app)/support/+page.svelte2
-rw-r--r--src/routes/(static)/bounties/+page.svelte4
-rw-r--r--src/routes/+layout.svelte12
24 files changed, 74 insertions, 74 deletions
diff --git a/README.md b/README.md
index f3082a41..b7599ef9 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
# Swapee
-Swapee is a web-based bitcoin and nostr client. You can use it as a front end to your personal bitcoin and lightning nodes or host a public instance that allows anyone to register with a username and password. Try ours at https://coinos.io
+Swapee is a web-based bitcoin and nostr client. You can use it as a front end to your personal bitcoin and lightning nodes or host a public instance that allows anyone to register with a username and password. Try ours at https://swapee.io
## Install
@@ -9,4 +9,4 @@ To get started, clone or download the repo, then:
pnpm install
pnpm run dev
-You'll need to run [`coinos-server`](https://github.com/coinos/coinos-server) as well
+You'll need to run [`swapee-server`](https://github.com/swapee/swapee-server) as well
diff --git a/doc/i18n-technical.md b/doc/i18n-technical.md
index 3f6a09d5..40dee889 100644
--- a/doc/i18n-technical.md
+++ b/doc/i18n-technical.md
@@ -1,4 +1,4 @@
-# coinos Internationalization - Technical Information
+# swapee Internationalization - Technical Information
_NOTE: This documentation was written for people with a technical background. If you do not have a technical background, consider reading [this guide](./i18n.md) instead._
@@ -6,11 +6,11 @@ Last Updated: 2022-08-23
## Dependencies
-coinos's internationalization system depends on the `npm` package [`sveltekit-i18n`](https://www.npmjs.com/package/sveltekit-i18n). Consider reading [its documentation](https://github.com/sveltekit-i18n/lib/tree/master/docs/README.md) in addition to this.
+swapee's internationalization system depends on the `npm` package [`sveltekit-i18n`](https://www.npmjs.com/package/sveltekit-i18n). Consider reading [its documentation](https://github.com/sveltekit-i18n/lib/tree/master/docs/README.md) in addition to this.
## Internationalization Code
-The main code for coinos's internationalization is at `src/lib/translations/index.js`. When imported, it does the following:
+The main code for swapee's internationalization is at `src/lib/translations/index.js`. When imported, it does the following:
1. Load all of the locales asynchronously, based on .
2. Initialize `sveltekit-i18n`.
@@ -19,7 +19,7 @@ It also defines important constants, including the list of available locales and
## Locale Files
-Each locale in `coinos-ui-v2` is defined by a JSON file in `src/locales`. Its name is the locale's [ISO 639-1 code](https://en.wikipedia.org/wiki/ISO_639-1) plus `.json`. It is simply a file that maps string IDs to translated strings. Here is an example of `en.json`:
+Each locale in `swapee-ui-v2` is defined by a JSON file in `src/locales`. Its name is the locale's [ISO 639-1 code](https://en.wikipedia.org/wiki/ISO_639-1) plus `.json`. It is simply a file that maps string IDs to translated strings. Here is an example of `en.json`:
```json
{
@@ -41,11 +41,11 @@ Strings are internationalized by simply using `sveltekit-i18n`'s `$t` function.
## The Locale Selector
-coinos also has a `LocaleSelector` component, which should be used to select locales. It is a dropdown that allows you to select & update the locale.
+swapee also has a `LocaleSelector` component, which should be used to select locales. It is a dropdown that allows you to select & update the locale.
## The Guided Translation Script
-coinos has a Python script that helps you with the technical parts of translation. It is located at `src/locales/guided_translation.py`. It also has some utility functions:
+swapee has a Python script that helps you with the technical parts of translation. It is located at `src/locales/guided_translation.py`. It also has some utility functions:
- `nested_dict_keys` - gets a list of keys of a nested dictionary in dot-separated shallow format (e.g. a.b.c)
- `create_locale` - adds a new locale to the lang.json file
diff --git a/doc/i18n.md b/doc/i18n.md
index c6577b4d..657b7956 100644
--- a/doc/i18n.md
+++ b/doc/i18n.md
@@ -1,10 +1,10 @@
-# coinos Internationalization
+# swapee Internationalization
-coinos can be translated into other languages by editing [JSON](https://www.json.org/json-en.html) files. You do not need programming knowledge to do this, or to use these instructions. Here are instructions on how to translate coinos:
+swapee can be translated into other languages by editing [JSON](https://www.json.org/json-en.html) files. You do not need programming knowledge to do this, or to use these instructions. Here are instructions on how to translate swapee:
_NOTE: This guide was written for people without a technical background. If you want more technical details, click [here](./i18n-technical.md)._
-These instructions assume you have a GitHub account and have permission to modify this repository. If you do not have permission, you will need to [make a fork](https://github.com/coinos/coinos-ui-v2/fork) using the link on the top-right, then follow these instructions to translate your fork, then make a pull request using the link below the "Code" button to apply your changes to the main repository.
+These instructions assume you have a GitHub account and have permission to modify this repository. If you do not have permission, you will need to [make a fork](https://github.com/swapee/swapee-ui-v2/fork) using the link on the top-right, then follow these instructions to translate your fork, then make a pull request using the link below the "Code" button to apply your changes to the main repository.
Last Updated: 2023-01-05
@@ -12,11 +12,11 @@ Last Updated: 2023-01-05
### Language Codes
-Before you can translate coinos, you need to know the [ISO 639-1 code](https://en.wikipedia.org/wiki/ISO_639-1) of your language. This is a standard two-letter code that your browser uses to refer to a language (for example, English is `en`, and Spanish is `es`). You can also add a dash and more letters to refer to a specific region (for example, American English is `en-US`, and British English is `en-GB`). A list of all codes can be found [here](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes), and Firefox-based browsers show you the code when you are selecting your browser's language.
+Before you can translate swapee, you need to know the [ISO 639-1 code](https://en.wikipedia.org/wiki/ISO_639-1) of your language. This is a standard two-letter code that your browser uses to refer to a language (for example, English is `en`, and Spanish is `es`). You can also add a dash and more letters to refer to a specific region (for example, American English is `en-US`, and British English is `en-GB`). A list of all codes can be found [here](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes), and Firefox-based browsers show you the code when you are selecting your browser's language.
### Locale Files
-Each translation of coinos is stored in a special _locale file_. These files can be found in the `src/locales` folder in the coinos directory. The name of these files is the language code plus "`.json`". A file might look something like this:
+Each translation of swapee is stored in a special _locale file_. These files can be found in the `src/locales` folder in the swapee directory. The name of these files is the language code plus "`.json`". A file might look something like this:
```JSON
{
@@ -42,7 +42,7 @@ There is also a JSON file that controls which languages are understood. It is at
}
```
-This file simply maps each language to its name. It is used both to get a list of languages and to get the name of each language for the language selector. If a translation is not in this file, coinos will not be able to see it.
+This file simply maps each language to its name. It is used both to get a list of languages and to get the name of each language for the language selector. If a translation is not in this file, swapee will not be able to see it.
### JSON Sections
@@ -62,7 +62,7 @@ You might notice that some of the left-text in the language files don't have a s
These denote sections of the JSON file, which helps keep it organized. If you're translating some text that is in a section, make sure the translated text is in the same section of the new file. If that section doesn't exist, just create it.
-In the translation files, sections roughly correspond to where the the text is in coinos. This can be useful if you need context for some text. Here are some of these associations (`A.B` means section `B` is located inside `A`):
+In the translation files, sections roughly correspond to where the the text is in swapee. This can be useful if you need context for some text. Here are some of these associations (`A.B` means section `B` is located inside `A`):
| Section | Location |
| -------------- | ------------------------------------------------- |
@@ -82,7 +82,7 @@ In the translation files, sections roughly correspond to where the the text is i
| user.support | the user's support page |
| transactions | anything to do with transactions |
-If you have the `grep` tool installed and know how to use a terminal, you can use it to find where a certain bit of text is being used. In the main folder (usually called `coinos-ui-v2`), you can use the following command to find where `transactions.submit` is being used, for example:
+If you have the `grep` tool installed and know how to use a terminal, you can use it to find where a certain bit of text is being used. In the main folder (usually called `swapee-ui-v2`), you can use the following command to find where `transactions.submit` is being used, for example:
```bash
grep -r "transactions.submit" src
@@ -93,10 +93,10 @@ grep -r "transactions.submit" src
Sometimes, you will see strange text surrounded with `<>` angle brackets. Every one of these "HTML tags" will be followed by another one starting with a slash. Here's an example:
```JSON
-"p1": "<strong>coinos</strong> is an <strong>open source</strong> bitcoin web wallet, point of sale, ecommerce marketplace and exchange platform. Development started in Vancouver in September 2012 as a way to provide local merchants with a convenient way to accept bitcoin payments.",
+"p1": "<strong>swapee</strong> is an <strong>open source</strong> bitcoin web wallet, point of sale, ecommerce marketplace and exchange platform. Development started in Vancouver in September 2012 as a way to provide local merchants with a convenient way to accept bitcoin payments.",
```
-These apply a certain style to the text between them. For example, the tags above will make "coinos" and "open source" bold, leaving the rest non-bold.
+These apply a certain style to the text between them. For example, the tags above will make "swapee" and "open source" bold, leaving the rest non-bold.
When translating strings containing tags, don't change the tags. Do translate the text between them, and don't be afraid to move them around - just make sure they contain the same part of the sentence, and that the one without the slash is always before the one with the slash. Not all of the localizable strings support HTML tags, so you shouldn't use them if they aren't in the original string you're translating.
@@ -109,7 +109,7 @@ Follow these steps to create a new translation. You will need a GitHub account t
![Creating a new translation in GitHub](./img/create_locale_github.png)
3. Copy the text from `en.json` into this new file.
4. Translate all of the pieces of text on the right. **Do not translate or alter in any way the pieces of text on the left, or any line that doesn't have two pieces of text!**
- _NOTE: "coinos" is a feminine noun in languages with grammatical gender._
+ _NOTE: "swapee" is a feminine noun in languages with grammatical gender._
_NOTE: The system will not break if you miss any translation. Instead, it will use the English version of that text._
![Translating in GitHub](./img/translate_github.png)
5. Scroll down and use the green button to commit the file.
@@ -128,7 +128,7 @@ Follow these steps to add to an existing translation. You will also need a GitHu
5. Use the pencil icon on the top-right to edit the file.
6. Add the whole line (both left and right parts) from step 3 to this file, in between the `{}` braces. Make sure the previous line has a comma at the end, and that it is in the same place as before (i.e. inside the same set of `{}` braces - if they don't exist, create them).
7. Translate the piece of text on the right, keeping the quotes surrounding it. **Do not translate or alter in any way the piece of text on the left, or any line that doesn't have two pieces of text!**
- _NOTE: "coinos" is a feminine noun in languages with grammatical gender._
+ _NOTE: "swapee" is a feminine noun in languages with grammatical gender._
8. Repeat steps 3-7 for every piece of text you want to translate (you should probably open `en.json` in another tab, so that your changes from step 6 aren't erased).
9. Scroll down and use the green button to commit the file.
@@ -141,4 +141,4 @@ There is also a program that helps you translate automatically - all you have to
The script also shows you the ID of each bit of text you are translating, so that you can know where it is. `A.B` means string `B` in section `A`, `A.B.C` means string `C` in subsection `B` in section `A`, etc.
-Clone the repository, then use the guided translation script (at `src/locales/guided_translation.py`) to update the translation files. You will need to pull before running, and commit/push your changes in order for them to be applied to coinos.
+Clone the repository, then use the guided translation script (at `src/locales/guided_translation.py`) to update the translation files. You will need to pull before running, and commit/push your changes in order for them to be applied to swapee.
diff --git a/package.json b/package.json
index ac04d02f..00da72ec 100644
--- a/package.json
+++ b/package.json
@@ -4,7 +4,7 @@
"scripts": {
"dev": "vite dev",
"build": "vite build",
- "docker": "docker build . -t coinos-ui",
+ "docker": "docker build . -t swapee-ui",
"preview": "vite preview",
"lint": "prettier --check --plugin-search-dir=. .",
"format": "prettier --write --plugin-search-dir=. ."
diff --git a/src/components/Footer.svelte b/src/components/Footer.svelte
index 7520e5d4..c6441abb 100644
--- a/src/components/Footer.svelte
+++ b/src/components/Footer.svelte
@@ -3,9 +3,9 @@
import { t } from '$lib/translations';
const followLinks = [
- { url: 'https://twitter.com/coinoswallet', titleID: 'twitter' },
- { url: 'https://t.me/coinoswallet', titleID: 'telegram' },
- { url: 'https://linktr.ee/coinos.io', titleID: 'linktree' }
+ { url: 'https://twitter.com/swapeewallet', titleID: 'twitter' },
+ { url: 'https://t.me/swapeewallet', titleID: 'telegram' },
+ { url: 'https://linktr.ee/swapee.io', titleID: 'linktree' }
];
const companyLinks = [
diff --git a/src/components/LocationsMap.svelte b/src/components/LocationsMap.svelte
index 20eea6c0..b3038ddc 100644
--- a/src/components/LocationsMap.svelte
+++ b/src/components/LocationsMap.svelte
@@ -39,7 +39,7 @@
locations = locations.filter(
(location) =>
location['osm_json'].tags &&
- location['osm_json'].tags['payment:coinos'] === 'yes' &&
+ location['osm_json'].tags['payment:swapee'] === 'yes' &&
location['osm_json'].lat &&
location['osm_json'].lon
);
diff --git a/src/lib/samples.js b/src/lib/samples.js
index 0b447d06..2c4d0aaf 100644
--- a/src/lib/samples.js
+++ b/src/lib/samples.js
@@ -1,40 +1,40 @@
export default {
- register: `curl "https://coinos.io/api/register" -H "content-type: application/json" -d '{
+ register: `curl "https://swapee.me/api/register" -H "content-type: application/json" -d '{
"username": "demo",
"password": "hunter2"
}'`,
- login: `curl "https://coinos.io/api/login" -H "content-type: application/json" -d '{
+ login: `curl "https://swapee.me/api/login" -H "content-type: application/json" -d '{
"username": "demo",
"password": "hunter2"
}'`,
- payments: `curl "https://coinos.io/api/payments"
+ payments: `curl "https://swapee.me/api/payments"
-H "content-type: application/json"
-H "Authorization: Bearer $token"
`,
- lightning: `curl "https://coinos.io/api/payments"
+ lightning: `curl "https://swapee.me/api/payments"
-H "content-type: application/json"
-H "Authorization: Bearer $token"
-d '{
"payreq": "lnbc1pj94d8fsp5n77k340ps4m9jn7kp8he8yynpddvurv6mcsrrqpnq5l2jxdxzlwqpp5m96pqhc5nrlk8cqsu9ufdxxa43sarp8vwf9egvm2pg9nl0zu9r8qdq2vdhkjmn0wvxqztgcqpjrzjqwhmav82kntsppmkp8jp4vg4h9nns78tsy8mg7ve4lq5txrkp0h56zlarvqqdtcqqsqqqqqqqqqqp6cq9q9qyysgqzxlypywzphyujm3ga5j5csfcmqvlnae0fgnvymkaaw94eeg7py5rqzysyjkr3ev2snq63qpsc69vf54adkd0szvmvwt5cuadjnuy95sq4xfa40"
}'`,
- bitcoin: `curl "https://coinos.io/api/payments"
+ bitcoin: `curl "https://swapee.me/api/payments"
-H "content-type: application/json"
-H "Authorization: Bearer $token"
-d '{
"amount": 5000,
"hash": "bc1q3unh97w4rmelflrm2hvdwz37d8kray3vn4d5ca"
}'`,
- internal: `curl "https://coinos.io/api/payments"
+ internal: `curl "https://swapee.me/api/payments"
-H "content-type: application/json"
-H "Authorization: Bearer $token"
-d '{
"amount": 5000,
"username": "alice"
}'`,
- rates: `curl "https://coinos.io/api/rates"
+ rates: `curl "https://swapee.me/api/rates"
-H "content-type: application/json"
}'`,
- lightningInvoice: `curl "https://coinos.io/api/invoice"
+ lightningInvoice: `curl "https://swapee.me/api/invoice"
-H "content-type: application/json"
-H "Authorization: Bearer $token"
-d '{
@@ -43,7 +43,7 @@ export default {
"type": "lightning"
}
}'`,
- bitcoinAddress: `curl "https://coinos.io/api/invoice"
+ bitcoinAddress: `curl "https://swapee.me/api/invoice"
-H "content-type: application/json"
-H "Authorization: Bearer $token"
-d '{
@@ -52,7 +52,7 @@ export default {
"type": "bitcoin"
}
}'`,
- webhook: `curl "https://coinos.io/api/invoice"
+ webhook: `curl "https://swapee.me/api/invoice"
-H "content-type: application/json"
-H "Authorization: Bearer $token"
-d '{
@@ -62,7 +62,7 @@ export default {
"secret": "webhooksecret"
}
}'`,
- fetchInvoice: `curl "https://coinos.io/api/invoice/bc1qmhfk9stzffhd9umzmld92vff7zg3mdlh7rvvaj"
+ fetchInvoice: `curl "https://swapee.me/api/invoice/bc1qmhfk9stzffhd9umzmld92vff7zg3mdlh7rvvaj"
-H "content-type: application/json"'`,
invoiceResponse: `{
"amount":3141
@@ -77,5 +77,5 @@ export default {
"received":0
"created":1677537428134
}`,
- socketAuth: `echo '{"type":"login","data":{"username":"user","password":"password"}}' | websocat -n https://coinos.io/ws`
+ socketAuth: `echo '{"type":"login","data":{"username":"user","password":"password"}}' | websocat -n https://swapee.io/ws`
};
diff --git a/src/lib/ticket.js b/src/lib/ticket.js
index e1ebcb8c..7d2c37df 100644
--- a/src/lib/ticket.js
+++ b/src/lib/ticket.js
@@ -20,7 +20,7 @@ export const createTicket = async (cookies, username) => {
precision: 0,
asset_amount: '1',
token_amount: 0,
- domain: 'coinos.io',
+ domain: 'swapee.io',
filename: tickets[ticket]
},
{ authorization: `Bearer ${env.LAUNCH}` }
diff --git a/src/locales/de.json b/src/locales/de.json
index 23a4bd54..5ace811c 100644
--- a/src/locales/de.json
+++ b/src/locales/de.json
@@ -153,7 +153,7 @@
"settings": "Einstellungen",
"support": "Support"
},
- "newSiteHeader": "Kommen Sie zu unserer <a href=\"/launch\" class=\"underline underline-offset-4 text-black hover:opacity-80\">Eröffnungsfeier</a> in Vancouver am 26. Oktober! Auf der Suche nach der alten Swapee-Version? Besuchen Sie <a href=\"https://classic.coinos.io\" class=\"underline underline-offset-4 text-black hover:opacity-80\">classic.coinos.io</a>",
+ "newSiteHeader": "Kommen Sie zu unserer <a href=\"/launch\" class=\"underline underline-offset-4 text-black hover:opacity-80\">Eröffnungsfeier</a> in Vancouver am 26. Oktober! Auf der Suche nach der alten Swapee-Version? Besuchen Sie <a href=\"https://classic.swapee.io\" class=\"underline underline-offset-4 text-black hover:opacity-80\">classic.swapee.io</a>",
"news": {
"header": "News",
"subheader": "Letzte Updates",
diff --git a/src/locales/en.json b/src/locales/en.json
index db1c7693..402aa510 100644
--- a/src/locales/en.json
+++ b/src/locales/en.json
@@ -180,7 +180,7 @@
"scan": "Scan QR",
"paste": "Paste",
"next": "Next",
- "placeholder": "Paste a bitcoin address, lightning invoice or coinos username"
+ "placeholder": "Paste a bitcoin address, lightning invoice or swapee username"
},
"settings": {
"saveSettings": "Save Settings",
diff --git a/src/locales/es.json b/src/locales/es.json
index aa9fe364..83adb14f 100644
--- a/src/locales/es.json
+++ b/src/locales/es.json
@@ -132,7 +132,7 @@
"settings": "Ajustes",
"support": "Soporte"
},
- "newSiteHeader": "Acompañanos en nuestra <a href=\"/launch\" class=\"underline underline-offset-4 text-black hover:opacity-80\">launch party</a> en Vancouver el 26 de Octubre! Buscando la version anterior de coinos? Visita <a href=\"https://classic.coinos.io\" class=\"underline underline-offset-4 text-black hover:opacity-80\">classic.coinos.io</a>",
+ "newSiteHeader": "Acompañanos en nuestra <a href=\"/launch\" class=\"underline underline-offset-4 text-black hover:opacity-80\">launch party</a> en Vancouver el 26 de Octubre! Buscando la version anterior de swapee? Visita <a href=\"https://classic.swapee.io\" class=\"underline underline-offset-4 text-black hover:opacity-80\">classic.swapee.io</a>",
"news": {
"header": "Noticias",
"subheader": "Últimas Actualizaciones",
@@ -178,7 +178,7 @@
"scan": "Escanear",
"paste": "Pegar",
"next": "Siguiente",
- "placeholder": "Asigne una dirección de bitcoin, una factura lightning o un usuario de coinos"
+ "placeholder": "Asigne una dirección de bitcoin, una factura lightning o un usuario de swapee"
},
"settings": {
"saveSettings": "Guardar ajustes",
diff --git a/src/locales/fa.json b/src/locales/fa.json
index 7ce68ec6..5c8979d7 100644
--- a/src/locales/fa.json
+++ b/src/locales/fa.json
@@ -133,7 +133,7 @@
"settings": "Settings",
"support": "Support"
},
- "newSiteHeader": "Join us at our <a href=\"/launch\" class=\"underline underline-offset-4 text-black hover:opacity-80\">launch party</a> in Vancouver on October 26! Looking for the old coinos? Visit <a href=\"https://classic.coinos.io\" class=\"underline underline-offset-4 text-black hover:opacity-80\">classic.coinos.io</a>",
+ "newSiteHeader": "Join us at our <a href=\"/launch\" class=\"underline underline-offset-4 text-black hover:opacity-80\">launch party</a> in Vancouver on October 26! Looking for the old swapee? Visit <a href=\"https://classic.swapee.io\" class=\"underline underline-offset-4 text-black hover:opacity-80\">classic.swapee.io</a>",
"news": {
"header": "News",
"subheader": "Latest Updates",
@@ -182,7 +182,7 @@
"scan": "Scan",
"paste": "Paste",
"next": "Next",
- "placeholder": "Paste a bitcoin address, lightning invoice or coinos username"
+ "placeholder": "Paste a bitcoin address, lightning invoice or swapee username"
},
"settings": {
"saveSettings": "Save Settings",
diff --git a/src/locales/fr.json b/src/locales/fr.json
index 5fcb95ab..d8be1ea7 100644
--- a/src/locales/fr.json
+++ b/src/locales/fr.json
@@ -5,12 +5,12 @@
},
"about": {
"header": "À Propos",
- "p1": "<strong>coinos</strong> est un portefeuille, point de vente, marché d'e-commerce et plateforme d'échange de bitcoin <strong>open source</strong>. Development a commencé en Vancouver le septembre de 2012 pour donner aux marchands du coin un façon pratique d'accepter des paiements en bitcoin.",
+ "p1": "<strong>swapee</strong> est un portefeuille, point de vente, marché d'e-commerce et plateforme d'échange de bitcoin <strong>open source</strong>. Development a commencé en Vancouver le septembre de 2012 pour donner aux marchands du coin un façon pratique d'accepter des paiements en bitcoin.",
"p2": "Il a eu plus de fonctions au fil des ans pour satisfaire une grande variété de cas d'utilisation dans le but de pouvoir utiliser bitcoin rapidement, à bas prix, et en sécurité aussi façile que possible pour n'importe qui.",
"p3": "Tout le monde peux télécharger le code source et héberger leur propre instance de la plateforme soutenue par leur propres nœuds de bitcoin, liquid ou lightning, ou contactez-nous et nous l'installerons pour vous avec plaisir.",
"locations": {
"header": "Établissements",
- "description": "Il y a des entreprises qui acceptent bitcoin utilisant le point de vente coinos. Si vous utilisez notre appli, s'il vous plait <a href=\"mailto:[email protected]\" class=\"underline underline-offset-4\">fais-le-nous savoir!</a>"
+ "description": "Il y a des entreprises qui acceptent bitcoin utilisant le point de vente swapee. Si vous utilisez notre appli, s'il vous plait <a href=\"mailto:[email protected]\" class=\"underline underline-offset-4\">fais-le-nous savoir!</a>"
},
"team": {
"header": "L'Équipe",
@@ -55,11 +55,11 @@
"header": "FAQ",
"cost": {
"question": "Quel est le coût?",
- "answer": "coinos est gratuit à utiliser. Vous payez seulment 1% quand vous convertissez vos fonds entre bitcoin, Liquid et Lightning. Comparez-ça aux frais typiques 3% des cartes de crédit."
+ "answer": "swapee est gratuit à utiliser. Vous payez seulment 1% quand vous convertissez vos fonds entre bitcoin, Liquid et Lightning. Comparez-ça aux frais typiques 3% des cartes de crédit."
},
"compatibility": {
"question": "Est-ce que j'ai besoin de logiciel ou d'appareil special ?",
- "answer": "Non. coinos est un site Web, vous pouvez donc l'utiliser sur n'importe quel appareil tant que vous aves un connexion d'Internet. La plupart des marchands l'utilise sur un téléphone ou une tablette."
+ "answer": "Non. swapee est un site Web, vous pouvez donc l'utiliser sur n'importe quel appareil tant que vous aves un connexion d'Internet. La plupart des marchands l'utilise sur un téléphone ou une tablette."
},
"safety": {
"question": "Sont mes fonds saufs ?",
@@ -135,7 +135,7 @@
"support": "Assistance",
"profile": "Profil"
},
- "newSiteHeader": "Bienvenue sur <a href=\"/news\" class=\"underline underline-offset-4 text-black hover:opacity-80\">coinos nouveau et amélioré</a>, focalisé sur les marchants! Vous cherchez l'ancien coinos? Visitez <a href=\"https://classic.coinos.io\" class=\"underline underline-offset-4 text-black hover:opacity-80\">classic.coinos.io</a>.",
+ "newSiteHeader": "Bienvenue sur <a href=\"/news\" class=\"underline underline-offset-4 text-black hover:opacity-80\">swapee nouveau et amélioré</a>, focalisé sur les marchants! Vous cherchez l'ancien swapee? Visitez <a href=\"https://classic.swapee.io\" class=\"underline underline-offset-4 text-black hover:opacity-80\">classic.swapee.io</a>.",
"invoice": {
"addTip": "Ajoutez un pourboire",
"addTipq": "Ajouter un pourboire?",
@@ -148,7 +148,7 @@
"jobs": {
"header": "Emplois",
"subheader": "Postes disponibles actuels",
- "pitch1": "coinos recherche pour des développeurs pour joindre notre équipe croissant (temps plein ou partiel, télétravail OK)",
+ "pitch1": "swapee recherche pour des développeurs pour joindre notre équipe croissant (temps plein ou partiel, télétravail OK)",
"pitch2": "Avez-vous hâte de travailler sur bitcoin open source? Regardez sur nos dépôts sur",
"github": "GitHub",
"pitch3": "Si vous pensez que vous pouvez exercer une influence positive, nous voulons que vous contribuez. Envoyer votre CV à"
@@ -235,7 +235,7 @@
"scan": "Scannez",
"paste": "Collez",
"next": "Prochain",
- "placeholder": "Collez une adresse de bitcoin, facture de lightning ou nom d'utilisateur coinos"
+ "placeholder": "Collez une adresse de bitcoin, facture de lightning ou nom d'utilisateur swapee"
}
},
"transactions": {
diff --git a/src/locales/guided_translation.py b/src/locales/guided_translation.py
index 870cdf0b..e5d6c26d 100644
--- a/src/locales/guided_translation.py
+++ b/src/locales/guided_translation.py
@@ -55,7 +55,7 @@ def localize_string(string_id, from_data, to_data):
if __name__ == "__main__":
# setup and parse commandline arguments
- args_parser = argparse.ArgumentParser(description="guided translation of coinos")
+ args_parser = argparse.ArgumentParser(description="guided translation of swapee")
args_parser.add_argument('from_locale', nargs='?', type=str,
help="which locale to translate from")
args_parser.add_argument('to_locale', nargs='?', type=str,
diff --git a/src/locales/pt.json b/src/locales/pt.json
index 3c352aa5..b2a59e97 100644
--- a/src/locales/pt.json
+++ b/src/locales/pt.json
@@ -133,7 +133,7 @@
"settings": "Ajustes",
"support": "Suporte"
},
- "newSiteHeader": "Join us at our <a href=\"/launch\" class=\"underline underline-offset-4 text-black hover:opacity-80\">launch party</a> in Vancouver on October 26! Looking for the old coinos? Visit <a href=\"https://classic.coinos.io\" class=\"underline underline-offset-4 text-black hover:opacity-80\">classic.coinos.io</a>",
+ "newSiteHeader": "Join us at our <a href=\"/launch\" class=\"underline underline-offset-4 text-black hover:opacity-80\">launch party</a> in Vancouver on October 26! Looking for the old swapee? Visit <a href=\"https://classic.swapee.io\" class=\"underline underline-offset-4 text-black hover:opacity-80\">classic.swapee.io</a>",
"news": {
"header": "Notícias",
"subheader": "Últimos Updates",
@@ -185,7 +185,7 @@
"scan": "Escanear",
"paste": "Colar",
"next": "Continuar",
- "placeholder": "Colar um endereço de bitcoin, fatura lightning ou nome de usuário na coinos"
+ "placeholder": "Colar um endereço de bitcoin, fatura lightning ou nome de usuário na swapee"
},
"settings": {
"saveSettings": "Salvar ajustes",
diff --git a/src/locales/zh.json b/src/locales/zh.json
index bb2c1e2f..128194b6 100644
--- a/src/locales/zh.json
+++ b/src/locales/zh.json
@@ -142,7 +142,7 @@
"settings": "Settings",
"support": "Support"
},
- "newSiteHeader": "Join us at our <a href=\"/launch\" class=\"underline underline-offset-4 text-black hover:opacity-80\">launch party</a> in Vancouver on October 26! Looking for the old coinos? Visit <a href=\"https://classic.coinos.io\" class=\"underline underline-offset-4 text-black hover:opacity-80\">classic.coinos.io</a>",
+ "newSiteHeader": "Join us at our <a href=\"/launch\" class=\"underline underline-offset-4 text-black hover:opacity-80\">launch party</a> in Vancouver on October 26! Looking for the old swapee? Visit <a href=\"https://classic.swapee.io\" class=\"underline underline-offset-4 text-black hover:opacity-80\">classic.swapee.io</a>",
"news": {
"header": "News",
"subheader": "Latest Updates",
@@ -191,7 +191,7 @@
"scan": "Scan",
"paste": "Paste",
"next": "Next",
- "placeholder": "Paste a bitcoin address, lightning invoice or coinos username"
+ "placeholder": "Paste a bitcoin address, lightning invoice or swapee username"
},
"settings": {
"bannerImage": "Banner Image",
diff --git a/src/routes/(app)/+layout.svelte b/src/routes/(app)/+layout.svelte
index 7c67e964..4d9aad76 100644
--- a/src/routes/(app)/+layout.svelte
+++ b/src/routes/(app)/+layout.svelte
@@ -91,10 +91,10 @@
<svelte:head>
{#if subject}
- <title>coinos - {subject.username}</title>
- <meta name="lightning" content={`lnurlp:${subject.username}@coinos.io`} />
+ <title>swapee - {subject.username}</title>
+ <meta name="lightning" content={`lnurlp:${subject.username}@swapee.io`} />
{:else}
- <title>coinos</title>
+ <title>swapee</title>
{/if}
{#if subject?.profile}
diff --git a/src/routes/(app)/[username]/(profile)/+layout.svelte b/src/routes/(app)/[username]/(profile)/+layout.svelte
index fe12a124..2f3fd9ba 100644
--- a/src/routes/(app)/[username]/(profile)/+layout.svelte
+++ b/src/routes/(app)/[username]/(profile)/+layout.svelte
@@ -13,7 +13,7 @@
$: username = n.length > 60 ? n.substr(0, 6) : display || n;
let follow = async () => {
- user.follows.push(['p', subject.pubkey, 'wss://nostr.coinos.io', subject.username]);
+ user.follows.push(['p', subject.pubkey, 'wss://nostr.swapee.io', subject.username]);
update();
};
diff --git a/src/routes/(app)/[username]/settings/[...tab]/_account.svelte b/src/routes/(app)/[username]/settings/[...tab]/_account.svelte
index 0ab11b32..e4d27730 100644
--- a/src/routes/(app)/[username]/settings/[...tab]/_account.svelte
+++ b/src/routes/(app)/[username]/settings/[...tab]/_account.svelte
@@ -70,7 +70,7 @@
<div
class="absolute right-[2px] top-[30px] text-gray-600 rounded-r-2xl p-4 h-[54px] my-auto border-l "
>
- @coinos.io
+ @swapee.io
</div>
</div>
diff --git a/src/routes/(app)/jobs/+page.svelte b/src/routes/(app)/jobs/+page.svelte
index fc82f9d5..5bccf635 100644
--- a/src/routes/(app)/jobs/+page.svelte
+++ b/src/routes/(app)/jobs/+page.svelte
@@ -16,14 +16,14 @@
<br /><br />
{$t('jobs.pitch2')}
<a
- href="https://github.com/coinos"
+ href="https://github.com/swapee"
target="_blank"
rel="noreferrer"
class="underline underline-offset-4">{$t('jobs.github')}</a
>.
<br /><br />
{$t('jobs.pitch3')}
- <a href="mailto:[email protected]" class="underline underline-offset-4">[email protected]</a>.
+ <a href="mailto:[email protected]" class="underline underline-offset-4">[email protected]</a>.
</p>
</div>
diff --git a/src/routes/(app)/otpsecret/+server.js b/src/routes/(app)/otpsecret/+server.js
index 7d5c1ad9..82b4105f 100644
--- a/src/routes/(app)/otpsecret/+server.js
+++ b/src/routes/(app)/otpsecret/+server.js
@@ -6,7 +6,7 @@ export async function POST({ cookies, request }) {
try {
let body = await request.json();
let { username, secret } = await post('/otpsecret', body, auth(cookies));
- let uri = `otpauth://totp/coinos:${username}?secret=${secret}&period=30&digits=6&algorithm=SHA1&issuer=coinos`;
+ let uri = `otpauth://totp/swapee:${username}?secret=${secret}&period=30&digits=6&algorithm=SHA1&issuer=swapee`;
return new Response(JSON.stringify({ secret, uri, qr: Qr.drawImg(uri, { size: 600 }) }));
} catch (e) {
if (e.message.includes('pin')) throw e;
diff --git a/src/routes/(app)/support/+page.svelte b/src/routes/(app)/support/+page.svelte
index b2f82e89..1fae9f47 100644
--- a/src/routes/(app)/support/+page.svelte
+++ b/src/routes/(app)/support/+page.svelte
@@ -74,7 +74,7 @@
<p class="text-secondary text-lg">
Fill out this form or email us directly at <a
class="underline"
> and we'll do our best to get back to you in a timely manner.
</p>
diff --git a/src/routes/(static)/bounties/+page.svelte b/src/routes/(static)/bounties/+page.svelte
index 3794bbaf..3a531bc2 100644
--- a/src/routes/(static)/bounties/+page.svelte
+++ b/src/routes/(static)/bounties/+page.svelte
@@ -71,8 +71,8 @@
<p>
To make a referral, reach out on one of our socials or email us at <a
- href="mailto:[email protected]"
- class="text-black hover:underline">[email protected]</a
+ href="mailto:[email protected]"
+ class="text-black hover:underline">[email protected]</a
> and we'll set up an appointment with you and the business owner to get started.
</p>
diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte
index 6dc84349..e50da4b6 100644
--- a/src/routes/+layout.svelte
+++ b/src/routes/+layout.svelte
@@ -6,9 +6,9 @@
</script>
<svelte:head>
- <title>coinos</title>
- <meta property="og:title" content="coinos" />
- <meta name="twitter:title" content="coinos" />
+ <title>swapee</title>
+ <meta property="og:title" content="swapee" />
+ <meta name="twitter:title" content="swapee" />
<meta property="og:image" content={`${host}/icons/logo.svg`} />
@@ -16,14 +16,14 @@
<meta property="og:description" content="An easy to use bitcoin web wallet" />
<meta name="description" content="An easy to use bitcoin web wallet" />
- <meta name="keywords" content="coinos easy bitcoin web wallet" />
+ <meta name="keywords" content="swapee easy bitcoin web wallet" />
<meta name="twitter:image" content={`${host}/icons/logo.svg`} />
<meta name="twitter:card" content="summary_large_image" />
<meta property="og:url" content={host + pathname} />
- <meta name="twitter:site" content="@coinoswallet" />
- <meta name="twitter:creator" content="@coinoswallet" />
+ <meta name="twitter:site" content="@swapeewallet" />
+ <meta name="twitter:creator" content="@swapeewallet" />
</svelte:head>
<slot />