Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Dogan Ucar

    (@dogano)

    Hi..

    just looked in the source code.. you can use “revision_count” with a static text as the “modification_times”.

    Not sure what exactly you want to do with “conditional_no”.. do you want a text depending on the number of revisions?

    Thread Starter Gahapati

    (@gahapati)

    I’m at a loss for a description in abstract terms.

    An example of how this may be applied can be found on the settings page in both the English and German versions. (The comparison of the two may provide additional clues.)

    The description states:

    You may also use some more sophisticated, conditional placeholders:

    • *modification_times* and *conditional_no*.

    With these two placeholders you should be able to formulate a single sentence to accommodate three conditions a post may have:
    having had either zero, one, or more than one modification.

    Setup Example: This document, published *publication_timestamp*, has *conditional_no* been modified *modification_times* since; last on *last_modified_timestamp*.

    The above example should render as either:

    • This document, published 10/01/2015, has not been modified again since; last on 10/01/2015.
    • This document, published 10/01/2015, has only been modified once since; last on 09/31/2016.
    • This document, published 10/01/2015, has as yet been modified 9 times since; last on 09/31/2016.

    Die deutsche Beschreibung lautet:

    Sie k?nnen auch ein Paar anspruchsvollerer, bedingter Platzhalter verwenden:

    • *modification_times* und *conditional_no*.

    Diese beiden Platzhalter erlauben es Ihnen, einen ?nderungshinweis zu formulieren, der sich drei verschiedenen m?glichen Zust?nden eines jeden Beitrags anzupassen vermag:
    entweder nie, einmal oder mehrmals bearbeitet worden zu sein.

    Beispiel-Formulierung: Dieses Dokument vom *publication_timestamp* wurde seitdem *conditional_no* *modification_times* bearbeitet; zuletzt am *last_modified_timestamp*.

    Obiges Beispiel würde etwa ergeben:

    • Dieses Dokument vom 01.10.2015 wurde seitdem nicht mehr bearbeitet; zuletzt am 01.10.2015.
    • Dieses Dokument vom 01.10.2015 wurde seitdem genau einmal bearbeitet; zuletzt am 31.09.2016.
    • Dieses Dokument vom 01.10.2015 wurde seitdem bisher 9-mal bearbeitet; zuletzt am 31.09.2016.
    • This reply was modified 7 years, 11 months ago by Gahapati. Reason: Formatting
    • This reply was modified 7 years, 11 months ago by Gahapati. Reason: Formatting
    • This reply was modified 7 years, 11 months ago by Gahapati. Reason: Formatting
    • This reply was modified 7 years, 11 months ago by Gahapati. Reason: Minor Addition
    Plugin Author Dogan Ucar

    (@dogano)

    I think the “conditional_no” does not make sense because the way to describe this is different in other languages..

    the “modification_times” shortcut is the same like “revision_count”…

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Minor Additions’ is closed to new replies.