spellcheck_value.cpp 755 B

123456789101112131415161718192021222324252627282930313233
  1. // This file is part of Desktop App Toolkit,
  2. // a set of libraries for developing nice desktop applications.
  3. //
  4. // For license and copyright information please follow this link:
  5. // https://github.com/desktop-app/legal/blob/master/LEGAL
  6. //
  7. #include "spellcheck/spellcheck_value.h"
  8. namespace ph {
  9. phrase lng_spellchecker_submenu = "Spelling";
  10. phrase lng_spellchecker_add = "Add to Dictionary";
  11. phrase lng_spellchecker_remove = "Remove from Dictionary";
  12. phrase lng_spellchecker_ignore = "Ignore word";
  13. } // namespace ph
  14. namespace Spellchecker {
  15. namespace {
  16. QString WorkingDir = QString();
  17. } // namespace
  18. QString WorkingDirPath() {
  19. return WorkingDir;
  20. }
  21. void SetWorkingDirPath(const QString &path) {
  22. WorkingDir = path;
  23. }
  24. } // namespace Spellchecker