mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-04-01 22:23:42 +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) {
|
if (newStatus) {
|
||||||
states.reloadStatusPage++;
|
states.reloadStatusPage++;
|
||||||
showToast({
|
showToast({
|
||||||
text: 'Status posted. Check it out.',
|
text: 'Post published. Check it out.',
|
||||||
delay: 1000,
|
delay: 1000,
|
||||||
duration: 10_000, // 10 seconds
|
duration: 10_000, // 10 seconds
|
||||||
onClick: (toast) => {
|
onClick: (toast) => {
|
||||||
|
|
|
@ -521,7 +521,7 @@ function RelatedActions({ info, instance, authenticated }) {
|
||||||
<span class="tag">Following you</span>
|
<span class="tag">Following you</span>
|
||||||
) : !!lastStatusAt ? (
|
) : !!lastStatusAt ? (
|
||||||
<small class="insignificant">
|
<small class="insignificant">
|
||||||
Last status:{' '}
|
Last post:{' '}
|
||||||
{niceDateTime(lastStatusAt, {
|
{niceDateTime(lastStatusAt, {
|
||||||
hideTime: true,
|
hideTime: true,
|
||||||
})}
|
})}
|
||||||
|
|
|
@ -642,14 +642,14 @@ function Compose({
|
||||||
<div class="status-preview-legend reply-to">
|
<div class="status-preview-legend reply-to">
|
||||||
Replying to @
|
Replying to @
|
||||||
{replyToStatus.account.acct || replyToStatus.account.username}
|
{replyToStatus.account.acct || replyToStatus.account.username}
|
||||||
’s status
|
’s post
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
{!!editStatus && (
|
{!!editStatus && (
|
||||||
<div class="status-preview">
|
<div class="status-preview">
|
||||||
<Status status={editStatus} size="s" previewMode />
|
<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>
|
</div>
|
||||||
)}
|
)}
|
||||||
<form
|
<form
|
||||||
|
@ -904,7 +904,7 @@ function Compose({
|
||||||
replyToStatus
|
replyToStatus
|
||||||
? 'Post your reply'
|
? 'Post your reply'
|
||||||
: editStatus
|
: editStatus
|
||||||
? 'Edit your status'
|
? 'Edit your post'
|
||||||
: 'What are you doing?'
|
: 'What are you doing?'
|
||||||
}
|
}
|
||||||
required={mediaAttachments?.length === 0}
|
required={mediaAttachments?.length === 0}
|
||||||
|
|
|
@ -280,7 +280,7 @@ function Status({
|
||||||
|
|
||||||
const statusRef = useRef(null);
|
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 = () =>
|
const textWeight = () =>
|
||||||
Math.max(
|
Math.max(
|
||||||
|
|
|
@ -248,7 +248,7 @@ function AccountStatuses() {
|
||||||
id="account-statuses"
|
id="account-statuses"
|
||||||
instance={instance}
|
instance={instance}
|
||||||
emptyText="Nothing to see here yet."
|
emptyText="Nothing to see here yet."
|
||||||
errorText="Unable to load statuses"
|
errorText="Unable to load posts"
|
||||||
fetchItems={fetchAccountStatuses}
|
fetchItems={fetchAccountStatuses}
|
||||||
useItemID
|
useItemID
|
||||||
boostsCarousel={snapStates.settings.boostsCarousel}
|
boostsCarousel={snapStates.settings.boostsCarousel}
|
||||||
|
|
|
@ -35,17 +35,17 @@ admin.report = A new report has been filed
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const contentText = {
|
const contentText = {
|
||||||
mention: 'mentioned you in their status.',
|
mention: 'mentioned you in their post.',
|
||||||
status: 'posted a status.',
|
status: 'published a post.',
|
||||||
reblog: 'boosted your status.',
|
reblog: 'boosted your post.',
|
||||||
follow: 'followed you.',
|
follow: 'followed you.',
|
||||||
follow_request: 'requested to follow 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: 'A poll you have voted in or created has ended.',
|
||||||
'poll-self': 'A poll you have created has ended.',
|
'poll-self': 'A poll you have created has ended.',
|
||||||
'poll-voted': 'A poll you have voted in has ended.',
|
'poll-voted': 'A poll you have voted in has ended.',
|
||||||
update: 'A status you interacted with has been edited.',
|
update: 'A post you interacted with has been edited.',
|
||||||
'favourite+reblog': 'boosted & favourited your status.',
|
'favourite+reblog': 'boosted & favourited your post.',
|
||||||
};
|
};
|
||||||
|
|
||||||
const NOTIFICATION_ICONS = {
|
const NOTIFICATION_ICONS = {
|
||||||
|
|
|
@ -95,7 +95,7 @@ function StatusPage(params) {
|
||||||
setHeroStatus(status);
|
setHeroStatus(status);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.error(err);
|
console.error(err);
|
||||||
alert('Unable to load status.');
|
alert('Unable to load post.');
|
||||||
location.hash = closeLink;
|
location.hash = closeLink;
|
||||||
}
|
}
|
||||||
})();
|
})();
|
||||||
|
@ -650,7 +650,7 @@ function StatusThread({ id, closeLink = '/', instance: propInstance }) {
|
||||||
</>
|
</>
|
||||||
) : (
|
) : (
|
||||||
<>
|
<>
|
||||||
Status{' '}
|
Post{' '}
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
class="ancestors-indicator light small"
|
class="ancestors-indicator light small"
|
||||||
|
@ -959,7 +959,7 @@ function StatusThread({ id, closeLink = '/', instance: propInstance }) {
|
||||||
)}
|
)}
|
||||||
{uiState === 'error' && (
|
{uiState === 'error' && (
|
||||||
<p class="ui-state">
|
<p class="ui-state">
|
||||||
Unable to load status
|
Unable to load post
|
||||||
<br />
|
<br />
|
||||||
<br />
|
<br />
|
||||||
<button
|
<button
|
||||||
|
|
Loading…
Add table
Reference in a new issue