okra pushed a commit to branch master.

http://git.enlightenment.org/apps/ephoto.git/commit/?id=89bd893b4ca8a7d98fdc8a5a63fb3c82953db889

commit 89bd893b4ca8a7d98fdc8a5a63fb3c82953db889
Author: Stephen Houston <smhousto...@gmail.com>
Date:   Mon Aug 10 16:51:37 2015 -0500

    Ephoto: Remove plural s for English.
---
 src/bin/ephoto_single_browser.c | 10 +++++-----
 src/bin/ephoto_thumb_browser.c  | 12 ++++++------
 2 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/src/bin/ephoto_single_browser.c b/src/bin/ephoto_single_browser.c
index ee7c491..dc83825 100644
--- a/src/bin/ephoto_single_browser.c
+++ b/src/bin/ephoto_single_browser.c
@@ -515,23 +515,23 @@ _ephoto_get_file_size(const char *path)
    size_t size = eina_file_size_get(f);
    eina_file_close(f);
    double dsize = (double)size;
-   if (dsize < 1024.0) snprintf(isize, sizeof(isize), "%'.0f%s", dsize, 
ngettext("B", "Bs", dsize));
+   if (dsize < 1024.0) snprintf(isize, sizeof(isize), "%'.0f%s", dsize, 
ngettext("B", "B", dsize));
    else
      {
         dsize /= 1024.0;
-        if (dsize < 1024) snprintf(isize, sizeof(isize), "%'.0f%s", dsize, 
ngettext("KB", "KBs", dsize));
+        if (dsize < 1024) snprintf(isize, sizeof(isize), "%'.0f%s", dsize, 
ngettext("KB", "KB", dsize));
         else
           {
              dsize /= 1024.0;
-             if (dsize < 1024) snprintf(isize, sizeof(isize), "%'.1f%s", 
dsize, ngettext("MB", "MBs", dsize));
+             if (dsize < 1024) snprintf(isize, sizeof(isize), "%'.1f%s", 
dsize, ngettext("MB", "MB", dsize));
              else
                {
                   dsize /= 1024.0;
-                  if (dsize < 1024) snprintf(isize, sizeof(isize), "%'.1f%s", 
dsize, ngettext("GB", "GBs", dsize));
+                  if (dsize < 1024) snprintf(isize, sizeof(isize), "%'.1f%s", 
dsize, ngettext("GB", "GB", dsize));
                   else
                     {
                        dsize /= 1024.0;
-                       snprintf(isize, sizeof(isize), "%'.1f%s", dsize, 
ngettext("TB", "TBs", dsize));
+                       snprintf(isize, sizeof(isize), "%'.1f%s", dsize, 
ngettext("TB", "TB", dsize));
                     }
                }
           }
diff --git a/src/bin/ephoto_thumb_browser.c b/src/bin/ephoto_thumb_browser.c
index 59ed238..bc0f761 100644
--- a/src/bin/ephoto_thumb_browser.c
+++ b/src/bin/ephoto_thumb_browser.c
@@ -698,7 +698,7 @@ _ephoto_thumb_populate_end(void *data, int type 
EINA_UNUSED, void *event EINA_UN
              evas_object_size_hint_align_set(tb->nolabel, EVAS_HINT_FILL, 
EVAS_HINT_FILL);
              elm_table_pack(tb->table, tb->nolabel, 0, 0, 4, 1);
              evas_object_show(tb->nolabel);
-             snprintf(buf, PATH_MAX, "<b>%s:</b> 0 %s        <b>%s:</b> 0%s", 
_("Total"), ngettext("image", "images", 0), _("Size"), ngettext("B", "Bs", 0));
+             snprintf(buf, PATH_MAX, "<b>%s:</b> 0 %s        <b>%s:</b> 0%s", 
_("Total"), ngettext("image", "images", 0), _("Size"), ngettext("B", "B", 0));
              elm_object_text_set(tb->infolabel, buf);
           }
      }
@@ -713,23 +713,23 @@ _ephoto_thumb_populate_end(void *data, int type 
EINA_UNUSED, void *event EINA_UN
         char isize[PATH_MAX];
         char image_info[PATH_MAX];
 
-        if (tb->totsize < 1024.0) snprintf(isize, sizeof(isize), "%'.0f%s", 
tb->totsize, ngettext("B", "Bs", tb->totsize));
+        if (tb->totsize < 1024.0) snprintf(isize, sizeof(isize), "%'.0f%s", 
tb->totsize, ngettext("B", "B", tb->totsize));
         else
           {
              tb->totsize /= 1024.0;
-             if (tb->totsize < 1024) snprintf(isize, sizeof(isize), "%'.0f%s", 
tb->totsize, ngettext("KB", "KBs", tb->totsize));
+             if (tb->totsize < 1024) snprintf(isize, sizeof(isize), "%'.0f%s", 
tb->totsize, ngettext("KB", "KB", tb->totsize));
              else
                {
                   tb->totsize /= 1024.0;
-                  if (tb->totsize < 1024) snprintf(isize, sizeof(isize), 
"%'.1f%s", tb->totsize, ngettext("MB", "MBs", tb->totsize));
+                  if (tb->totsize < 1024) snprintf(isize, sizeof(isize), 
"%'.1f%s", tb->totsize, ngettext("MB", "MB", tb->totsize));
                   else
                     {
                        tb->totsize /= 1024.0;
-                       if (tb->totsize < 1024) snprintf(isize, sizeof(isize), 
"%'.1f%s", tb->totsize, ngettext("GB", "GBs", tb->totsize));
+                       if (tb->totsize < 1024) snprintf(isize, sizeof(isize), 
"%'.1f%s", tb->totsize, ngettext("GB", "GB", tb->totsize));
                        else
                          {
                             tb->totsize /= 1024.0;
-                            snprintf(isize, sizeof(isize), "%'.1f%s", 
tb->totsize, ngettext("TB", "TBs", tb->totsize));
+                            snprintf(isize, sizeof(isize), "%'.1f%s", 
tb->totsize, ngettext("TB", "TB", tb->totsize));
                          }
                     }
                }

-- 


Reply via email to