summaryrefslogtreecommitdiff
path: root/app/client/i18n
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2019-03-26 14:43:48 +0100
committerJules Laplace <julescarbon@gmail.com>2019-03-26 14:43:48 +0100
commit8c1a9a05599c1e1b45992ab14fc391f89f34e63d (patch)
tree5f8e564efa2663d4ecaba631b10d441900ebf5de /app/client/i18n
parentd660b951977917c5047da0db21c5c6b3937b764d (diff)
adding i18n framework
Diffstat (limited to 'app/client/i18n')
-rw-r--r--app/client/i18n/i18n.en.js99
-rw-r--r--app/client/i18n/i18n.moon.js99
-rw-r--r--app/client/i18n/index.js15
3 files changed, 213 insertions, 0 deletions
diff --git a/app/client/i18n/i18n.en.js b/app/client/i18n/i18n.en.js
new file mode 100644
index 0000000..406afa6
--- /dev/null
+++ b/app/client/i18n/i18n.en.js
@@ -0,0 +1,99 @@
+export default {
+ header: {
+ system: "system",
+ dashboard: "dashboard",
+ folders: "folders",
+ sequences: "sequences",
+ checkpoints: "checkpoints",
+ results: "results",
+ uprez: "uprez",
+ live: "live",
+ pix2pixhd: "pix2pixhd",
+ pix2pix: "pix2pix",
+ pix2wav: "pix2wav",
+ samplernn: "samplernn",
+ morph: "morph",
+ },
+ gpu: {
+ idle: "GPU Idle",
+ busy: "GPU Busy",
+ start: "Start",
+ restart: "Restart",
+ stop: "Stop",
+ interrupt: "Interrupt",
+ not_processing: "Not Processing",
+ processing: "Processing",
+ },
+ pix2pixhd: {
+ live: {
+ network: {
+ title: "Network",
+ view_mode: "view mode",
+ sequence: "sequence",
+ checkpoint: "checkpoint",
+ epoch: "epoch",
+ },
+ playback: {
+ title: "Playback",
+ position: "position",
+ playback_rate: "playback rate",
+ skip_frames: "skip frames",
+ fade_sequence: "fade sequence",
+ frame_delay: "frame delay",
+ },
+ record: {
+ save_frame: "Save frame",
+ save: "Save",
+ record_video: "Record video",
+ video_name: "Video name",
+ },
+ transition: {
+ title: "Transition",
+ period: "period",
+ min: "min",
+ max: "max",
+ },
+ recursion: {
+ title: "Recursion",
+ frac: "recursive amount",
+ roll: "roll amount",
+ axis: "roll axis",
+ },
+ sequence: {
+ title: "Sequence",
+ frac: "sequence frac",
+ process_frac: "process frac",
+ },
+ transform: {
+ title: "Transform",
+ rotate: "rotate",
+ scale: "scale",
+ },
+ clahe: {
+ title: "Clahe",
+ clip_limit: "clip limit",
+ },
+ posterize: {
+ title: "Posterize",
+ spatial_window: "spatial window",
+ color_window: "color window",
+ },
+ blur: {
+ title: "Blur",
+ radius: "radius",
+ sigma: "sigma",
+ },
+ canny: {
+ title: "Canny Edge Detection",
+ lo: "lower bound",
+ hi: "upper bound",
+ },
+ hsl: {
+ title: "Hue / Saturation",
+ hue: "hue",
+ saturation: "saturation",
+ luminosity: "luminosity",
+ }
+ }
+ }
+}
diff --git a/app/client/i18n/i18n.moon.js b/app/client/i18n/i18n.moon.js
new file mode 100644
index 0000000..930c831
--- /dev/null
+++ b/app/client/i18n/i18n.moon.js
@@ -0,0 +1,99 @@
+export default {
+ header: {
+ system: "system",
+ dashboard: "dashboard",
+ folders: "folders",
+ sequences: "sequences",
+ checkpoints: "checkpoints",
+ results: "results",
+ uprez: "uprez",
+ live: "live",
+ pix2pixhd: "pix2pixhd",
+ pix2pix: "pix2pix",
+ pix2wav: "pix2wav",
+ samplernn: "samplernn",
+ morph: "morph",
+ },
+ gpu: {
+ idle: "GPU Idle",
+ busy: "GPU Busy",
+ start: "Start",
+ restart: "Restart",
+ stop: "Stop",
+ interrupt: "Interrupt",
+ not_processing: "Not Processing",
+ processing: "Processing",
+ },
+ pix2pixhd: {
+ live: {
+ network: {
+ title: "Mumbo Jumbo",
+ view_mode: "bollocks",
+ sequence: "mess",
+ checkpoint: "skew",
+ epoch: "REACTIONARY REGRESSION",
+ },
+ playback: {
+ title: "Divine",
+ position: "accelerationism",
+ playback_rate: "apocalypticism",
+ skip_frames: "pretend there is an emergent phenomenon",
+ fade_sequence: "speaking in tongues",
+ frame_delay: "babble",
+ },
+ record: {
+ save_frame: "PYROMANCE DISCOUNT",
+ save: "Save",
+ record_video: "Pyromance Premium",
+ video_name: "Video name",
+ },
+ transition: {
+ title: "Enlightenment",
+ period: "endarkenment",
+ min: "MONTECARLOCASINO",
+ max: "RANDOM STUMBLE",
+ },
+ recursion: {
+ title: "Proprietary button",
+ frac: "pay $5M to change this",
+ roll: "pay $5M and still nothing happens",
+ axis: "When will I die?",
+ },
+ sequence: {
+ title: "Political thermometer",
+ frac: "ignition",
+ process_frac: "wealth coefficient",
+ },
+ transform: {
+ title: "Hate",
+ rotate: "0,14 factor",
+ scale: "Ariernachweis",
+ },
+ clahe: {
+ title: "Clahe",
+ clip_limit: "clip limit",
+ },
+ posterize: {
+ title: "Posterize",
+ spatial_window: "spatial window",
+ color_window: "color window",
+ },
+ blur: {
+ title: "Blur",
+ radius: "radius",
+ sigma: "sigma",
+ },
+ canny: {
+ title: "Canny Edge Detection",
+ lo: "lower bound",
+ hi: "upper bound",
+ },
+ hsl: {
+ title: "Hue / Saturation",
+ hue: "hue",
+ saturation: "saturation",
+ luminosity: "luminosity",
+ }
+ }
+ }
+}
diff --git a/app/client/i18n/index.js b/app/client/i18n/index.js
new file mode 100644
index 0000000..2bdde02
--- /dev/null
+++ b/app/client/i18n/index.js
@@ -0,0 +1,15 @@
+import en from './i18n.en'
+import moon from './i18n.moon'
+
+const strings = lang => {
+ switch (lang) {
+ case 'moon':
+ return moon
+ default:
+ return en
+ }
+}
+
+const languages = ['en', 'moon']
+
+export { strings, languages }