p≡p engine
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
1.6 KiB

6 years ago
6 years ago
  1. -- This file is under GNU General Public License 3.0
  2. -- See LICENSE.txt
  3. -- DDL
  4. CREATE TABLE i18n_language (
  5. lang text primary key,
  6. name text
  7. );
  8. CREATE TABLE wordlist (
  9. lang text
  10. references i18n_language (lang),
  11. id integer,
  12. word text,
  13. entropy integer
  14. );
  15. CREATE UNIQUE INDEX wordlist_pk on wordlist (lang, id);
  16. CREATE TABLE i18n_token (
  17. lang text
  18. references i18n_language (lang),
  19. id integer,
  20. phrase text
  21. );
  22. CREATE UNIQUE INDEX i18n_token_pk on i18n_token (lang, id);
  23. -- DML
  24. INSERT INTO i18n_language VALUES ('en', 'English');
  25. INSERT INTO i18n_token VALUES ('en', 1000, 'I want to display the trustwords in English language');
  26. INSERT INTO i18n_language VALUES ('de', 'Deutsch');
  27. INSERT INTO i18n_token VALUES ('de', 1000, 'Ich möchte die Trustwords auf Deutsch haben');
  28. INSERT INTO i18n_language VALUES ('fr', 'Français');
  29. INSERT INTO i18n_token VALUES ('fr', 1000, 'Je voudrais afficher les trustwords en Français');
  30. INSERT INTO i18n_language VALUES ('es', 'Español');
  31. INSERT INTO i18n_token VALUES ('es', 1000, 'Quiero mostrar las trustwords en español');
  32. INSERT INTO i18n_language VALUES ('ca', 'Català');
  33. INSERT INTO i18n_token VALUES ('ca', 1000, 'Vull mostrar les trustwords en català');
  34. INSERT INTO i18n_language VALUES ('tr', 'Türkçe');
  35. INSERT INTO i18n_token VALUES ('tr', 1000, 'Güvenlik kelimelerini Türkçe görüntülemek istiyorum');
  36. INSERT INTO i18n_language VALUES ('nl', 'Nederlands');
  37. INSERT INTO i18n_token VALUES ('nl', 1000, 'Ik wil de trustwords in de nederlandse taal laten zien');
  38. -- add more languages here