mirror of
https://github.com/Alia5/GlosSI.git
synced 2024-11-18 15:26:09 +00:00
Uncamelcasify EGS game names
This commit is contained in:
parent
9b2c57b0db
commit
efdcc8f881
@ -189,7 +189,7 @@ Dialog {
|
|||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
spacing: 2
|
spacing: 2
|
||||||
Label {
|
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.pixelSize: 18
|
||||||
font.bold: true
|
font.bold: true
|
||||||
}
|
}
|
||||||
|
@ -374,7 +374,7 @@ Item {
|
|||||||
id: egsSelectDialog
|
id: egsSelectDialog
|
||||||
onConfirmed: function(modelData) {
|
onConfirmed: function(modelData) {
|
||||||
if (nameInput.text == "") {
|
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/"
|
pathInput.text = "com.epicgames.launcher://apps/"
|
||||||
+ modelData.NamespaceId
|
+ modelData.NamespaceId
|
||||||
|
Loading…
Reference in New Issue
Block a user