mirror of
https://github.com/Alia5/GlosSI.git
synced 2024-11-05 06:00:14 +00:00
Uncamelcasify EGS game names
This commit is contained in:
parent
9b2c57b0db
commit
efdcc8f881
@ -189,7 +189,7 @@ Dialog {
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
spacing: 2
|
||||
Label {
|
||||
text: modelData.InstallLocation.split('/').pop().split('\\').pop()
|
||||
text: modelData.InstallLocation.split('/').pop().split('\\').pop().replace(/([a-z])([A-Z])/g, '$1 $2')
|
||||
font.pixelSize: 18
|
||||
font.bold: true
|
||||
}
|
||||
|
@ -374,7 +374,7 @@ Item {
|
||||
id: egsSelectDialog
|
||||
onConfirmed: function(modelData) {
|
||||
if (nameInput.text == "") {
|
||||
nameInput.text = modelData.InstallLocation.split('/').pop().split('\\').pop()
|
||||
nameInput.text = modelData.InstallLocation.split('/').pop().split('\\').pop().replace(/([a-z])([A-Z])/g, '$1 $2')
|
||||
}
|
||||
pathInput.text = "com.epicgames.launcher://apps/"
|
||||
+ modelData.NamespaceId
|
||||
|
Loading…
Reference in New Issue
Block a user