Created
April 2, 2014 15:34
-
-
Save valera-rozuvan/9936536 to your computer and use it in GitHub Desktop.
ngettext
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-*- mode: grep; default-directory: "~/devstack8/edx-platform/" -*- | |
Grep started at Wed Apr 2 17:53:26 | |
grep -i -r "ngettext" . | |
./cms/static/xmodule_js/common_static/coffee/src/discussion/views/discussion_content_view.coffee: ngettext( | |
./cms/static/xmodule_js/common_static/coffee/src/discussion/views/discussion_content_view.coffee: ngettext( | |
./cms/static/xmodule_js/common_static/coffee/src/discussion/views/discussion_thread_list_view.coffee: ngettext('%(unread_count)s new comment', '%(unread_count)s new comments', unreadCount), | |
./cms/static/xmodule_js/common_static/coffee/src/discussion/views/discussion_thread_view.coffee: ngettext( | |
./cms/static/xmodule_js/common_static/coffee/src/discussion/views/discussion_thread_view.coffee: ngettext( | |
./cms/static/xmodule_js/common_static/js/src/jquery.timeago.locale.js: minutes: function(value) { return ngettext("%d minute", "%d minutes", value)}, | |
./cms/static/xmodule_js/common_static/js/src/jquery.timeago.locale.js: hours: function(value) { return ngettext("about %d hour", "about %d hours", value) }, | |
./cms/static/xmodule_js/common_static/js/src/jquery.timeago.locale.js: days: function(value) { return ngettext("%d day", "%d days", value) }, | |
./cms/static/xmodule_js/common_static/js/src/jquery.timeago.locale.js: months: function(value) { return ngettext("%d month", "%d months", value) }, | |
./cms/static/xmodule_js/common_static/js/src/jquery.timeago.locale.js: years: function(value) { return ngettext("%d year", "%d years", value) }, | |
./cms/static/xmodule_js/common_static/js/test/i18n.js: this.ngettext = function (singular, plural, num) { | |
./cms/static/xmodule_js/common_static/js/vendor/mathjax-MathJax-c9db6ac/docs/html/_static/doctools.js: // gettext and ngettext don't access this so that the functions | |
./cms/static/xmodule_js/common_static/js/vendor/mathjax-MathJax-c9db6ac/docs/html/_static/doctools.js: ngettext : function(singular, plural, n) { | |
./cms/static/xmodule_js/src/capa/display.coffee: progress_template = ngettext('(%(earned)s/%(possible)s point)', '(%(earned)s/%(possible)s points)', possible) | |
./cms/static/xmodule_js/src/capa/display.coffee: progress_template = ngettext("(%(num_points)s point possible)", "(%(num_points)s points possible)", possible) | |
./cms/static/xmodule_js/src/video/06_video_progress_slider.js: msg = ngettext('%(value)s hour', '%(value)s hours', value); | |
./cms/static/xmodule_js/src/video/06_video_progress_slider.js: msg = ngettext('%(value)s minute', '%(value)s minutes', value); | |
./cms/static/xmodule_js/src/video/06_video_progress_slider.js: msg = ngettext('%(value)s second', '%(value)s seconds', value); | |
./common/lib/xmodule/xmodule/js/common_static/coffee/src/discussion/views/discussion_content_view.coffee: ngettext( | |
./common/lib/xmodule/xmodule/js/common_static/coffee/src/discussion/views/discussion_content_view.coffee: ngettext( | |
./common/lib/xmodule/xmodule/js/common_static/coffee/src/discussion/views/discussion_thread_list_view.coffee: ngettext('%(unread_count)s new comment', '%(unread_count)s new comments', unreadCount), | |
./common/lib/xmodule/xmodule/js/common_static/coffee/src/discussion/views/discussion_thread_view.coffee: ngettext( | |
./common/lib/xmodule/xmodule/js/common_static/coffee/src/discussion/views/discussion_thread_view.coffee: ngettext( | |
./common/lib/xmodule/xmodule/js/common_static/js/src/jquery.timeago.locale.js: minutes: function(value) { return ngettext("%d minute", "%d minutes", value)}, | |
./common/lib/xmodule/xmodule/js/common_static/js/src/jquery.timeago.locale.js: hours: function(value) { return ngettext("about %d hour", "about %d hours", value) }, | |
./common/lib/xmodule/xmodule/js/common_static/js/src/jquery.timeago.locale.js: days: function(value) { return ngettext("%d day", "%d days", value) }, | |
./common/lib/xmodule/xmodule/js/common_static/js/src/jquery.timeago.locale.js: months: function(value) { return ngettext("%d month", "%d months", value) }, | |
./common/lib/xmodule/xmodule/js/common_static/js/src/jquery.timeago.locale.js: years: function(value) { return ngettext("%d year", "%d years", value) }, | |
./common/lib/xmodule/xmodule/js/common_static/js/test/i18n.js: this.ngettext = function (singular, plural, num) { | |
./common/lib/xmodule/xmodule/js/common_static/js/vendor/mathjax-MathJax-c9db6ac/docs/html/_static/doctools.js: // gettext and ngettext don't access this so that the functions | |
./common/lib/xmodule/xmodule/js/common_static/js/vendor/mathjax-MathJax-c9db6ac/docs/html/_static/doctools.js: ngettext : function(singular, plural, n) { | |
./common/lib/xmodule/xmodule/js/src/capa/display.coffee: progress_template = ngettext('(%(earned)s/%(possible)s point)', '(%(earned)s/%(possible)s points)', possible) | |
./common/lib/xmodule/xmodule/js/src/capa/display.coffee: progress_template = ngettext("(%(num_points)s point possible)", "(%(num_points)s points possible)", possible) | |
./common/lib/xmodule/xmodule/js/src/video/06_video_progress_slider.js: msg = ngettext('%(value)s hour', '%(value)s hours', value); | |
./common/lib/xmodule/xmodule/js/src/video/06_video_progress_slider.js: msg = ngettext('%(value)s minute', '%(value)s minutes', value); | |
./common/lib/xmodule/xmodule/js/src/video/06_video_progress_slider.js: msg = ngettext('%(value)s second', '%(value)s seconds', value); | |
./common/lib/xmodule/xmodule/modulestore/django.py: has ugettext, ungettext, etc), so we can use it directly as the runtime | |
./common/static/coffee/src/discussion/views/discussion_content_view.coffee: ngettext( | |
./common/static/coffee/src/discussion/views/discussion_content_view.coffee: ngettext( | |
./common/static/coffee/src/discussion/views/discussion_thread_list_view.coffee: ngettext('%(unread_count)s new comment', '%(unread_count)s new comments', unreadCount), | |
./common/static/coffee/src/discussion/views/discussion_thread_view.coffee: ngettext( | |
./common/static/coffee/src/discussion/views/discussion_thread_view.coffee: ngettext( | |
./common/static/js/src/jquery.timeago.locale.js: minutes: function(value) { return ngettext("%d minute", "%d minutes", value)}, | |
./common/static/js/src/jquery.timeago.locale.js: hours: function(value) { return ngettext("about %d hour", "about %d hours", value) }, | |
./common/static/js/src/jquery.timeago.locale.js: days: function(value) { return ngettext("%d day", "%d days", value) }, | |
./common/static/js/src/jquery.timeago.locale.js: months: function(value) { return ngettext("%d month", "%d months", value) }, | |
./common/static/js/src/jquery.timeago.locale.js: years: function(value) { return ngettext("%d year", "%d years", value) }, | |
./common/static/js/test/i18n.js: this.ngettext = function (singular, plural, num) { | |
./common/static/js/vendor/mathjax-MathJax-c9db6ac/docs/html/_static/doctools.js: // gettext and ngettext don't access this so that the functions | |
./common/static/js/vendor/mathjax-MathJax-c9db6ac/docs/html/_static/doctools.js: ngettext : function(singular, plural, n) { | |
./docs/en_us/developers/source/i18n.rst: from django.utils.translation import ungettext | |
./docs/en_us/developers/source/i18n.rst: msg = ungettext("There is {file_count} file", "There are {file_count} files", count) | |
./i18n/dummy.py: # Apply declaration for English pluralization rules so that ngettext will | |
./lms/static/admin/js/actions.js: ngettext('%(sel)s of %(cnt)s selected', '%(sel)s of %(cnt)s selected', sel), { | |
./lms/static/admin/js/actions.min.js:(function(a){a.fn.actions=function(g){var b=a.extend({},a.fn.actions.defaults,g),f=a(this),e=!1;checker=function(c){c?showQuestion():reset();a(f).attr("checked",c).parent().parent().toggleClass(b.selectedClass,c)};updateCounter=function(){var c=a(f).filter(":checked").length;a(b.counterContainer).html(interpolate(ngettext("%(sel)s of %(cnt)s selected","%(sel)s of %(cnt)s selected",c),{sel:c,cnt:_actions_icnt},!0));a(b.allToggle).attr("checked",function(){c==f.length?(value=!0,showQuestion()):(value= | |
./lms/static/xmodule_js/common_static/coffee/src/discussion/views/discussion_content_view.coffee: ngettext( | |
./lms/static/xmodule_js/common_static/coffee/src/discussion/views/discussion_content_view.coffee: ngettext( | |
./lms/static/xmodule_js/common_static/coffee/src/discussion/views/discussion_thread_list_view.coffee: ngettext('%(unread_count)s new comment', '%(unread_count)s new comments', unreadCount), | |
./lms/static/xmodule_js/common_static/coffee/src/discussion/views/discussion_thread_view.coffee: ngettext( | |
./lms/static/xmodule_js/common_static/coffee/src/discussion/views/discussion_thread_view.coffee: ngettext( | |
./lms/static/xmodule_js/common_static/js/src/jquery.timeago.locale.js: minutes: function(value) { return ngettext("%d minute", "%d minutes", value)}, | |
./lms/static/xmodule_js/common_static/js/src/jquery.timeago.locale.js: hours: function(value) { return ngettext("about %d hour", "about %d hours", value) }, | |
./lms/static/xmodule_js/common_static/js/src/jquery.timeago.locale.js: days: function(value) { return ngettext("%d day", "%d days", value) }, | |
./lms/static/xmodule_js/common_static/js/src/jquery.timeago.locale.js: months: function(value) { return ngettext("%d month", "%d months", value) }, | |
./lms/static/xmodule_js/common_static/js/src/jquery.timeago.locale.js: years: function(value) { return ngettext("%d year", "%d years", value) }, | |
./lms/static/xmodule_js/common_static/js/test/i18n.js: this.ngettext = function (singular, plural, num) { | |
./lms/static/xmodule_js/common_static/js/vendor/mathjax-MathJax-c9db6ac/docs/html/_static/doctools.js: // gettext and ngettext don't access this so that the functions | |
./lms/static/xmodule_js/common_static/js/vendor/mathjax-MathJax-c9db6ac/docs/html/_static/doctools.js: ngettext : function(singular, plural, n) { | |
./lms/static/xmodule_js/src/capa/display.coffee: progress_template = ngettext('(%(earned)s/%(possible)s point)', '(%(earned)s/%(possible)s points)', possible) | |
./lms/static/xmodule_js/src/capa/display.coffee: progress_template = ngettext("(%(num_points)s point possible)", "(%(num_points)s points possible)", possible) | |
./lms/static/xmodule_js/src/video/06_video_progress_slider.js: msg = ngettext('%(value)s hour', '%(value)s hours', value); | |
./lms/static/xmodule_js/src/video/06_video_progress_slider.js: msg = ngettext('%(value)s minute', '%(value)s minutes', value); | |
./lms/static/xmodule_js/src/video/06_video_progress_slider.js: msg = ngettext('%(value)s second', '%(value)s seconds', value); | |
./lms/templates/combinedopenended/openended/open_ended_combined_rubric.html:<%! from django.utils.translation import ungettext %> | |
./lms/templates/combinedopenended/openended/open_ended_combined_rubric.html: points_earned_msg = ungettext( | |
./lms/templates/combinedopenended/openended/open_ended_rubric.html:<%! from django.utils.translation import ungettext%> | |
./lms/templates/combinedopenended/openended/open_ended_rubric.html: <span class="wrappable">${ungettext( | |
./lms/templates/discussion/_user_profile.html:<%! from django.utils.translation import ugettext as _, ungettext %> | |
./lms/templates/discussion/_user_profile.html: <div class="sidebar-threads-count">${ungettext('%s discussion started', '%s discussions started', profiled_user['threads_count']) % span(profiled_user['threads_count']) | h}</div> | |
./lms/templates/discussion/_user_profile.html: <div class="sidebar-comments-count">${ungettext('%s comment', '%s comments', profiled_user['comments_count']) % span(profiled_user['comments_count']) | h}</div> | |
Grep finished (matches found) at Wed Apr 2 17:54:00 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment