Commit Graph

450 Commits

Author SHA1 Message Date
Eric Berry
ab22c8cad4 FIX: Infinite loop when poll step is zero (#5380)
* Fix infinite loop when poll step is zero

* Add test for step minimum and for breaking test

* Remove trailing spaces (eslint)

* Remove extra space (eslint)

* Removed test call .twice
2017-11-30 17:04:41 +01:00
Neil Lalonde
13c91fc7ec Update translations 2017-11-13 15:02:53 -05:00
Neil Lalonde
d2d272c5f1 Update translations 2017-09-28 13:37:19 -04:00
Neil Lalonde
346442134e Update translations 2017-09-14 11:02:39 -04:00
Robin Ward
e41a828774 Update translations 2017-08-31 14:50:40 -04:00
Neil Lalonde
ea969d1ed0 FEATURE: add Thai language 2017-08-25 12:33:09 -04:00
Neil Lalonde
3b7657e4b3 Update translations 2017-08-16 11:38:45 -04:00
Neil Lalonde
130ae2cd4b FEATURE: add Latvian language 2017-08-15 11:40:00 -04:00
Arpit Jalan
d666b73893 Update translations. 2017-07-20 14:57:02 +05:30
Arpit Jalan
25d70ec900 Update Translations 2017-07-05 11:35:35 +05:30
Neil Lalonde
febfe27669 Update translations 2017-06-26 14:56:22 -04:00
Guo Xiang Tan
a23ce56682 Update translations. 2017-06-19 12:39:30 +09:00
Arpit Jalan
4112c2b883 Update translations 2017-06-12 21:24:40 +05:30
Arpit Jalan
266acbcc6c Update Translations 2017-05-29 12:23:49 +05:30
Arpit Jalan
f57914ccd8 Update translations 2017-05-22 10:24:44 +05:30
Neil Lalonde
8651fc57a5 Update translations 2017-05-15 11:11:18 -04:00
Arpit Jalan
a160589e84 Update Translations 2017-05-09 22:59:38 +05:30
Arpit Jalan
1f6ffd5fb0 Update Translations 2017-05-02 16:08:55 +05:30
Neil Lalonde
5259a7824e Update translations 2017-04-27 13:26:15 -04:00
Arpit Jalan
df77a827e1 Update Translations 2017-04-24 18:12:40 +05:30
Arpit Jalan
ae96631692 Update Translations 2017-04-17 23:46:18 +05:30
Arpit Jalan
ff530d6fb3 Update Translations 2017-04-07 22:23:39 +05:30
Neil Lalonde
c19bf7e1bd Update translations 2017-03-28 10:50:09 -04:00
Bianca Nenciu
c423544208 Changed combo-box to number inputs for min, max and step values. 2017-03-15 10:56:11 +08:00
Neil Lalonde
4271aa0b48 Update translations 2017-03-08 11:54:01 -05:00
Neil Lalonde
d848916357 FEATURE: Greek language support, thanks to Vasilis Vlachokyriakos 2017-03-01 15:52:55 -05:00
Neil Lalonde
56233e9ec6 Update translations 2017-02-13 16:42:15 -05:00
Neil Lalonde
8ab327665f Update translations 2017-01-26 12:22:14 -05:00
Arpit Jalan
bcbcfa2078 Update Translations 2017-01-18 22:13:12 +05:30
Arpit Jalan
1570c4e4a7 Update Translations 2017-01-12 13:26:45 +05:30
Neil Lalonde
5a2e989e0d Update translations 2017-01-06 15:53:03 -05:00
Arpit Jalan
be303ecef9 Update Translations 2017-01-04 23:43:08 +05:30
Arpit Jalan
4e63880b5d Update Translations 2016-12-29 00:15:25 +05:30
Neil Lalonde
bad98a4987 Update translations 2016-12-14 13:55:24 -05:00
Sam
02b21a26dd Merge pull request #4585 from ibnesayeed/urdu-support
Add initial Urdu support with RTL direction
2016-12-09 13:01:25 +11:00
Arpit Jalan
5cc64103c6 Update Translations 2016-12-08 20:35:03 +05:30
Sawood Alam
49fc54aac6 Add initial Urdu support with RTL direction 2016-12-03 23:17:51 -05:00
Arpit Jalan
6168b2c57a Update Translations 2016-11-25 00:37:51 +05:30
Arpit Jalan
ece5442c54 Update Translations 2016-11-16 23:42:01 +05:30
Arpit Jalan
541c29ff4d Update Translations 2016-11-09 20:16:29 +05:30
Arpit Jalan
f057172216 Update Translations 2016-11-02 22:47:35 +05:30
Arpit Jalan
68b559d501 Update Translations 2016-10-27 00:44:53 +05:30
Arpit Jalan
6eccf9da03 Update Translations 2016-10-20 18:49:09 +05:30
Arpit Jalan
4c614e5233 Update Translations 2016-10-14 00:15:41 +05:30
Arpit Jalan
3002cc4cc7 Update Translations 2016-10-06 21:21:00 +05:30
Arpit Jalan
38c6c69b5a Update Translations 2016-09-28 11:00:36 +02:00
Arpit Jalan
c1c3237d58 Update Translations 2016-09-21 21:16:03 +05:30
Arpit Jalan
1a87960454 Update Translations 2016-09-13 21:21:19 +05:30
Arpit Jalan
d2e1fccc90 Update Translations 2016-09-02 20:12:45 +05:30
Neil Lalonde
4be3b9f36d Update translations 2016-08-25 11:04:46 -04:00
Arpit Jalan
e06be6561d Update Translations 2016-08-23 18:48:00 +05:30
Arpit Jalan
25a14fcba8 Update Translations 2016-08-10 23:08:10 +05:30
Guo Xiang Tan
8213da20f2 Extract polls edit window to a site settings. 2016-08-10 15:17:16 +08:00
Neil Lalonde
f1bfc74e79 Update translations 2016-08-05 14:39:55 -04:00
Neil Lalonde
6a8f57d602 Update translations 2016-07-27 17:55:28 -04:00
Neil Lalonde
a3f39866ab Update translations using temporary workaround for Transifex bugs 2016-07-27 13:29:13 -04:00
Arpit Jalan
5a77f558ee Update Translations 2016-07-11 20:27:50 +05:30
Guo Xiang Tan
3cb8bbb851 UX: Automatically generate poll name for poll builder. 2016-07-05 22:15:52 +08:00
Arpit Jalan
342783e716 Update Translations 2016-06-30 13:47:13 +05:30
Neil Lalonde
db2bc41110 Update translations 2016-06-21 11:16:31 -04:00
Jeff Atwood
94df22564f shorter poll copy 2016-06-19 22:55:10 -07:00
Jeff Atwood
a486d7e95b minor copyedit on poll 2016-06-19 22:44:49 -07:00
Jeff Atwood
5e8d1549a4 minor copyedit on polls 2016-06-17 23:37:02 -07:00
Jeff Atwood
54032ffd2c copyedit: go with {verb} {noun} for gear actions 2016-06-17 15:54:30 -07:00
Jeff Atwood
01347dfbe2 very minor copyedit 2016-06-16 15:27:08 -07:00
Guo Xiang Tan
fd91a8eee6
Bunch of UX changes for polls builder. 2016-06-15 23:47:19 +08:00
Guo Xiang Tan
8d46727d67
FEATURE: Poll UI Builder. 2016-06-15 11:14:24 +08:00
Guo Xiang Tan
a36203ff78
PERF: Paginate public polls. 2016-06-12 16:14:53 +08:00
Guo Xiang Tan
5a03eca74a
UX: Add info when poll is public. 2016-06-09 22:15:08 +08:00
Guo Xiang Tan
f53494f102 FIX: Polls with votes cannot be made public. 2016-06-09 12:10:27 +08:00
Arpit Jalan
4f4c1b54ba Update Translations 2016-06-04 00:15:03 +05:30
Arpit Jalan
e489af0b50 add Estonian language files 2016-06-01 15:25:21 +05:30
Neil Lalonde
7050042088 Update translations 2016-05-26 11:50:15 -04:00
Arpit Jalan
e8623ccd92 Update Translations 2016-05-09 23:39:52 +05:30
Neil Lalonde
b1f798f119 Update translations 2016-05-04 14:22:15 -04:00
Neil Lalonde
e63e296761 Update translations 2016-04-20 19:18:07 -04:00
Neil Lalonde
a2501bfee5 Update Translations 2016-04-07 12:11:30 -04:00
Arpit Jalan
ddebd76c44 Update Translations 2016-03-23 22:25:29 +05:30
Manel Villar
6a2fe44e51 Support for Galician language added 2016-03-22 16:42:54 +01:00
Neil Lalonde
9f30a28a8e Update translations 2016-03-17 11:01:02 -04:00
Arpit Jalan
bdb290ccdb Update Translations 2016-03-07 19:44:32 +05:30
Neil Lalonde
7e39619bc9 Update translations 2016-02-22 11:10:12 -05:00
Sam
5a47199528 Merge pull request #3947 from khoa-le/update-locale-vietnamese
Add locale for Vietnamese
2016-02-22 11:41:37 +11:00
Neil Lalonde
71a87bea0c Update translations 2016-02-04 13:35:14 -05:00
Arpit Jalan
bcc0ed7c9c Update Translations 2016-02-02 15:24:01 +05:30
Arpit Jalan
915afa703d Update Translations 2016-01-26 23:41:00 +05:30
Khoa, Le Ngoc
06e637fc4a Merge remote-tracking branch 'upstream/master' into update-locale-vietnamese
* upstream/master: (185 commits)
  SECURITY: Upgrade rails.
  FIX: new user summary page was broken
  Version bump to v1.5.0.beta9
  Remove addressable from Discourse.
  UX: change glyph when inviting existing user to a topic
  FIX: Allow for large free disk space
  Revert "FIX: disk_space should be a BigDecimal to handle large disk (closes #3923)"
  UX: improve styling of messages and mobile view of messages
  FIX: correct counts on user summary
  FIX: link to filtered down list of badges from summary FEATURE: pick featured badges in summary page
  FIX: do not allow new email to be duplicate FIX: return proper error message when email already exists
  retain unactivated accounts a bit longer default
  FEATURE: blocked users can send and reply to private messages from staff
  Remove Arel patch that has been merged upstream.
  correct path
  little typo
  FIX: Missing tag in CSS.
  PERF: remove 10-20ms of work from every page view
  FIX: remove green background for wiki (this can be re-added via a customization if needed)
  Hotfix for unsubscribe via email
  ...

# Conflicts:
#	.tx/config
2016-01-26 12:44:29 +07:00
Khoa, Le Ngoc
003399bf96 Update translation code 2016-01-22 14:54:48 +07:00
Régis Hanol
fc3bedaaed Merge pull request #3921 from gschlager/locale-sk
Add Slovak locale
2016-01-20 15:38:48 +01:00
Arpit Jalan
bfa4e6b69c Update Translations 2016-01-19 01:29:19 +05:30
Neil Lalonde
d732c0876a Update translations 2016-01-08 15:50:00 -05:00
Arpit Jalan
593c22eda1 Update Translations 2016-01-04 21:01:49 +05:30
root
e0ffce1cad Add locale for Vietnamese 2016-01-03 10:05:28 +00:00
Arpit Jalan
90d15ba588 Update Translations 2015-12-29 23:16:17 +05:30
Arpit Jalan
47410f1b99 Update Translations 2015-12-23 17:01:43 +05:30
Neil Lalonde
fe10f3e0a3 Update translations 2015-12-18 10:48:02 -05:00
Gerhard Schlager
e56f8fa471 Add Slovak locale 2015-12-14 21:55:36 +01:00
Arpit Jalan
b227897c44 Update Translations 2015-12-07 23:29:32 +05:30
Arpit Jalan
04593b8fef Update Translations 2015-12-01 01:09:45 +05:30
Arpit Jalan
bde05fd334 Update Translations 2015-11-23 19:25:06 +05:30
Arpit Jalan
6ec336e56f Update Translations 2015-11-20 23:26:48 +05:30
Arpit Jalan
951bfb6186 Update Translations 2015-11-09 21:14:02 +05:30
Arpit Jalan
a44c2f6ea3 Update Translations 2015-11-02 17:49:57 +05:30
Arpit Jalan
574805b682 Update Translations 2015-10-30 18:16:52 +05:30
Arpit Jalan
c3cadbb4d8 Update Translations 2015-10-26 22:38:34 +05:30
Régis Hanol
515fc49727 FIX: replace polls with a link in emails 2015-10-22 19:10:07 +02:00
Arpit Jalan
717be06f17 Update Translations 2015-10-20 23:11:42 +05:30
Arpit Jalan
06f616792d Update Translations 2015-10-15 18:19:04 +05:30
Arpit Jalan
43cd0912e6 Update Translations 2015-10-11 02:11:28 +11:00
Neil Lalonde
1e5ad6f219 Update translations 2015-10-02 10:40:28 -04:00
Arpit Jalan
a2e8e5f90b Update Translations 2015-09-29 12:30:01 +05:30
Gerhard Schlager
bb52042b46 FIX: Add missing pluralization keys to poll plugin locale 2015-09-27 21:36:57 +02:00
Régis Hanol
26c743a962 FIX: disable poll dialect when poll plugin is disabled 2015-09-14 20:11:03 +02:00
Arpit Jalan
b8c3187a94 Update Translations 2015-08-31 22:19:30 +05:30
Arpit Jalan
e1575746f2 Update Translations 2015-08-20 17:33:13 +05:30
Arpit Jalan
73f547b019 Update Translations 2015-08-10 23:41:05 +05:30
Arpit Jalan
e53bf294ef Update Translations 2015-08-04 13:17:39 +05:30
Arpit Jalan
62a59ef7c0 Update Translations 2015-07-30 22:41:12 +05:30
Arpit Jalan
e01d196bda Update Translations 2015-07-22 22:57:18 +05:30
Luke GB
9f31c3d235 Expose poll_maximum_options to client
At present this doesn't actually seem to be exposed to the client.

I discovered this by accident whilst trying to write my own plugin:

7b6d6b76eb/app/models/site_setting.rb (L17-L18)
2015-07-19 21:41:14 +01:00
Arpit Jalan
fc977771a3 Update Translations 2015-07-16 19:18:02 +05:30
Sam
00aaa692ac Merge pull request #3574 from gschlager/patch-2
FIX: Remove invalid translation keys from polls plugin
2015-07-15 16:53:37 +10:00
Arpit Jalan
63b5a6c4e0 Update Translations 2015-07-09 18:57:52 +05:30
Neil Lalonde
9a0e4bb96e Update translations 2015-07-01 17:09:37 -04:00
Gerhard Schlager
5eaf95b328 FIX: Remove invalid translation keys from polls plugin
And it changes the file header since it was wrong.
2015-06-28 01:31:03 +02:00
Arpit Jalan
db02dbb0da Update Translations 2015-06-26 20:30:13 +05:30
Neil Lalonde
4b6cf528ce update translations 2015-06-19 11:29:13 -04:00
Arpit Jalan
6148ae8775 Update Translations 2015-06-17 22:05:22 +05:30
Arpit Jalan
436e84c6c1 Update Translations 2015-06-15 20:25:53 +05:30
Neil Lalonde
d9efb37ec7 Update translations 2015-06-11 15:35:01 -04:00
Arpit Jalan
45a7c314c2 Update Translations 2015-06-03 20:39:08 +05:30
Régis Hanol
c240a8bd80 FIX: make sure we can't vote on deleted polls 2015-06-01 22:31:47 +02:00
Arpit Jalan
1ac4e60c90 Update Translations 2015-06-01 23:33:27 +05:30
Régis Hanol
f736b6face FIX: validate poll parameters when type=multiple 2015-06-01 19:28:05 +02:00
Arpit Jalan
5880313e84 Update Translations 2015-05-26 20:08:20 +05:30
Arpit Jalan
56544f2048 Update Translations 2015-05-21 00:24:12 +05:30
Régis Hanol
d889f05480 changed default 'poll maximum options' to 20 2015-05-19 14:33:27 +02:00
Régis Hanol
764f9b42fe Merge pull request #3458 from Qasem-h/Bosnian
Add Bosnian langage for discourse
2015-05-15 14:34:16 +02:00
Neil Lalonde
1c5ea5d8ef Update translations 2015-05-12 17:38:49 -04:00
Qasem Hajizadeh
a4c69d450e Create server.bs_BA.yml 2015-05-12 16:22:06 +04:30
Qasem Hajizadeh
2ad958b796 Create client.bs_BA.yml 2015-05-12 16:21:49 +04:30
Régis Hanol
c1bb7bc7cc clarify copy when editing a poll after the first 5 minutes 2015-05-07 17:24:35 +02:00
Arpit Jalan
ee960899df Update Translations 2015-05-06 21:32:11 +05:30
Régis Hanol
90c05ff045 FIX: two-column poll 2015-05-04 22:29:45 +02:00
Régis Hanol
86d7412f30 REFACTOR: rename "total_votes" poll field to the more accurate "voters"
FEATURE: automagically load plugin's migrations
2015-05-04 16:01:57 +02:00
Régis Hanol
2954c99a1e FEATURE: new 'poll_maximum_options' site setting to limit the number of options in a poll 2015-05-01 16:44:51 +02:00
Régis Hanol
f83638c154 FIX: check the selected options when casting a vote 2015-05-01 16:33:24 +02:00
Arpit Jalan
787b30c354 Update Translations 2015-04-29 22:38:29 +05:30
Régis Hanol
c10a8d481d poll copy 2015-04-29 12:25:54 +02:00
Régis Hanol
a737090442 - FEATURE: revamped poll plugin
- add User.staff scope
- inject MessageBus into Ember views (so it can be used by the poll plugin)
- REFACTOR: use more accurate is_first_post? method instead of post_number == 1
- FEATURE: add support for JSON-typed custom fields
- FEATURE: allow plugins to add validation
- FEATURE: add post_custom_fields to PostSerializer
- FEATURE: allow plugins to whitelist post_custom_fields
- FIX: don't bump when post did not save successfully
- FEATURE: polls are supported in any post
- FEATURE: allow for multiple polls in the same post
- FEATURE: multiple choice polls
- FEATURE: rating polls
- FEATURE: new dialect allowing users to preview polls in the composer
2015-04-23 19:33:29 +02:00
Arpit Jalan
8623f179ff Update Translations 2015-04-09 20:58:06 +05:30
Qasem Hajizadeh
879296f10f Create server.fa_IR.yml 2015-04-02 03:00:16 +04:30
Qasem Hajizadeh
c623403dcc Create client.fa_IR.yml 2015-04-02 03:00:00 +04:30
Arpit Jalan
ade082c072 Update Translations 2015-03-02 21:59:07 +05:30
Arpit Jalan
253ba977ef Update Translations 2015-02-25 22:47:17 +05:30
Arpit Jalan
5c61661b7c Update Translations 2015-02-19 21:41:24 +05:30
Arpit Jalan
439f13b040 Update Translations 2015-02-13 19:37:41 +05:30
Arpit Jalan
4c602f60c6 Add Telugu translation files 2015-02-09 20:46:31 +05:30
Arpit Jalan
fa8ba67523 Update Translations 2014-12-29 19:06:33 +05:30
Arpit Jalan
d0ddbc4cb4 Update translations 2014-12-13 00:40:01 +05:30
Arpit Jalan
02e1d17ac7 Add Turkish translation files 2014-12-12 12:13:12 +05:30
Sam
abf6871de6 Merge pull request #3027 from techAPJ/update-translations
Add missing translation files and update translations
2014-12-08 11:04:17 +11:00
khalid al-hussayen
9fc0a3f6f9 add arabic local files 2014-12-07 23:05:24 +03:00
Arpit Jalan
45c2a24075 Update Translations 2014-12-07 22:32:13 +05:30
Arpit Jalan
dbd5823881 Update Translations 2014-11-17 21:35:06 +05:30
Neil Lalonde
718854f055 Update translations 2014-10-30 17:30:05 -04:00
Arpit Jalan
d0cf73f105 Update Translations 2014-10-23 20:15:56 +05:30
Arpit Jalan
8bd2bf9f29 Update Translations 2014-10-19 21:37:25 +05:30
Arpit Jalan
92efee088e Add missing transation files and update translations 2014-10-16 23:25:34 +05:30
Arpit Jalan
6989557a26 Update Translations 2014-09-30 19:53:17 +05:30
Arpit Jalan
6455dc7580 Add pl_PL translations for Poll plugin and update translations 2014-09-14 23:52:24 +05:30
Neil Lalonde
638cd6e7c9 Update translations 2014-09-10 12:32:27 -04:00
Gerhard Schlager
d49a2bf075 UX: Add missing German locale files 2014-08-29 21:15:08 +02:00
Arpit Jalan
2820bd34da Update Translations 2014-08-01 20:02:56 +05:30
Arpit Jalan
f8255f4443 Update translations 2014-05-22 22:28:47 +05:30
Neil Lalonde
f111e4ba56 Update translations 2014-05-14 12:37:00 -04:00
Neil Lalonde
cb2bcb89ff Update translations 2014-05-02 14:01:27 -04:00
Neil Lalonde
1156c57cf6 Update translations 2014-04-25 10:17:20 -04:00
Neil Lalonde
0f4014eef1 Update translations 2014-04-24 10:53:04 -04:00
Sébastien Miquerolle
e8e55aa9d7 Poll - Close/Open Button translation
Not yet in transifex, update manually.
2014-04-14 11:54:18 +02:00
Sam
fc1f225091 Merge pull request #2262 from vikhyat/poll-plugin
Add open/close buttons to poll UI
2014-04-14 10:54:10 +10:00
Vikhyat Korrapati
5de7d889fd Add close/open poll buttons to poll UI. 2014-04-12 22:53:21 +05:30
Neil Lalonde
543e6a7ddc Merge pull request #2251 from fantasticfears/locale
update zh_CN translation
2014-04-11 10:22:58 -04:00
Vikhyat Korrapati
2928ce6ca1 Remove the colon from the poll prefix, drop regex support.
This is needed to make it possible to programmatically toggle between
open and closed polls.
2014-04-11 08:41:37 +05:30
Erick Guan
28dd55c772 update zh_CN translation 2014-04-11 09:28:35 +08:00
Sébastien Miquerolle
1754375fcb Correct Closed Poll French Translation
Fix the locale and the \\s? position.
2014-04-10 01:12:59 -07:00
Burke Mamlin
765cf700e3 allow polls to be closed independently of topic 2014-04-08 21:16:29 -04:00
Aselox
fa7e6e81b9 Fix poll server.it.yml 2014-03-20 19:13:50 +01:00
Aselox
8b4dff9f0c Create server.it.yml 2014-03-19 17:00:20 +01:00
Aselox
5e83ac9fa4 Create client.it.yml 2014-03-19 16:54:49 +01:00
Robin Ward
7f0b181677 Merge pull request #2144 from nbalonso/spanish-translation
Poll - Spanish Translation
2014-03-19 11:18:16 -04:00
Noel B. A
1cebbbc5e3 Poll - Spanish Translation 2014-03-18 21:36:04 +03:00
Régis Hanol
5ce84eed82 Merge pull request #2134 from Onaldanm/patch-1
Poll - Topic Term
2014-03-18 17:42:43 +01:00
Sébastien Miquerolle
1f71a4d4bc Poll - Topic Term
Use topic instead of thread to keep the same term for the user.
2014-03-17 11:27:41 +01:00
Onaldanm
134af37cbd Badges, poll and french Translation
New Badges system
New string in the poll plugin + change the term "poll option"
Re-add some empty strings (like notifications.title)
And updates
2014-03-17 11:21:47 +01:00
Vikhyat Korrapati
ae3f135c33 Poll Plugin: Allow staff to edit options. 2014-03-16 19:21:17 +05:30
Vikhyat Korrapati
e4c793a7e3 Poll Plugin: Allow optional space before ":" for the French locale. 2014-03-16 19:21:17 +05:30
Régis Hanol
f8bf0fbad8 FIX: encoding on FR translations 2014-03-11 12:30:59 +01:00
Onaldanm
2a9939cf15 Poll - French Translation
French translation for the plugin Poll
2014-03-11 11:55:36 +01:00
Vikhyat Korrapati
74ab14de19 Add poll plugin. 2014-02-13 07:39:01 +05:30