mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-25 18:55:44 +03:00
Update copy: s/status/post
This commit is contained in:
parent
1dc533b62a
commit
6532b97a44
7 changed files with 16 additions and 16 deletions
|
@ -295,7 +295,7 @@ function App() {
|
|||
if (newStatus) {
|
||||
states.reloadStatusPage++;
|
||||
showToast({
|
||||
text: 'Status posted. Check it out.',
|
||||
text: 'Post published. Check it out.',
|
||||
delay: 1000,
|
||||
duration: 10_000, // 10 seconds
|
||||
onClick: (toast) => {
|
||||
|
|
|
@ -521,7 +521,7 @@ function RelatedActions({ info, instance, authenticated }) {
|
|||
<span class="tag">Following you</span>
|
||||
) : !!lastStatusAt ? (
|
||||
<small class="insignificant">
|
||||
Last status:{' '}
|
||||
Last post:{' '}
|
||||
{niceDateTime(lastStatusAt, {
|
||||
hideTime: true,
|
||||
})}
|
||||
|
|
|
@ -642,14 +642,14 @@ function Compose({
|
|||
<div class="status-preview-legend reply-to">
|
||||
Replying to @
|
||||
{replyToStatus.account.acct || replyToStatus.account.username}
|
||||
’s status
|
||||
’s post
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
{!!editStatus && (
|
||||
<div class="status-preview">
|
||||
<Status status={editStatus} size="s" previewMode />
|
||||
<div class="status-preview-legend">Editing source status</div>
|
||||
<div class="status-preview-legend">Editing source post</div>
|
||||
</div>
|
||||
)}
|
||||
<form
|
||||
|
@ -904,7 +904,7 @@ function Compose({
|
|||
replyToStatus
|
||||
? 'Post your reply'
|
||||
: editStatus
|
||||
? 'Edit your status'
|
||||
? 'Edit your post'
|
||||
: 'What are you doing?'
|
||||
}
|
||||
required={mediaAttachments?.length === 0}
|
||||
|
|
|
@ -280,7 +280,7 @@ function Status({
|
|||
|
||||
const statusRef = useRef(null);
|
||||
|
||||
const unauthInteractionErrorMessage = `Sorry, your current logged-in instance can't interact with this status from another instance.`;
|
||||
const unauthInteractionErrorMessage = `Sorry, your current logged-in instance can't interact with this post from another instance.`;
|
||||
|
||||
const textWeight = () =>
|
||||
Math.max(
|
||||
|
|
|
@ -248,7 +248,7 @@ function AccountStatuses() {
|
|||
id="account-statuses"
|
||||
instance={instance}
|
||||
emptyText="Nothing to see here yet."
|
||||
errorText="Unable to load statuses"
|
||||
errorText="Unable to load posts"
|
||||
fetchItems={fetchAccountStatuses}
|
||||
useItemID
|
||||
boostsCarousel={snapStates.settings.boostsCarousel}
|
||||
|
|
|
@ -35,17 +35,17 @@ admin.report = A new report has been filed
|
|||
*/
|
||||
|
||||
const contentText = {
|
||||
mention: 'mentioned you in their status.',
|
||||
status: 'posted a status.',
|
||||
reblog: 'boosted your status.',
|
||||
mention: 'mentioned you in their post.',
|
||||
status: 'published a post.',
|
||||
reblog: 'boosted your post.',
|
||||
follow: 'followed you.',
|
||||
follow_request: 'requested to follow you.',
|
||||
favourite: 'favourited your status.',
|
||||
favourite: 'favourited your post.',
|
||||
poll: 'A poll you have voted in or created has ended.',
|
||||
'poll-self': 'A poll you have created has ended.',
|
||||
'poll-voted': 'A poll you have voted in has ended.',
|
||||
update: 'A status you interacted with has been edited.',
|
||||
'favourite+reblog': 'boosted & favourited your status.',
|
||||
update: 'A post you interacted with has been edited.',
|
||||
'favourite+reblog': 'boosted & favourited your post.',
|
||||
};
|
||||
|
||||
const NOTIFICATION_ICONS = {
|
||||
|
|
|
@ -95,7 +95,7 @@ function StatusPage(params) {
|
|||
setHeroStatus(status);
|
||||
} catch (err) {
|
||||
console.error(err);
|
||||
alert('Unable to load status.');
|
||||
alert('Unable to load post.');
|
||||
location.hash = closeLink;
|
||||
}
|
||||
})();
|
||||
|
@ -650,7 +650,7 @@ function StatusThread({ id, closeLink = '/', instance: propInstance }) {
|
|||
</>
|
||||
) : (
|
||||
<>
|
||||
Status{' '}
|
||||
Post{' '}
|
||||
<button
|
||||
type="button"
|
||||
class="ancestors-indicator light small"
|
||||
|
@ -959,7 +959,7 @@ function StatusThread({ id, closeLink = '/', instance: propInstance }) {
|
|||
)}
|
||||
{uiState === 'error' && (
|
||||
<p class="ui-state">
|
||||
Unable to load status
|
||||
Unable to load post
|
||||
<br />
|
||||
<br />
|
||||
<button
|
||||
|
|
Loading…
Reference in a new issue