{"id":1535915,"date":"2018-05-22T06:06:30","date_gmt":"2018-05-22T13:06:30","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/rewording-tickets-left-to-places-left\/"},"modified":"2018-05-22T06:06:30","modified_gmt":"2018-05-22T13:06:30","slug":"rewording-tickets-left-to-places-left","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/rewording-tickets-left-to-places-left\/","title":{"rendered":"Rewording &quot;tickets left&quot; to &quot;places left&quot;"},"content":{"rendered":"<p>Hi Guys<\/p>\n<p>I&#8217;ve read the <a href=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/is-it-possible-to-call-tickets-something-else-places-for-example\/\">previous ticket<\/a> on this topic, basically how to reword &#8220;ticket&#8221; to something else like &#8220;place&#8221;.<\/p>\n<p>Using the <a href=\"https:\/\/theeventscalendar.com\/knowledgebase\/change-the-wording-of-any-bit-of-text-or-string\/\">Change the wording of any bit of text or string<\/a> snippet didn&#8217;t work, as the text &#8220;%s places left&#8221; in tickets.php doesn&#8217;t seem to use gettext() &#8211; line 220, \/event-tickts\/src\/template-tags\/tickets.php<\/p>\n<pre><code>\nif ( &#039;rsvp&#039; === $type ) {\n\t$text = _n( &#039;%s spot left&#039;, &#039;%s spots left&#039;, $stock, &#039;event-tickets&#039; );\n} else {\n\t$text = _n( &#039;%s ticket left&#039;, &#039;%s tickets left&#039;, $stock, &#039;event-tickets&#039; );\n}\n\n$stock_html = &#039;&lt;span class=&quot;tribe-tickets-left&quot;&gt;&#039;\n\t. esc_html( sprintf( $text, $number ) )\n\t. &#039;&lt;\/span&gt;&#039;;\n<\/code><\/pre>\n<p>Is it possible to make a modified copy of this file as is done with other templated files in \/src\/view? or is there another way to make this sort of change?<\/p>\n<p>Cheers<\/p>\n","protected":false},"template":"","class_list":["post-1535915","topic","type-topic","status-closed","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Rewording &quot;tickets left&quot; to &quot;places left&quot; -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/rewording-tickets-left-to-places-left\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Rewording &quot;tickets left&quot; to &quot;places left&quot; -\" \/>\n<meta property=\"og:description\" content=\"Hi Guys I&#8217;ve read the previous ticket on this topic, basically how to reword &#8220;ticket&#8221; to something else like &#8220;place&#8221;. Using the Change the wording of any bit of text or string snippet didn&#8217;t work, as the text &#8220;%s places left&#8221; in tickets.php doesn&#8217;t seem to use gettext() &#8211; line 220, \/event-tickts\/src\/template-tags\/tickets.php if ( &#039;rsvp&#039; [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/rewording-tickets-left-to-places-left\/\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/rewording-tickets-left-to-places-left\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/rewording-tickets-left-to-places-left\/\",\"name\":\"Rewording &quot;tickets left&quot; to &quot;places left&quot; -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2018-05-22T13:06:30+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/rewording-tickets-left-to-places-left\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/rewording-tickets-left-to-places-left\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/rewording-tickets-left-to-places-left\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/theeventscalendar.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Topics\",\"item\":\"https:\/\/theeventscalendar.com\/support\/topics\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Ticket Products\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/event-tickets\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Event Tickets Plus\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/event-tickets\/event-tickets-plus\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Rewording &quot;tickets left&quot; to &quot;places left&quot;\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\",\"url\":\"https:\/\/theeventscalendar.com\/support\/\",\"name\":\"\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Rewording &quot;tickets left&quot; to &quot;places left&quot; -","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/rewording-tickets-left-to-places-left\/","og_locale":"en_US","og_type":"article","og_title":"Rewording &quot;tickets left&quot; to &quot;places left&quot; -","og_description":"Hi Guys I&#8217;ve read the previous ticket on this topic, basically how to reword &#8220;ticket&#8221; to something else like &#8220;place&#8221;. Using the Change the wording of any bit of text or string snippet didn&#8217;t work, as the text &#8220;%s places left&#8221; in tickets.php doesn&#8217;t seem to use gettext() &#8211; line 220, \/event-tickts\/src\/template-tags\/tickets.php if ( &#039;rsvp&#039; [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/rewording-tickets-left-to-places-left\/","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/rewording-tickets-left-to-places-left\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/rewording-tickets-left-to-places-left\/","name":"Rewording &quot;tickets left&quot; to &quot;places left&quot; -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2018-05-22T13:06:30+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/rewording-tickets-left-to-places-left\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/rewording-tickets-left-to-places-left\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/rewording-tickets-left-to-places-left\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/theeventscalendar.com\/support\/"},{"@type":"ListItem","position":2,"name":"Topics","item":"https:\/\/theeventscalendar.com\/support\/topics\/"},{"@type":"ListItem","position":3,"name":"Ticket Products","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/event-tickets\/"},{"@type":"ListItem","position":4,"name":"Event Tickets Plus","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/event-tickets\/event-tickets-plus\/"},{"@type":"ListItem","position":5,"name":"Rewording &quot;tickets left&quot; to &quot;places left&quot;"}]},{"@type":"WebSite","@id":"https:\/\/theeventscalendar.com\/support\/#website","url":"https:\/\/theeventscalendar.com\/support\/","name":"","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1535915","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1535915\/revisions"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1535915"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}