~elementary-dev-community/pantheon-files/fix-1086929

« back to all changes in this revision

Viewing changes to src/View/OverlayBar.vala

  • Committer: Jeremy Wootten
  • Date: 2013-08-30 18:46:46 UTC
  • mfrom: (1258.1.54 pantheon-files)
  • Revision ID: jeremywootten@gmail.com-20130830184646-alto2wnzwgpq7dd2
Correct some formatting and merge latest trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
256
256
                      else
257
257
                      str += " (%s)".printf (format_size ((int64) sub_files_size));*/
258
258
                    if (files_count > 0)
259
 
                        str += _(" and %u other items (%s) selected").printf (files_count, format_size ((int64) files_size));
 
259
                        str += ngettext (_(" and %u other item (%s) selected").printf (files_count, format_size ((int64) files_size)),
 
260
                                         _(" and %u other items (%s) selected").printf (files_count, format_size ((int64) files_size)),
 
261
                                         files_count);
260
262
                    else
261
263
                        str += _(" selected");
262
264
                } else if (folders_count == 1) {
266
268
                      else
267
269
                      str += " (%s)".printf (format_size ((int64) sub_files_size));*/
268
270
                    if (files_count > 0)
269
 
                        str += _(" and %u other items (%s) selected").printf (files_count, format_size ((int64) files_size));
 
271
                        str += ngettext (_(" and %u other item (%s) selected").printf (files_count, format_size ((int64) files_size)),
 
272
                                         _(" and %u other items (%s) selected").printf (files_count, format_size ((int64) files_size)),
 
273
                                         files_count);
270
274
                    else
271
275
                        str += _(" selected");
272
276
                } else {