[sushi] fallbackRenderer: fix translation mark
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [sushi] fallbackRenderer: fix translation mark
- Date: Wed, 19 Jun 2019 01:25:31 +0000 (UTC)
commit a30ca806e13f3ff192fb42fc4ef5a4f53f63134c
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Tue Jun 18 18:23:29 2019 -0700
    fallbackRenderer: fix translation mark
    
    We should not use N_() here or the singular/plural forms will be
    treated as separate strings.
    
    https://gitlab.gnome.org/GNOME/sushi/issues/18
 src/ui/fallbackRenderer.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/ui/fallbackRenderer.js b/src/ui/fallbackRenderer.js
index 7e688e6..4212481 100644
--- a/src/ui/fallbackRenderer.js
+++ b/src/ui/fallbackRenderer.js
@@ -240,7 +240,7 @@ var FallbackRenderer = GObject.registerClass({
             sizeFormatted = GLib.format_size(state.fileInfo.get_size());
         } else if (state.totalSize > 0) {
             let itemsStr = Gettext.ngettext(
-                N_("%d item"), N_("%d items"),
+                "%d item", "%d items",
                 state.fileItems + state.directoryItems).
                 format(state.fileItems + state.directoryItems);
             sizeFormatted = `${GLib.format_size(state.totalSize)}, ${itemsStr}`;
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]