aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/addon
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/addon')
-rw-r--r--src/modules/addon/packaddondialog.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/modules/addon/packaddondialog.cpp b/src/modules/addon/packaddondialog.cpp
index 4e2e1fa4e..ede1316a6 100644
--- a/src/modules/addon/packaddondialog.cpp
+++ b/src/modules/addon/packaddondialog.cpp
@@ -160,7 +160,7 @@ bool KviPackAddonDialog::checkDirTree(QString * pszError, QString * pszWarning)
QDir sound(m_szDirPath + "/sound");
if(!sound.exists())
{
- *pszWarning += __tr2qs_ctx("The sounds directory (sound) does not exist.","addon");
+ *pszWarning += __tr2qs_ctx("The audio directory (sound) does not exist.","addon");
*pszWarning += "\n";
}
@@ -413,7 +413,9 @@ bool KviPackAddonDialog::packAddon()
return false;
if(!addSubdirectoryIfExists(pw,m_szDirPath,"pics","pics/"))
return false;
- if(!addSubdirectoryIfExists(pw,m_szDirPath,"sounds","sounds/"))
+ if(!addSubdirectoryIfExists(pw,m_szDirPath,"audio","audio/"))
+ return false;
+ if(!addSubdirectoryIfExists(pw,m_szDirPath,"sounds","audio/"))
return false;
if(!addSubdirectoryIfExists(pw,m_szDirPath,"locale","locale/"))
return false;