aboutsummaryrefslogtreecommitdiffstats
path: root/SQLiteStudio3/lang.tcl
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@ubuntu.com>2015-02-22 14:06:29 -0500
committerLibravatarUnit 193 <unit193@ubuntu.com>2015-02-22 14:06:29 -0500
commit306d6d3ca9c9ad774d19135681a7f9805f77035f (patch)
treea3e36ac2cc769162c30a1bcc33e126f7a4f4ccea /SQLiteStudio3/lang.tcl
parent016003905ca0e8e459e3dc33e786beda8ec92f45 (diff)
Imported Upstream version 3.0.3upstream/3.0.3
Diffstat (limited to 'SQLiteStudio3/lang.tcl')
-rwxr-xr-xSQLiteStudio3/lang.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/SQLiteStudio3/lang.tcl b/SQLiteStudio3/lang.tcl
index fd6b3d0..d9cacf9 100755
--- a/SQLiteStudio3/lang.tcl
+++ b/SQLiteStudio3/lang.tcl
@@ -93,14 +93,14 @@ switch -- $op {
set data [read $fd]
close $fd
- set ts "${p}_$lang.ts"
+ set ts "${d}_$lang.ts"
if {$op == "add"} {
set data [string map [list "TRANSLATIONS += " "TRANSLATIONS += $ts \\\n\t\t"] $data]
} else {
regsub -- "$ts\\s*(\\\\)?\n\\s*" $data "" data
}
- set fd [open ../Plugins/$p/$p.pro w+]
+ set fd [open ../Plugins/$d/$d.pro w+]
puts $fd $data
close $fd