@aparte/locale-fr 0.2.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +20 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +40 -0
- package/dist/index.js.map +1 -0
- package/package.json +59 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 aparté
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# @aparte/locale-fr
|
|
2
|
+
|
|
3
|
+
French locale for [aparté](https://github.com/apartejs/aparte). Core ships English
|
|
4
|
+
(`DEFAULT_LOCALE`) out of the box — install this only to switch to French.
|
|
5
|
+
|
|
6
|
+
```bash
|
|
7
|
+
npm install @aparte/locale-fr @aparte/core
|
|
8
|
+
```
|
|
9
|
+
|
|
10
|
+
```ts
|
|
11
|
+
import { AparteConfig } from '@aparte/core';
|
|
12
|
+
import { fr } from '@aparte/locale-fr';
|
|
13
|
+
|
|
14
|
+
AparteConfig.setLocale(fr);
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
`@aparte/core` is a **peer dependency**. See the [Localization guide](https://github.com/apartejs/aparte)
|
|
18
|
+
for the full `AparteLocale` surface.
|
|
19
|
+
|
|
20
|
+
> ESM-only. Part of the aparté monorepo.
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @aparte/locale-fr
|
|
3
|
+
*
|
|
4
|
+
* French translations for aparté. Core ships English (`DEFAULT_LOCALE`) by
|
|
5
|
+
* default — pass this to `AparteConfig.setLocale(fr)` to switch.
|
|
6
|
+
*/
|
|
7
|
+
import type { AparteLocale } from '@aparte/core';
|
|
8
|
+
export declare const fr: AparteLocale;
|
|
9
|
+
export default fr;
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAEjD,eAAO,MAAM,EAAE,EAAE,YAkChB,CAAC;AAEF,eAAe,EAAE,CAAC"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
const fr = {
|
|
2
|
+
inputPlaceholder: "Écrivez un message...",
|
|
3
|
+
sendButton: "Envoyer",
|
|
4
|
+
copy: "Copier",
|
|
5
|
+
copied: "Copié !",
|
|
6
|
+
retry: "Réessayer",
|
|
7
|
+
thinking: "Réflexion en cours...",
|
|
8
|
+
typing: "Écrit...",
|
|
9
|
+
error: "Erreur",
|
|
10
|
+
running: "Exécution...",
|
|
11
|
+
run: "Exécuter",
|
|
12
|
+
file: "Fichier",
|
|
13
|
+
modelSelectorPlaceholder: "Sélectionner un modèle...",
|
|
14
|
+
roleNameUser: "Vous",
|
|
15
|
+
roleNameAssistant: "Assistant",
|
|
16
|
+
yourMessage: "Votre message",
|
|
17
|
+
assistantResponse: "Réponse de l'assistant",
|
|
18
|
+
messageActions: "Actions du message",
|
|
19
|
+
edit: "Modifier le message",
|
|
20
|
+
editConfirm: "Envoyer",
|
|
21
|
+
editCancel: "Annuler",
|
|
22
|
+
feedbackPositive: "Bonne réponse",
|
|
23
|
+
feedbackNegative: "Mauvaise réponse",
|
|
24
|
+
previousResponse: "Réponse précédente",
|
|
25
|
+
nextResponse: "Réponse suivante",
|
|
26
|
+
approveTool: "Approuver",
|
|
27
|
+
rejectTool: "Rejeter",
|
|
28
|
+
tokensPerSecondLabel: "tok/s",
|
|
29
|
+
messageInfo: "Détails",
|
|
30
|
+
newChat: "Nouvelle conversation",
|
|
31
|
+
deleteConversation: "Supprimer la conversation",
|
|
32
|
+
archiveConversation: "Archiver la conversation",
|
|
33
|
+
unarchiveConversation: "Désarchiver la conversation",
|
|
34
|
+
direction: "ltr"
|
|
35
|
+
};
|
|
36
|
+
export {
|
|
37
|
+
fr as default,
|
|
38
|
+
fr
|
|
39
|
+
};
|
|
40
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../src/index.ts"],"sourcesContent":["/**\n * @aparte/locale-fr\n *\n * French translations for aparté. Core ships English (`DEFAULT_LOCALE`) by\n * default — pass this to `AparteConfig.setLocale(fr)` to switch.\n */\n\nimport type { AparteLocale } from '@aparte/core';\n\nexport const fr: AparteLocale = {\n inputPlaceholder: \"Écrivez un message...\",\n sendButton: \"Envoyer\",\n copy: \"Copier\",\n copied: \"Copié !\",\n retry: \"Réessayer\",\n thinking: \"Réflexion en cours...\",\n typing: \"Écrit...\",\n error: \"Erreur\",\n running: \"Exécution...\",\n run: \"Exécuter\",\n file: \"Fichier\",\n modelSelectorPlaceholder: \"Sélectionner un modèle...\",\n roleNameUser: \"Vous\",\n roleNameAssistant: \"Assistant\",\n yourMessage: \"Votre message\",\n assistantResponse: \"Réponse de l'assistant\",\n messageActions: \"Actions du message\",\n edit: \"Modifier le message\",\n editConfirm: \"Envoyer\",\n editCancel: \"Annuler\",\n feedbackPositive: \"Bonne réponse\",\n feedbackNegative: \"Mauvaise réponse\",\n previousResponse: \"Réponse précédente\",\n nextResponse: \"Réponse suivante\",\n approveTool: \"Approuver\",\n rejectTool: \"Rejeter\",\n tokensPerSecondLabel: \"tok/s\",\n messageInfo: \"Détails\",\n newChat: \"Nouvelle conversation\",\n deleteConversation: \"Supprimer la conversation\",\n archiveConversation: \"Archiver la conversation\",\n unarchiveConversation: \"Désarchiver la conversation\",\n direction: 'ltr'\n};\n\nexport default fr;\n"],"names":[],"mappings":"AASO,MAAM,KAAmB;AAAA,EAC5B,kBAAkB;AAAA,EAClB,YAAY;AAAA,EACZ,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,OAAO;AAAA,EACP,UAAU;AAAA,EACV,QAAQ;AAAA,EACR,OAAO;AAAA,EACP,SAAS;AAAA,EACT,KAAK;AAAA,EACL,MAAM;AAAA,EACN,0BAA0B;AAAA,EAC1B,cAAc;AAAA,EACd,mBAAmB;AAAA,EACnB,aAAa;AAAA,EACb,mBAAmB;AAAA,EACnB,gBAAgB;AAAA,EAChB,MAAM;AAAA,EACN,aAAa;AAAA,EACb,YAAY;AAAA,EACZ,kBAAkB;AAAA,EAClB,kBAAkB;AAAA,EAClB,kBAAkB;AAAA,EAClB,cAAc;AAAA,EACd,aAAa;AAAA,EACb,YAAY;AAAA,EACZ,sBAAsB;AAAA,EACtB,aAAa;AAAA,EACb,SAAS;AAAA,EACT,oBAAoB;AAAA,EACpB,qBAAqB;AAAA,EACrB,uBAAuB;AAAA,EACvB,WAAW;AACf;"}
|
package/package.json
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@aparte/locale-fr",
|
|
3
|
+
"version": "0.2.0-alpha.0",
|
|
4
|
+
"description": "French locale for aparté — pass to AparteConfig.setLocale() (core ships English by default).",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"sideEffects": false,
|
|
7
|
+
"main": "./dist/index.js",
|
|
8
|
+
"module": "./dist/index.js",
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"@aparte-workspace/source": "./src/index.ts",
|
|
13
|
+
"types": "./dist/index.d.ts",
|
|
14
|
+
"import": "./dist/index.js",
|
|
15
|
+
"default": "./dist/index.js"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"files": [
|
|
19
|
+
"dist",
|
|
20
|
+
"README.md",
|
|
21
|
+
"LICENSE"
|
|
22
|
+
],
|
|
23
|
+
"engines": {
|
|
24
|
+
"node": ">=18"
|
|
25
|
+
},
|
|
26
|
+
"peerDependencies": {
|
|
27
|
+
"@aparte/core": "0.2.0-alpha.0"
|
|
28
|
+
},
|
|
29
|
+
"devDependencies": {
|
|
30
|
+
"typescript": "^5.4.0",
|
|
31
|
+
"vite": "^6.0.0",
|
|
32
|
+
"vite-plugin-dts": "^4.5.4",
|
|
33
|
+
"@aparte/core": "0.2.0-alpha.0"
|
|
34
|
+
},
|
|
35
|
+
"keywords": [
|
|
36
|
+
"aparte",
|
|
37
|
+
"locale",
|
|
38
|
+
"i18n",
|
|
39
|
+
"french",
|
|
40
|
+
"fr"
|
|
41
|
+
],
|
|
42
|
+
"license": "MIT",
|
|
43
|
+
"repository": {
|
|
44
|
+
"type": "git",
|
|
45
|
+
"url": "git+https://github.com/apartejs/aparte.git",
|
|
46
|
+
"directory": "packages/locales/fr"
|
|
47
|
+
},
|
|
48
|
+
"bugs": {
|
|
49
|
+
"url": "https://github.com/apartejs/aparte/issues"
|
|
50
|
+
},
|
|
51
|
+
"scripts": {
|
|
52
|
+
"dev": "vite",
|
|
53
|
+
"build": "vite build && tsc -b --emitDeclarationOnly --force",
|
|
54
|
+
"preview": "vite preview",
|
|
55
|
+
"test": "vitest",
|
|
56
|
+
"test:run": "vitest run",
|
|
57
|
+
"test:coverage": "vitest run --coverage"
|
|
58
|
+
}
|
|
59
|
+
}
|