Skip to content

Commit

Permalink
Merge pull request #48 from dfgHiatus/feat/lang
Browse files Browse the repository at this point in the history
(feat) Add locale support
  • Loading branch information
scuffedplus authored Oct 18, 2024
2 parents 9050a12 + 8a46031 commit f9b6d91
Show file tree
Hide file tree
Showing 25 changed files with 2,970 additions and 1,209 deletions.
149 changes: 149 additions & 0 deletions BabbleApp/Locale/English/locale.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,149 @@
{
"general.header": "General Settings",
"general.checkForUpdates": "Check For Updates",
"general.toolTip": "Toggle update check on launch",
"general.oscSettings": "OSC Settings",
"general.locationPrefix": "Location Prefix",
"general.locationTooltip": "Prefix for OSC address",
"general.address": "Address",
"general.addressTooltip": "IP address we send OSC data to",
"general.port": "Port",
"general.portTooltip": "OSC port we send data to",
"general.receiver": "Receive functions",
"general.receiverTooltip": "Toggle OSC receive functions",
"general.receiverPort": "Receiver Port",
"general.receiverPortTooltip": "Port we receive OSC data from (used to recalibrate from within VRChat",
"general.recalibrate": "Recalibrate Address",
"general.recalibrateTooltip": "OSC address we use for recalibrating",
"general.uvcCameraSettings": "UVC Camera Settings",
"general.useRedChannel": "Use Red Channel",
"general.useRedChannelTooltip": "Uses only the red channel for Omnicept capture",
"general.xResolution": "X Resolution",
"general.xResolutionTooltip": "X capture resolution. Default = 0",
"general.yResolution": "Y Resolution",
"general.yResolutionTooltip": "Y capture resolution. Default = 0",
"general.framerate": "Framerate",
"general.framerateTooltip": "Capture framerate. Default = 0",
"general.language": "Language Settings",
"general.languageInstructions": "Restart the Babble App to see your changes",
"general.languageTooltip": "Change the language",
"error.oscPort": "OSC port value must be an integer 0-65535",
"error.oscValue": "OSC port value cannot be empty and must be an integer 0-65535",
"error.notAnInt": "Not an Int",
"error.notAFloat": "Not a Float",
"error.improperTabValue": "Improper tab value",
"error.frame": "Problem while getting frame",
"error.size": "Size of frames to display are of unequal sizes",
"error.capture": "Frame capture issue detected",
"warn.frameDrop": "Frame drop. Corrupted JPEG",
"warn.captureProblem": "Capture source problem, assuming camera disconnected, waiting for reconnect",
"warn.serialCapture": "Serial capture source problem, assuming camera disconnected, waiting for reconnect",
"warn.backpressure1": "CAPTURE QUEUE BACKPRESSURE OF",
"warn.backpressure2": "CHECK FOR CRASH OR TIMING ISSUES IN ALGORITHM",
"warn.oneEuroValues": "OneEuroFilter values must be a legal number",
"info.moveToTrackingMode": "Moving to tracking mode",
"info.moveToROIMode": "Moving to ROI mode",
"info.setROI": "Set ROI",
"info.enabled": "Enabled",
"info.disabled": "Disabled",
"info.newValue": "New value",
"info.discardingSerial": "Discarding the serial buffer",
"info.refreshedCameraList": "Refreshed Camera List",
"info.ETVRConnected": "ETVR Serial Tracker device connected on",
"info.ETVRFailiure": "Failed to connect on",
"info.enterCaptureOne": "Capture source",
"info.enterCaptureTwo": "not found, retrying...",
"info.exitCaptureThread": "Exiting capture thread",
"info.exitTrackingThread": "Exiting tracking thread",
"log.info": "INFO",
"log.warn": "WARN",
"log.error": "ERROR",
"algorithm.header": "Model Settings",
"algorithm.modelFile": "Model file",
"algorithm.modelFileTooptip": "Name of the model file",
"algorithm.inferenceThreads": "Inference Threads",
"algorithm.inferenceThreadsTooltip": "How many threads to use for processing the model",
"algorithm.runtime": "Runtime",
"algorithm.runtimeTooltip": "",
"algorithm.GPUIndex": "GPU Index",
"algorithm.GPUIndexTooltip": "Select which device to run inference",
"algorithm.useGPU": "Use GPU",
"algorithm.useGPUTooltip": "Toggle GPU execution",
"algorithm.modelOutputMultiplier": "Model output multiplier",
"algorithm.modelOutputMultiplierTooltip": "Model output modifier",
"algorithm.calibrationDeadzone": "Calibration Deadzone",
"algorithm.calibrationDeadzoneTooltip": "Offset the minimum calibrated values",
"algorithm.oneEuroFilterParameters": "One Euro Filter Parameters",
"algorithm.minFrequencyCutoff": "Min Frequency Cutoff",
"algorithm.minFrequencyCutoffTooltip": "",
"algorithm.speedCoefficient": "Speed Coefficient",
"algorithm.speedCoefficientTooltip": "",
"camera.selectEntireFrame": "Select Entire Frame",
"camera.selectEntireFrameTooltip": "Automatically set ROI",
"camera.rotation": "Rotation",
"camera.rotationTooltip": "Adjust the rotation of your cameras, make them level",
"camera.startCalibration": "Start Calibration",
"camera.startCalibrationTooltip": "Neutural Calibration: Hold a relaxed face, press [Start Calibration] and then press [Stop Calibraion]. \nFull Calibration: Press [Start Calibration] and make as many face movements as you can until it switches back to tracking mode or press [Stop Calibration]",
"camera.stopCalibration": "Stop Calibration",
"camera.stopCalibrationTooltip": "Stop calibration manually",
"camera.enableCalibration": "Enable Calibration",
"camera.enableCalibrationTooltip": "Checked = Calibrated model output. Unchecked = Raw model output",
"camera.mode": "Mode",
"camera.calibrating": "Calibration",
"camera.verticalFlip": "Vertical Flip",
"camera.verticalFlipTooltip": "Vertically flip camera feed",
"camera.horizontalFlip": "Horizontal Flip",
"camera.horizontalFlipTooltip": "Horizontally flip camera feed",
"camera.crop": "Please set a Crop",
"camera.cameraAddress": "Camera Address",
"camera.cameraAddressTooltip": "Enter the IP address or UVC port of your camera. (Include the 'http://')",
"camera.refreshCameraList": "Refresh List",
"camera.saveAndRestartTracking": "Save and Restart Tracking",
"camera.trackingMode": "Tracking Mode",
"camera.trackingModeTooltip": "Go here to track your mouth",
"camera.croppingMode": "Cropping Mode",
"camera.croppingModeToolTip": "Go here to crop out your mouth",
"camera.waiting": "Waiting for camera address",
"camera.connecting": "Camera Connecting",
"camera.reconnecting": "Camera Reconnecting",
"camera.waitingOnMouthCrop": "Awating Mouth Crop",
"camera.calibration": "Calibration",
"camera.tracking": "Tracking",
"config.noSettingsFile": "No settings file, using base settings",
"config.failedToLoadSettings": "Failed to load settings file",
"config.usingBackupSettings": "Using backup settings",
"config.usingBaseSettings": "Using base settings",
"config.saved": "Config saved successfully",
"babble.latestVersion": "App is the latest version",
"babble.needUpdateOne": "You have app version",
"babble.needUpdateTwo": "installed. Please update to",
"babble.needUpdateThree": "for the newest features",
"babble.name": "Babble App",
"babble.updatePresent": "New Update Available",
"babble.updateTo": "Please update to",
"babble.downloadPage": "Download Page",
"babble.noToast": "Toast notifications not supported",
"babble.noInternet": "Internet connection failed, no update check occured",
"babble.camPage": "Cam",
"babble.settingsPage": "Settings",
"babble.algoSettingsPage": "Algo Settings",
"babble.calibrationPage": "Calibration",
"babble.exit": "Exiting Babble App",
"calibration.header": "Calibration Settings",
"calibration.mode": "Calibration Mode",
"calibration.modeTooltip": "Neutral = Only Min values are set when starting and stopping calibration. Full = Min and Max values are set based on recorded values when starting calibration.",
"calibration.left": "Left",
"calibration.shape": "Shape",
"calibration.right": "Right",
"calibration.center": "Center",
"calibration.min": "Min",
"calibration.max": "Max",
"calibration.resetMin": "Reset Min",
"calibration.resetMinTooltip": "Reset minimum values",
"calibration.resetMax": "Reset Max",
"calibration.resetMaxTooltip": "Reset maximum values",
"calibration.minLeftValue": "Min Left Value",
"calibration.maxLeftValue": "Max Left Value",
"calibration.minRightValue": "Min Right Value",
"calibration.maxRightValue": "Max Right Value"
}
149 changes: 149 additions & 0 deletions BabbleApp/Locale/OwO/locale.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,149 @@
{
"general.header": "Genewaw Settings OwO",
"general.checkForUpdates": "Check Fow Updates UwU",
"general.toolTip": "Toggwe update check on waunch >w<",
"general.oscSettings": "OSC Settings nya~",
"general.locationPrefix": "Wocation Pwefix :3",
"general.locationTooltip": "Pwefix fow OSC addwess OwO",
"general.address": "Addwess >w<",
"general.addressTooltip": "IP addwess we send OSC data to uwu",
"general.port": "Powt nya~",
"general.portTooltip": "OSC powt we send data to :3",
"general.receiver": "Weceive functions OwO",
"general.receiverTooltip": "Toggwe OSC weceive functions UwU",
"general.receiverPort": "Weceivew Powt >w<",
"general.receiverPortTooltip": "Powt we weceive OSC data fwom (used to wecawibwate fwom within VRChat nya~",
"general.recalibrate": "Wecawibwate Addwess :3",
"general.recalibrateTooltip": "OSC addwess we use fow wecawibwating OwO",
"general.uvcCameraSettings": "UVC Camewa Settings UwU",
"general.useRedChannel": "Use Wed Channew >w<",
"general.useRedChannelTooltip": "Uses onwy the wed channew fow Omnicept captuwe nya~",
"general.xResolution": "X Wesowution :3",
"general.xResolutionTooltip": "X captuwe wesowution. Defauwt = 0 OwO",
"general.yResolution": "Y Wesowution UwU",
"general.yResolutionTooltip": "Y captuwe wesowution. Defauwt = 0 >w<",
"general.framerate": "Fwamewate nya~",
"general.framerateTooltip": "Captuwe fwamewate. Defauwt = 0 :3",
"general.language": "Wanguage Settings OwO",
"general.languageInstructions": "Westawt the Babbwe App to see youw changes UwU",
"general.languageTooltip": "Change the wanguage >w<",
"error.oscPort": "OSC port value must be an integer 0-65535",
"error.oscValue": "OSC port value cannot be empty and must be an integer 0-65535",
"error.notAnInt": "Not an Int",
"error.notAFloat": "Not a Float",
"error.improperTabValue": "Improper tab value",
"error.frame": "Problem while getting frame",
"error.size": "Size of frames to display are of unequal sizes",
"error.capture": "Frame capture issue detected",
"warn.frameDrop": "Frame drop. Corrupted JPEG",
"warn.captureProblem": "Capture source problem, assuming camera disconnected, waiting for reconnect",
"warn.serialCapture": "Serial capture source problem, assuming camera disconnected, waiting for reconnect",
"warn.backpressure1": "CAPTURE QUEUE BACKPRESSURE OF",
"warn.backpressure2": "CHECK FOR CRASH OR TIMING ISSUES IN ALGORITHM",
"warn.oneEuroValues": "OneEuroFilter values must be a legal number",
"info.moveToTrackingMode": "Moving to tracking mode",
"info.moveToROIMode": "Moving to ROI mode",
"info.setROI": "Set ROI",
"info.enabled": "Enabled",
"info.disabled": "Disabled",
"info.newValue": "New value",
"info.discardingSerial": "Discarding the serial buffer",
"info.refreshedCameraList": "Refreshed Camera List",
"info.ETVRConnected": "ETVR Serial Tracker device connected on",
"info.ETVRFailiure": "Failed to connect on",
"info.enterCaptureOne": "Capture source",
"info.enterCaptureTwo": "not found, retrying...",
"info.exitCaptureThread": "Exiting capture thread",
"info.exitTrackingThread": "Exiting tracking thread",
"log.info": "INFO",
"log.warn": "WARN",
"log.error": "ERROR",
"algorithm.header": "Modew Settings :3",
"algorithm.modelFile": "Modew fiwe OwO",
"algorithm.modelFileTooptip": "Name of the modew fiwe UwU",
"algorithm.inferenceThreads": "Infewence Thweads >w<",
"algorithm.inferenceThreadsTooltip": "How many thweads to use fow pwocessing the modew nya~",
"algorithm.runtime": "Wuntime :3",
"algorithm.runtimeTooltip": "",
"algorithm.GPUIndex": "GPU Index OwO",
"algorithm.GPUIndexTooltip": "Sewect which device to wun infewence UwU",
"algorithm.useGPU": "Use GPU >w<",
"algorithm.useGPUTooltip": "Toggwe GPU execution nya~",
"algorithm.modelOutputMultiplier": "Modew output muwtipwiew :3",
"algorithm.modelOutputMultiplierTooltip": "Modew output modifiew OwO",
"algorithm.calibrationDeadzone": "Cawibwation Deadzone UwU",
"algorithm.calibrationDeadzoneTooltip": "Offset the minimum cawibwated vawues >w<",
"algorithm.oneEuroFilterParameters": "One Euwo Fiwtew Pawametews nya~",
"algorithm.minFrequencyCutoff": "Min Fwequency Cutoff :3",
"algorithm.minFrequencyCutoffTooltip": "",
"algorithm.speedCoefficient": "Speed Coefficient OwO",
"algorithm.speedCoefficientTooltip": "",
"camera.selectEntireFrame": "Sewect Entiwe Fwame UwU",
"camera.selectEntireFrameTooltip": "Automaticawwy set WOI >w<",
"camera.rotation": "Wotation nya~",
"camera.rotationTooltip": "Adjust the wotation of youw camewas, make them wevew :3",
"camera.startCalibration": "Stawt Cawibwation OwO",
"camera.startCalibrationTooltip": "Neutwaw Cawibwation: Howd a wewaxed face, pwess [Stawt Cawibwation] and then pwess [Stop Cawibwaion]. \nFuww Cawibwation: Pwess [Stawt Cawibwation] and make as many face movements as you can untiw it switches back to twacking mode ow pwess [Stop Cawibwation] UwU",
"camera.stopCalibration": "Stop Cawibwation >w<",
"camera.stopCalibrationTooltip": "Stop cawibwation manuawwy nya~",
"camera.enableCalibration": "Enabwe Cawibwation :3",
"camera.enableCalibrationTooltip": "Checked = Cawibwated modew output. Unchecked = Waw modew output OwO",
"camera.mode": "Mode UwU",
"camera.calibrating": "Cawibwation >w<",
"camera.verticalFlip": "Vewticaw Fwip nya~",
"camera.verticalFlipTooltip": "Vewticawwy fwip camewa feed :3",
"camera.horizontalFlip": "Howizontaw Fwip OwO",
"camera.horizontalFlipTooltip": "Howizontawwy fwip camewa feed UwU",
"camera.crop": "Pwease set a Cwop >w<",
"camera.cameraAddress": "Camewa Addwess nya~",
"camera.cameraAddressTooltip": "Entew the IP addwess ow UVC powt of youw camewa. (Incwude the 'http://') :3",
"camera.refreshCameraList": "Wefwesh Wist OwO",
"camera.saveAndRestartTracking": "Save and Westawt Twacking UwU",
"camera.trackingMode": "Twacking Mode >w<",
"camera.trackingModeTooltip": "Go hewe to twack youw mouth nya~",
"camera.croppingMode": "Cwopping Mode :3",
"camera.croppingModeToolTip": "Go hewe to cwop out youw mouth OwO",
"camera.waiting": "Waiting fow camewa addwess UwU",
"camera.connecting": "Camewa Connecting >w<",
"camera.reconnecting": "Camewa Weconnecting nya~",
"camera.waitingOnMouthCrop": "Awaiting Mouth Cwop :3",
"camera.calibration": "Cawibwation OwO",
"camera.tracking": "Twacking UwU",
"config.noSettingsFile": "No settings file, using base settings",
"config.failedToLoadSettings": "Failed to load settings file",
"config.usingBackupSettings": "Using backup settings",
"config.usingBaseSettings": "Using base settings",
"config.saved": "Config saved successfully",
"babble.latestVersion": "App is the latest version",
"babble.needUpdateOne": "You have app version",
"babble.needUpdateTwo": "installed. Please update to",
"babble.needUpdateThree": "for the newest features",
"babble.name": "Babbwe App UwU",
"babble.updatePresent": "New Update Avaiwabwe >w<",
"babble.updateTo": "Pwease update to nya~",
"babble.downloadPage": "Downwoad Page :3",
"babble.noToast": "Toast notifications not suppowted OwO",
"babble.noInternet": "Intewnet connection faiwed, no update check occuwwed UwU",
"babble.camPage": "Cam >w<",
"babble.settingsPage": "Settings nya~",
"babble.algoSettingsPage": "Awgo Settings :3",
"babble.calibrationPage": "Cawibwation OwO",
"babble.exit": "Exiting Babble App",
"calibration.header": "Cawibwation Settings >w<",
"calibration.mode": "Cawibwation Mode nya~",
"calibration.modeTooltip": "Neutwaw = Onwy Min vawues awe set when stawting and stopping cawibwation. Fuww = Min and Max vawues awe set based on wecowded vawues when stawting cawibwation. :3",
"calibration.left": "Left",
"calibration.shape": "Shape UwU",
"calibration.right": "Right",
"calibration.center": "Centew nya~",
"calibration.min": "Min :3",
"calibration.max": "Max OwO",
"calibration.resetMin": "Weset Min UwU",
"calibration.resetMinTooltip": "Weset minimum vawues >w<",
"calibration.resetMax": "Weset Max nya~",
"calibration.resetMaxTooltip": "Weset maximum vawues :3",
"calibration.minLeftValue": "Min Weft Vawue OwO",
"calibration.maxLeftValue": "Max Weft Vawue UwU",
"calibration.minRightValue": "Min Wight Vawue >w<",
"calibration.maxRightValue": "Max Wight Vawue nya~"
}
Loading

0 comments on commit f9b6d91

Please sign in to comment.