Cadena de traducción mala en hebreo en la configuración regional del cliente causa error fatal en el sitio

En la configuración regional hebrea config/locales/client.he.yml

    posts_likes_MF: |
      { count, plural,
          one {תגובה, }
          two {שתי תגובות, }
          many {# תגובות, }
        other {# תגובות, }
      }{ ratio, select,
          low { יחס גבוה בין פוסטים ללייקים, }
          med { יחס גבוה מאוד בין פוסטים ללייקים, }
         high { יחס גבוה במיוחד בין פוסטים ללייקים, }
        other {}
      } קפיצה לפוסט הראשון או האחרון…

la línea

          many {# תגובות, }

debe eliminarse.

many no está permitido en hebreo (ver Language Plural Rules)

El problema se puede resolver a través de la interfaz de usuario. Para lograr esto, el valor corregido debe ingresarse en /admin/customize/site_texts/js.posts_likes_MF para el idioma hebreo:

{ count, plural,
    one {תגובה, }
    two {שתי תגובות, }
   other {# תגובות, }
}{ ratio, select,
    low { יחס גבוה בין פוסטים ללייקים, }
    med { יחס גבוה מאוד בין פוסטים ללייקים, }
   high { יחס גבוה במיוחד בין פוסטים ללייקים, }
  other {}
} קפיצה לפוסט הראשון או האחרון…

Me parece un poco extraño que todo el sitio pueda quedar inutilizable al ingresar datos incorrectos en una personalización de texto.

2 Me gusta