Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
hugocxl committed Nov 10, 2023
1 parent 9ab2c6a commit a3ea82c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
4 changes: 1 addition & 3 deletions playground/next-app/koi18n.config.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import { defineConfig, createChatGptTranslator } from '@koi18n/dev'

const translator = createChatGptTranslator({
apiKey: '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'
})
const translator = createChatGptTranslator()

export default defineConfig({
include: ['./src/**/*.{js,jsx,ts,tsx}'],
Expand Down
11 changes: 1 addition & 10 deletions playground/vite/koi18n.config.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,6 @@
import { defineConfig, createGoogleCloudTranslator } from '@koi18n/dev'

const translator = createGoogleCloudTranslator({
projectId: 'reword-399419',
credentials: {
type: 'service_account',
private_key:
'-----BEGIN PRIVATE KEY-----\nMIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCvOXarRoF8aSPU\nv8I9/EaglTE969UXXZ5Az9yFwDk86uxfPNy1BpGYSB+Md8D7eU+DPpiq2s7bzq2P\neNQ7VzyBGYPuUvTwc7vuWjDb2CUfChwU295RTo6pSSoUWYTm3NOXyMPIQsr1A8/m\nHZMORKhjsiXHvWROFRmniYyx2ohZcDiP1vlwHYXXIEt9fY5pepKLr5yBlfg1Zwik\nx3O9McgHaYqvkALuhd7FApiTzOwIMuTLb/3Wx0Z6cVXAE5UEehh9tkKPNPRFukGq\naCZ6CwNgAIbYyT2Wky0lvgMjG8Prh0PdGIBQQ3Sxna4RDjx8k3QoI45C37pOGoiq\nHJCU7mOxAgMBAAECggEAGViumcfxIxXyYOv8JQtBDCmInfRnNqIMKkPnGlHb9bvl\nxUEAjA8PMH/+UEtiVv4NSmbbnptYIOOcp4xK5uqPjf0q4GaPl9il7qyNNL/nXr4P\nodTMK+a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9KpfkhC0k1JWw/Y6a1fnRp0mWXTAsJ\nBV0THeRIOehP2VFK22ig5BM=\n-----END PRIVATE KEY-----\n',
client_email: 'reword@reword-399419.iam.gserviceaccount.com',
client_id: '117675259755474601860'
}
})
const translator = createGoogleCloudTranslator()

export default defineConfig({
include: ['./src/**/*.{js,jsx,ts,tsx}'],
Expand Down

0 comments on commit a3ea82c

Please sign in to comment.